Barry Atkins | 1 Dec 14:50
Picon
Favicon

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

Mark Rogalski | 1 Dec 15:27
Picon
Favicon

Re: 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 <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 07:50 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
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-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Barry Atkins | 1 Dec 15:48
Picon
Favicon

Re: 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 <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 09:27 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org, equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
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 <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 07:50 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
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-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Jorge M. | 1 Dec 16:47
Picon

Alternatives to OSGi

Hi,
  I am currently evaluating frameworks for running services on server
as well as clients. WE would like soemthing that is light. The OSGi
framework looks pretty good.
   I would like to know if there are any other frameworks that OSGi
compares to. Have anyone in this mailing list have been in the same
position for evaluation different options?

 Thanks

Jorge Medina
Sr. Software Enginner
Barry Atkins | 1 Dec 19:42
Picon
Favicon

Re: Equinox 3.2 on J9/ARM problem


FYI - it was the "\Storage Card" directory name that was causing the problem. Using a directory like "\muse2" had no problems.

Barry


Barry Atkins/Raleigh/IBM <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 09:48 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
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 <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 09:27 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org, equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
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 <at> IBMUS
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 07:50 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>


To
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
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-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Jeff McAffer | 1 Dec 20:35
Picon

Re: Alternatives to OSGi


Well, several years ago we evaluated several things as a replacement runtime for Eclipse.  At the time the tihngs that seemed relevant were Avalon, JMX, and things like that.  Obviously in the end we chose OSGi.  Of course I am biased but I really don't think you are going to find a better, more vibrant, more widely used, better tooled, standard runtime framework unless you are in a particular niche that has requirements not met by OSGi (or there are alterantive industry standards in your domain).

Good luck and please do let us know what you look at and what you find.  This would be educational for all.
Jeff



"Jorge M." <ccsdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

12/01/2006 10:47 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
cc
Subject
[equinox-dev] Alternatives to OSGi





Hi,
 I am currently evaluating frameworks for running services on server
as well as clients. WE would like soemthing that is light. The OSGi
framework looks pretty good.
  I would like to know if there are any other frameworks that OSGi
compares to. Have anyone in this mailing list have been in the same
position for evaluation different options?

Thanks

Jorge Medina
Sr. Software Enginner
_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

John J Barton | 2 Dec 01:21

org.osgi.framework.bootdelegation=*

I am trying to get org.eclipse.equinox.http to run inside of eclipse and
delegate to my servlet in a plugin.  I got it to start and to call my plugin
Activator. But when I try to GET a page I fail with a class loading error, 
 <plugin name> was unable to load class <servletname>
Poking around in the call stack makes me think that the problem is that my class
is considered something that should be delegated to boot loader.  In the OSGi
console getprops shows 
org.osgi.framework.bootdelegation=*
Am I on the right track? I guess I can change this value but I'm a bit unclear
on to what value...
Thanks
John.

Kaegi, Simon | 3 Dec 06:37

RE: How to use Extension bundles in equinox

Ok. I'll open an enhnacement request for this. From: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org [mailto:equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org] On Behalf Of Jeff McAffer
Sent: Tuesday, November 28, 2006 11:36 PM
To: Equinox development mailing list
Subject: RE: [equinox-dev] How to use Extension bundles in equinox


Seems like it would be interesting.  Of course, there would be various clean up problems etc but it certainly seems possible.

Jeff



"Kaegi, Simon" <Simon.Kaegi-z7oUXpO1oczQT0dZR+AlfA@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

11/28/2006 12:21 PM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>

To
"Equinox development mailing list" <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
RE: [equinox-dev] How to use Extension bundles in equinox





The spec is pretty clear on terminating the VM in these situations however this can cause problems when embedding Equinox in another process.
I can't really see a way around this for bootclasspath extensions however for framework extensions I think we could just discard the framework class loader and re-start the whole launching process without exiting the VM. This might not be appropriate in all cases as there still would be potential for there to be global state hanging around however I'm a bit curious. Is this worth looking into in?
 
-Simon

From: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org [mailto:equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org] On Behalf Of Thomas Watson
Sent: Tuesday, November 28, 2006 10:26 AM
To: Equinox development mailing list
Subject: Re: [equinox-dev] How to use Extension bundles in equinox


Yes the framework will relaunch, but you must launch with the eclipse.exe.  If a framework extension is refreshed then the Framework will exit with an exit code indicating to eclipse.exe that the framework should be relaunched in a new VM instance.

Note that updating/uninstalling framework extension bundles do not automatically cause the framework to relaunch.  The framework will only relaunch if PackageAdmin.refreshPackages is called and it causes a framework extension to be refreshed.

Tom



Ikuo Yamasaki <yamasaki.ikuo-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org

11/28/2006 07:41 AM

Please respond to
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>


To
Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
cc
Subject
Re: [equinox-dev] How to use Extension bundles in equinox







Thanks for the reply, Tom.

I have a question left.

Will the framework shutdown and relaunch automatically when the
extension bundle is refreshed, updated, uninstalled., and so on as
described in Section 3.15 ?


On Mon, 27 Nov 2006 08:43:42 -0600
Thomas Watson <tjwatson-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> wrote:

Thomas> Equinox currently does not support bootclassath extensions.  Framework
Thomas> extensions work like normal bundle fragments except they attach to the
Thomas> framework implementation (org.eclipse.osgi or system.bundle).
Thomas>
Thomas> Equinox also has additional support when you need a framework extension to
Thomas> provide framework adaptor hooks.  These types of framework extensions need
Thomas> to be loaded at the same time as the framework by startup.jar.  You can
Thomas> find more information about adaptor hooks at
Thomas> http://wiki.eclipse.org/index.php/Adaptor_Hooks
Thomas>
Thomas> Tom
Thomas>
Thomas>
Thomas>
Thomas>
Thomas>
Thomas> Ikuo Yamasaki <yamasaki.ikuo-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
Thomas> Sent by: equinox-dev-bounces-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
Thomas> 11/25/2006 09:19 AM
Thomas> Please respond to
Thomas> Equinox development mailing list <equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
Thomas>
Thomas>
Thomas> To
Thomas> equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
Thomas> cc
Thomas>
Thomas> Subject
Thomas> [equinox-dev] How to use Extension bundles in equinox
Thomas>
Thomas>
Thomas>
Thomas>
Thomas>
Thomas>
Thomas> Hi,
Thomas>
Thomas> Is any document which explains how I can use "Extension Bundles"
Thomas> (framework-extension and bootclasspath-extension) in equinox available.
Thomas> If not, could anyone give information about it ?
Thomas>
Thomas> I know 3.15 Section of OSGi Spec R4 tells how a framework should perform
Thomas> and "How a framework configures itself or the boot class path to append
Thomas> the
Thomas> extension bundle's JAR is implementation specific." as described in
Thomas> 3.15.2.
Thomas>
Thomas> Best regards,
Thomas>
Thomas> =======
Thomas> Ikuo YAMASAKI
Thomas>
Thomas>
Thomas> _______________________________________________
Thomas> equinox-dev mailing list
Thomas> equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
Thomas> https://dev.eclipse.org/mailman/listinfo/equinox-dev
Thomas>

=======
Ikuo YAMASAKI


_______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

 
     This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you. _______________________________________________
equinox-dev mailing list
equinox-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Kaegi, Simon | 3 Dec 06:42

RE: Using org.eclipse.equinox.http inside of an RCPapplication

Hi Kirby,

All of the server-side bundle in 3.3M3 work with 3.2 and 3.2.1.
E.g. you do not need to update org.eclipse.osgi in order to use the
server-side bundles.
--
The server-side bundles did not graduate prior to 3.2 so they will not
be updated in any of the 3.2 maintenance releases.

HTH
-Simon

> -----Original Message-----
> From: equinox-dev-bounces@... 
> [mailto:equinox-dev-bounces@...] On Behalf Of Kirby Bohling
> Sent: Wednesday, November 29, 2006 10:57 AM
> To: equinox-dev@...
> Subject: RE: [equinox-dev] Using org.eclipse.equinox.http 
> inside of an RCPapplication
> 
> Simon,
> 
>    Thanks for the input.  I use Eclipse 3.2.0 or 3.2.1 as the 
> basis for my target platform, if I try and use the Equinox 
> 3.3.0M6 it appears to update to a 3.3.0 for org.eclipse.osgi 
> plug-in.  If I try and use the stream build for Eclipse 3.2.1 
> it doesn't include the HTTP Registry.
> 
>     I'm not terribly anxious to swap out the osgi plug-in 
> with the minor number differing.  Is there any chance of a 
> 3.2.1 maintenance build that includes it? (I'm not sure if 
> 3.2.1 maintenance releases can add enhancements, I'm not 
> familiar enough with the release rules used by Eclipse or 
> Equinox).  According to the version numbering it appears to 
> be compatible with the 3.2.1, and the 3.2.1 maintenance uses 
> the 3.2.2 OSGi plug-in.
> 
>     I'd really like the source for everything is my primary 
> problem.  Taking the SDK for the 3.3M6 and getting what I 
> need out of out it and put into a
> 3.2.1 build including all of the source is a bit more surgery 
> then I want to try and pull off (source plug-ins aren't very 
> mix and match friendly, but I believe Eclipse/Equinox has a 
> plan to make it better).  I can setup a feature and releng in 
> my local VC system that pulls from the existing CVS.
> 
>     Locally I publish a target platform that other developers 
> use.  I try and ensure that anything we have source for is 
> included, and that every step is repeatable, and scripted.  
> If somebody has other suggestions, I'd be interested.
> 
>           Thanks,
>                 Kirby
> 
> 
> 
> 
> >From: "Kaegi, Simon" <Simon.Kaegi@...>
> >Reply-To: Equinox development mailing list <equinox-dev@...>
> >To: "Equinox development mailing list" <equinox-dev@...>
> >Subject: RE: [equinox-dev] Using org.eclipse.equinox.http inside of 
> >anRCPapplication
> >Date: Wed, 22 Nov 2006 14:46:16 -0500
> >
> >Hi Kirby,
> >
> >Go ahead use the org.eclipse.equinox.http.registry ;) The 
> server-side 
> >work is no longer "experimental", and graduated after
> >3.2 was released. The 3.3 bundles are 100% compatible and 
> tested with 
> >Eclipse 3.2.
> >
> >Also, I'd definitely suggest using the graduated bundles as they're 
> >supported and actively being worked on. For formal builds 
> you can use 
> >the latest 3.3 integration build.
> >
> >--
> >For the servlet api bundles...
> >o.e.e.servlet.api is a bundling of the servlet 2.3 api If you need 
> >servlet 2.4 javax.servlet [v2_4] is available from orbit.
> >I'd suggest using the orbit bundles as that seems to be the 
> direction 
> >things are going for 3rd party bundles in 3.3.
> >
> >--
> >I have manually edited the config.ini in the past however for 
> >integration in an RCP I would tend to use an event to trigger the 
> >startup of the http server. Currently you start the bundle to launch 
> >the HttpService, but it might be a good thing to have a 
> factory style 
> >method to start it. Hmm...
> >
> >HTH
> >-Simon
> >
> >
> > > -----Original Message-----
> > > From: equinox-dev-bounces@... 
> > > [mailto:equinox-dev-bounces@...] On Behalf Of 
> Kirby Bohling
> > > Sent: Wednesday, November 22, 2006 11:07 AM
> > > To: equinox-dev@...
> > > Subject: [equinox-dev] Using org.eclipse.equinox.http 
> inside of an 
> > > RCPapplication
> > >
> > > All,
> > >
> > >    I'd like to host a servlet inside of an RCP application.
> > > I started looking into the Equinox implementations rather then 
> > > wrapping the embedded Tomcat or Jetty jars myself.  (I 
> wouldn't mind 
> > > just using the ones used by the help, but it seems odd that the 
> > > org.eclipse.tomcat plug-in requires the help plugins, and I'm not 
> > > sure how to add Servlets to it).
> > >
> > > I see that:
> > >
> > > org.eclipse.equinox.http
> > > org.eclipse.equinox.servlet.api
> > >
> > > Ship inside of the Equinox releases 3.2.0 and 3.2.1.  The 
> QuickStart 
> > > guide says to add:
> > > "org.eclipse.equinox.http.registry" and then use the extension 
> > > points.  The releases state that the http.registry 
> plug-in is still 
> > > in the incubator, which means that "while it could be quite 
> > > complete, it should be considered experimental".
> > >
> > > I was curious how "experimental" the registry is, and if 
> there was a 
> > > way to use the org.eclipse.equinox.http bundle without doing 
> > > something nearly identical to the registry bundle.  It sure looks 
> > > like I have to sub-class HTTP and HTTPListener and 
> allocate those.  
> > > Then I can call "HTTPListener.getService()".  At that point I can 
> > > get an "HttpService"
> > > object with which I can register and unregister servlets.
> > > Short of loading a fragment into the 
> org.eclipse.equinox.http bundle 
> > > and exposing the constructor thru a static method, I 
> don't see any 
> > > alternatives for directly allocating an HttpService.
> > >
> > > It appears I should be able to use the services API to get an 
> > > HttpService object, but at that point, I'd pretty much just be 
> > > writing "org.eclipse.equinox.http.registry" myself.  So I 
> think I'd 
> > > like to use the "org.eclipse.equinox.http.registry", as my other 
> > > alternatives aren't very nice.
> > >
> > > Another issue is that I can't find the tag for the 3.2.0 or
> > > 3.2.1 releases, and the source isn't included in the SDK 
> download.  
> > > For the 3.2.1 release, the qualifier is "v20060510", but the only 
> > > tags in the CVS Server 
> > > :pserver:anonymouse@...:/cvsroot/eclipse are:
> > > v20061031
> > > v20061012
> > > v20061002
> > >
> > > Am I looking in the wrong place?  (My guess is that I'm 
> looking for 
> > > the "serverside" CVS report, the initial commit message 
> of the files 
> > > say that they are adding the projects to the "main depot")
> > >
> > > I've gotten everything to work just fine using the HEAD of 
> > > "org.eclipse.equinox.http.registry", but I generally like 
> to use a 
> > > tagged and released version.
> > >
> > > Also the documentation here:
> > > http://www.eclipse.org/equinox/server/http_in_equinox.php
> > >
> > > Says to use "javax.servlet" from Orbit, but I instead used 
> > > "org.eclipse.equinox.servlet.api" that was released with the
> > > 3.2.1 Equinox.
> > > I'm not sure why I'd want to use the one from the Orbit project.  
> > > Curious if I would create issues for myself.
> > >
> > > Is there anyway to add a bundle to a generated config 
> file so it is 
> > > auto started?  I exported my RCP application grabbed the 
> config.ini 
> > > file and added two entries to startup http and http.registry.  
> > > Otherwise the Servlets aren't started up.
> > > It'd be nice if there were some way to include that in 
> the product 
> > > by directly editing the product file or, using a 
> mechanism similar 
> > > to the the UI for launching Run... -> OSGi Framework 
> Applications -> 
> > > Plug-ins Tab.
> > >
> > > Finally, Eclipse RCP and Equinox have been great to use in my 
> > > applications, thanks for all of the great infrastructure you've 
> > > provided.
> > >
> > >     Thanks in advance for any help on my questions,
> > >           Kirby
> > >
> > > _________________________________________________________________
> > > View Athlete's Collections with Live Search 
> > > http://sportmaps.live.com/index.html?source=hmemailtaglinenov0
> > > 6&FORM=MGAC01
> > >
> > > _______________________________________________
> > > equinox-dev mailing list
> > > equinox-dev@...
> > > https://dev.eclipse.org/mailman/listinfo/equinox-dev
> > >
> > >
> >
> >      This message may contain privileged and/or 
> confidential information.  
> >If you have received this e-mail in error or are not the intended 
> >recipient, you may not use, copy, disseminate or distribute 
> it; do not 
> >open any attachments, delete it immediately from your system 
> and notify 
> >the sender promptly by e-mail that you have done so.  Thank you.
> >_______________________________________________
> >equinox-dev mailing list
> >equinox-dev@...
> >https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> _________________________________________________________________
> Stay up-to-date with your friends through the Windows Live 
> Spaces friends list. 
> http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?h
ref=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/frien
ds.aspx&mk
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
>

     This message may contain privileged and/or confidential information.  If you have received this e-mail in
error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open
any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you
have done so.  Thank you.
Kaegi, Simon | 3 Dec 06:45

RE: org.osgi.framework.bootdelegation=*

Hi John,

You probably should ask this in the user newsgroup. E.g.
eclipse.technology.equinox on news.eclipse.org.
I suspect you shoul not need to mess with framework bootdelegation.
Can you give a bit more detail and perhaps post your manifest and a
rough description of your bundle.

-Simon

> -----Original Message-----
> From: equinox-dev-bounces@... 
> [mailto:equinox-dev-bounces@...] On Behalf Of John J Barton
> Sent: Friday, December 01, 2006 7:21 PM
> To: equinox-dev@...
> Subject: [equinox-dev] org.osgi.framework.bootdelegation=*
> 
> I am trying to get org.eclipse.equinox.http to run inside of 
> eclipse and delegate to my servlet in a plugin.  I got it to 
> start and to call my plugin Activator. But when I try to GET 
> a page I fail with a class loading error,  <plugin name> was 
> unable to load class <servletname> Poking around in the call 
> stack makes me think that the problem is that my class is 
> considered something that should be delegated to boot loader. 
>  In the OSGi console getprops shows
> org.osgi.framework.bootdelegation=*
> Am I on the right track? I guess I can change this value but 
> I'm a bit unclear on to what value...
> Thanks
> John.
> 
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@...
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
>

     This message may contain privileged and/or confidential information.  If you have received this e-mail in
error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open
any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you
have done so.  Thank you.

Gmane