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


J9 version is IBM 2.3. It could be the embedded space in "Storage Card" that's screwing it up, I'll try a local folder on the emulator & see what happens.

Thanks.
Barry

FYI here is the console log  :

!SESSION 2006-12-01 09:24:44.313 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=IBM J9 2.3 Windows CE arm-32  (JIT enabled)
J9VM - 20060725_07282_lEdFGq
JIT  - 20060629_1804ifx1_r8
GC   - 20060626_AA
BootLoader constants: OS=win32, ARCH=arm, WS=win32, NL=en_US
Command-line arguments:  -console -clean -consoleLog  
!ENTRY org.eclipse.osgi 4 0 2006-12-01 09:24:59.084
!MESSAGE Error reading configuration: Cannot create: \Storage Card\configuration\org.eclipse.osgi\.manager\.tmp71611.instance
!STACK 0
java.io.IOException: Cannot create: \Storage Card\configuration\org.eclipse.osgi\.manager\.tmp71611.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)  

!ENTRY org.eclipse.osgi 4 0 2006-12-01 09:25:05.000 !MESSAGE Error registering XML parser services.
!STACK 0 java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory        
at java.lang.Class.forName(Unknown Source)        
at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.registerEndorsedXMLParser(Unknown Source)        
at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart(Unknown Source)        
at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Unknown Source)        
at java.security.AccessController.doPrivileged(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.Framework.launch(Unknown Source)        
at org.eclipse.osgi.framework.internal.core.OSGi.launch(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)  

osgi> Bundle  org.eclipse.equinox.common is already active  
!ENTRY system.bundle 4 0 2006-12-01 09:26:12.037
!MESSAGE FrameworkEvent.ERROR
!STACK 0 java.io.IOException: Manager is not opened.        
at org.eclipse.osgi.storagemanager.StorageManager.add(Unknown Source)        
at org.eclipse.osgi.storagemanager.StorageManager.closeOutputStream(Unknown Source)        
at org.eclipse.osgi.storagemanager.ManagedOutputStream.close(Unknown Source)        
at java.io.FilterOutputStream.close(Unknown Source)        
at java.io.FilterOutputStream.close(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(Unknown Source)        
at java.lang.Thread.run(Unknown Source)  

!ENTRY system.bundle 4 0 2006-12-01 09:26:17.000
!MESSAGE FrameworkEvent.ERROR
!STACK 0 java.io.IOException: Manager is not opened.        
at org.eclipse.osgi.storagemanager.StorageManager.lookup(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateData(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(Unknown Source)        
at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(Unknown Source)        
at java.lang.Thread.run(Unknown Source)



Mark Rogalski/Austin/IBM@IBMUS
Sent by: equinox-dev-bounces@xxxxxxxxxxx

12/01/2006 09:27 AM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
equinox-dev@xxxxxxxxxxx, equinox-dev-bounces@xxxxxxxxxxx
Subject
Re: [equinox-dev] Equinox 3.2 on J9/ARM problem






What level of J9 are you using?


eRCP (which is Eclipse 3.2 based) runs on both iPAQ devices and emulators. I just checked my device and see the ".manager" directory and the temp instance file within it.  I'm not sure we've ever tried running from \Storage Card on an emulator though.




Barry Atkins/Raleigh/IBM@IBMUS
Sent by: equinox-dev-bounces@xxxxxxxxxxx

12/01/2006 07:50 AM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
equinox-dev@xxxxxxxxxxx
cc
Subject
[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

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev