Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.9K Databases
- 221.6K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.9K SQL & PL/SQL
- 21.3K SQL Developer
- 295.5K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.1K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 154 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 402 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 230 Portuguese
error during installing imlet

Hi,
when i am installing application, i receive error: "error reading policy file". Can u advice, how to solve this?
Best Answer
-
Ah, one more question. If you only changed the name of the user vs creating a different one it would not help as windows does not rename your home dir. Could you please verify? You can tell from the log what's the path for SDK workdir: e.g. "Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms"
Answers
-
Where are you installing the application (Windows device emulation, RasPi, Qualcomm IoE board)? Can you provide the device log?
Best,
-- Terrence
-
1)Windows device emulator.
2)Log:[23:39:46.897] INFO - lkit.bootstrap.DeployerManager - Registering custom property editors
[23:39:46.927] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module object-server
[23:39:46.940] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[23:39:46.941] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[23:39:46.941] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[23:39:46.942] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[23:39:46.973] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[23:39:46.973] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[23:39:46.974] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[23:39:46.974] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[23:39:46.975] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[23:39:46.987] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[23:39:46.991] INFO - me.toolkit.bootstrap.Namespace - Starting batch, base module devices/EmbeddedDevice
[23:39:47.022] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file
[23:39:47.023] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes
[23:39:47.035] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .file
[23:39:47.037] WARN - otstrap.deployer.bean.BeanFile - Unsupported container property: .bound-classes
[23:39:47.241] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[23:39:47.243] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[23:39:47.243] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[23:39:47.251] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[23:39:48.913] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[23:39:49.587] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[23:39:49.589] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[23:39:49.589] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[23:39:49.714] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Location dir contents: [Ljava.io.File;@3dc82c
[23:39:52.270] INFO - n.kvem.location.LocationBridge - LandmarkStore names [email protected]
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Landmark stores:
[23:39:52.270] INFO - n.kvem.location.LocationBridge - Get categories from store: null
[23:39:52.273] INFO - n.kvem.location.LocationBridge - Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms
[23:39:52.274] INFO - n.kvem.location.LocationBridge - Default LandmarkStore:[email protected]
[23:39:52.274] INFO - n.kvem.location.LocationBridge - LandmarkStore: [email protected]
[23:39:52.274] INFO - n.kvem.location.LocationBridge - Concatinated categories:
[23:39:52.339] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:52.343] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:52.345] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3
[23:39:52.346] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4
[23:39:52.348] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5
[23:39:52.349] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6
[23:39:52.533] INFO - .rmiimpl.RemotingConnectorImpl - Starting JMX connector on service:jmx:rmi:///jndi/rmi://127.0.0.1:60539/device-0
[23:39:54.869] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:54.879] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:55.233] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:55.237] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:55.240] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 3
[23:39:55.242] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 4
[23:39:55.244] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 5
[23:39:55.246] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 6
[23:39:55.439] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 1
[23:39:55.444] INFO - accesspoint.AccessPointStorage - [access points storage] load access point: 2
[23:39:56.573] INFO - VM - [CORE] iso=0:javanotify_set_vm_args() >>
[23:39:56.574] INFO - VM -
[23:39:56.574] INFO - VM - [CORE] iso=0:javanotify_start() >>
[23:39:56.574] INFO - VM -
[23:39:56.652] INFO - toolkit.ui.actions.AmsExecImpl - Proxy connected. isNetworkMonitorSupported = false
[23:39:56.991] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[23:39:59.661] FATAL - VM - [SECURITY] iso=1:Error reading policy file
[23:39:59.661] ERROR - VM - [AMS] iso=1:InstallCommand: an error while installing the suite: java.lang.RuntimeException: Error reading policy file
[23:39:59.673] FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: java.lang.RuntimeException: Error reading policy file
-
Hi Alexander,
Apparently you've found a bug in the Java ME. It does not get along well with cyrillic letters in the file path of the SDK work dir. And as a work-around I can only suggest to change the windows user name so that it only contains latin letter
Regards,
Andrey
-
I have changed name to English, also check path to my project and sdk contains no cyriliic letters. Doesn't help. Any other suggestions?
-
The exception is the same?
-
Yes, same.
-
Ah, one more question. If you only changed the name of the user vs creating a different one it would not help as windows does not rename your home dir. Could you please verify? You can tell from the log what's the path for SDK workdir: e.g. "Read Default LandmarkStore from: C:\Users\Александр\.\javame-sdk\8.0\work\EmbeddedDevice1\appdb\location\default\_default.lms"
-
U are right, thank u. Create new user, reinstall netbeans, sdk - helps.