[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Equinox 3.2 on J9/ARM problem


I've encountered the following problem, running Equinox 3.2 on IBM's J9 on the iPAQ emulator on startup :

java.io.IOException: Cannot create: \Storage Card\configuration\org.eclipse.osgi\.manager\.tmp48838.instance
        at java.io.File.createNewFile(Unknown Source)
        at java.io.File.createTempFile(Unknown Source)
        at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(Unknown Source)
        at org.eclipse.osgi.storagemanager.StorageManager.open(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(Unknown Source)
        at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.Framework.initialize(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.OSGi.<init>(Unknown Source)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Unknown Source)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.main(Unknown Source)

It appears File.mkdirs() on J9/ARM behaves differently.  I get a file called ",manager" instead of the directory ".manager".  Creating the ",manager" file manually, then running Equinox doesn't appear to work either - the folder gets deleted & replaced by a file called ",manager".  Repeated "java.io.IOException: Manager is not opened." errors subsequently appear in the log.

The problem does not appear when running on J9/Windows