Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » java.lang.NoClassDefFoundError: org/xml/sax/SAXException
java.lang.NoClassDefFoundError: org/xml/sax/SAXException [message #103085] Thu, 27 December 2007 18:04 Go to next message
Mickael GAUVIN is currently offline Mickael GAUVIN
Messages: 38
Registered: July 2009
Member
Hello,

I'm trying to package my Equinox application without the eclipse
launcher(eclispe.exe) I'm following the quick start guide of the Equinox
web page.

somedir/
configuration/
config.ini
org.eclipse.osgi_3.3.0.jar
org.eclipse.equinox.common_3.3.0.jar
org.eclipse.update.configurator_3.2.100.jar
plugins/
B1.jar
B2.jar


It works fine but when I want to use SAX I have this exception:

/* ************************************************************ **** */

!SESSION 2007-12-27 18:33:57.982
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32
Command-line arguments: -console

!ENTRY fr.myapp.exec.logger 4 0 2007-12-27 18:33:58.763
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
fr.myapp.exec.logger.Activator.start() of bundle fr.myapp.exec.logger.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
Caused by: java.lang.NoClassDefFoundError: org/xml/sax/SAXException
at
fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
at fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
at fr.myapp.exec.logger.Activator.start(Activator.java:22)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
... 10 more
Root exception:
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
at
fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
at fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
at fr.myapp.exec.logger.Activator.start(Activator.java:22)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)


/* ************************************************************ **** */

The strangest is that it works fine if I package the application with
the equinox launcher.

somedir/
configuration/
config.ini
eclipse.exe
plugins/
org.eclipse.equinox.common_3.3.0.jar
org.eclipse.equinox.launcher.win32.win32.x86_1.0.0/
eclipse_1017a.dll
[other launcher fragment content]
org.eclipse.equinox.launcher_1.0.0.jar
org.eclipse.osgi_3.3.0.jar
org.eclipse.update.configurator_3.2.100.jar
B1.jar
B2.jar



The classes of SAX I want to load (the first seems to be
org/xml/sax/SAXException) are normally in rt.jar ???

I need some help please.

Mickael.
Re: java.lang.NoClassDefFoundError: org/xml/sax/SAXException [message #103117 is a reply to message #103085] Thu, 27 December 2007 21:06 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana Peco
Messages: 789
Registered: July 2009
Senior Member
Try to set the VM argument
-Dorg.osgi.framework.bootdelegation=*

Snjeza


Mickael Gauvin wrote:
> Hello,
>
> I'm trying to package my Equinox application without the eclipse
> launcher(eclispe.exe) I'm following the quick start guide of the Equinox
> web page.
>
> somedir/
> configuration/
> config.ini
> org.eclipse.osgi_3.3.0.jar
> org.eclipse.equinox.common_3.3.0.jar
> org.eclipse.update.configurator_3.2.100.jar
> plugins/
> B1.jar
> B2.jar
>
>
> It works fine but when I want to use SAX I have this exception:
>
> /* ************************************************************ **** */
>
> !SESSION 2007-12-27 18:33:57.982
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.5.0_12
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32
> Command-line arguments: -console
>
> !ENTRY fr.myapp.exec.logger 4 0 2007-12-27 18:33:58.763
> !MESSAGE
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> fr.myapp.exec.logger.Activator.start() of bundle fr.myapp.exec.logger.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
> Caused by: java.lang.NoClassDefFoundError: org/xml/sax/SAXException
> at
> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
> at
> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> ... 10 more
> Root exception:
> java.lang.NoClassDefFoundError: org/xml/sax/SAXException
> at
> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
> at
> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>
>
>
> /* ************************************************************ **** */
>
> The strangest is that it works fine if I package the application with
> the equinox launcher.
>
> somedir/
> configuration/
> config.ini
> eclipse.exe
> plugins/
> org.eclipse.equinox.common_3.3.0.jar
> org.eclipse.equinox.launcher.win32.win32.x86_1.0.0/
> eclipse_1017a.dll
> [other launcher fragment content]
> org.eclipse.equinox.launcher_1.0.0.jar
> org.eclipse.osgi_3.3.0.jar
> org.eclipse.update.configurator_3.2.100.jar
> B1.jar
> B2.jar
>
>
>
> The classes of SAX I want to load (the first seems to be
> org/xml/sax/SAXException) are normally in rt.jar ???
>
> I need some help please.
>
> Mickael.
Re: java.lang.NoClassDefFoundError: org/xml/sax/SAXException [message #103133 is a reply to message #103117] Fri, 28 December 2007 08:53 Go to previous messageGo to next message
Mickael GAUVIN is currently offline Mickael GAUVIN
Messages: 38
Registered: July 2009
Member
Thank you very much,

I had "org.osgi.framework.bootdelegation=*" on my config.ini but it did
not work.

After looking for org.osgi.framework.bootdelegation on the web I found
this page: http://wiki.eclipse.org/index.php/Equinox_Boot_Delegation
where it is explained that only "java.*" of the JRE are directly
accessible without specify "Import-Package" entry. So I imported the
following correct packages :

javax.xml.parsers
org.w3c.dom,
org.xml.sax,
org.xml.sax.ext,
org.xml.sax.helpers

in my bundle manifest and it works fine now.
But why this problem don't occured when I'm using the Equinox launcher ?


In any case thanks you very much, it helps me to go forward :).

Have a nice end of the year and an happy new year.

Mickael.


Snjezana Peco a écrit :
> Try to set the VM argument
> -Dorg.osgi.framework.bootdelegation=*
>
> Snjeza
>
>
> Mickael Gauvin wrote:
>> Hello,
>>
>> I'm trying to package my Equinox application without the eclipse
>> launcher(eclispe.exe) I'm following the quick start guide of the
>> Equinox web page.
>>
>> somedir/
>> configuration/
>> config.ini
>> org.eclipse.osgi_3.3.0.jar
>> org.eclipse.equinox.common_3.3.0.jar
>> org.eclipse.update.configurator_3.2.100.jar
>> plugins/
>> B1.jar
>> B2.jar
>>
>>
>> It works fine but when I want to use SAX I have this exception:
>>
>> /* ************************************************************ **** */
>>
>> !SESSION 2007-12-27 18:33:57.982
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.5.0_12
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32
>> Command-line arguments: -console
>>
>> !ENTRY fr.myapp.exec.logger 4 0 2007-12-27 18:33:58.763
>> !MESSAGE
>> !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> fr.myapp.exec.logger.Activator.start() of bundle fr.myapp.exec.logger.
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>> Caused by: java.lang.NoClassDefFoundError: org/xml/sax/SAXException
>> at
>> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
>>
>> at
>> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
>> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
>> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> ... 10 more
>> Root exception:
>> java.lang.NoClassDefFoundError: org/xml/sax/SAXException
>> at
>> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
>>
>> at
>> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
>> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
>> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>>
>>
>> /* ************************************************************ **** */
>>
>> The strangest is that it works fine if I package the application with
>> the equinox launcher.
>>
>> somedir/
>> configuration/
>> config.ini
>> eclipse.exe
>> plugins/
>> org.eclipse.equinox.common_3.3.0.jar
>> org.eclipse.equinox.launcher.win32.win32.x86_1.0.0/
>> eclipse_1017a.dll
>> [other launcher fragment content]
>> org.eclipse.equinox.launcher_1.0.0.jar
>> org.eclipse.osgi_3.3.0.jar
>> org.eclipse.update.configurator_3.2.100.jar
>> B1.jar
>> B2.jar
>>
>>
>>
>> The classes of SAX I want to load (the first seems to be
>> org/xml/sax/SAXException) are normally in rt.jar ???
>>
>> I need some help please.
>>
>> Mickael.
Re: java.lang.NoClassDefFoundError: org/xml/sax/SAXException [message #103146 is a reply to message #103117] Fri, 28 December 2007 08:55 Go to previous message
Mickael GAUVIN is currently offline Mickael GAUVIN
Messages: 38
Registered: July 2009
Member
Thank you very much,

I had "org.osgi.framework.bootdelegation=*" on my config.ini but it did
not work.

After looking for org.osgi.framework.bootdelegation on the web I found
this page: http://wiki.eclipse.org/index.php/Equinox_Boot_Delegation
where it is explained that only "java.*" of the JRE are directly
accessible without specify "Import-Package" entry. So I imported the
following correct packages :

javax.xml.parsers
org.w3c.dom,
org.xml.sax,
org.xml.sax.ext,
org.xml.sax.helpers

in my bundle manifest and it works fine now.
But why this problem don't occured when I'm using the Equinox launcher ?


In any case thanks you very much, it helps me to go forward :).

Have a nice end of the year and an happy new year.

Mickael.


Snjezana Peco a écrit :
> Try to set the VM argument
> -Dorg.osgi.framework.bootdelegation=*
>
> Snjeza
>
>
> Mickael Gauvin wrote:
>> Hello,
>>
>> I'm trying to package my Equinox application without the eclipse
>> launcher(eclispe.exe) I'm following the quick start guide of the
>> Equinox web page.
>>
>> somedir/
>> configuration/
>> config.ini
>> org.eclipse.osgi_3.3.0.jar
>> org.eclipse.equinox.common_3.3.0.jar
>> org.eclipse.update.configurator_3.2.100.jar
>> plugins/
>> B1.jar
>> B2.jar
>>
>>
>> It works fine but when I want to use SAX I have this exception:
>>
>> /* ************************************************************ **** */
>>
>> !SESSION 2007-12-27 18:33:57.982
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.5.0_12
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32
>> Command-line arguments: -console
>>
>> !ENTRY fr.myapp.exec.logger 4 0 2007-12-27 18:33:58.763
>> !MESSAGE
>> !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> fr.myapp.exec.logger.Activator.start() of bundle fr.myapp.exec.logger.
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>> Caused by: java.lang.NoClassDefFoundError: org/xml/sax/SAXException
>> at
>> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
>>
>> at
>> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
>> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
>> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> ... 10 more
>> Root exception:
>> java.lang.NoClassDefFoundError: org/xml/sax/SAXException
>> at
>> fr.myapp.exec.service.logger.LoggerService.configure(LoggerS ervice.java:40)
>>
>> at
>> fr.myapp.exec.service.logger.LoggerService.<init>(LoggerService.java:32)
>> at fr.myapp.exec.interf.logger.Logger.<clinit>(Logger.java:25)
>> at fr.myapp.exec.logger.Activator.start(Activator.java:22)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:350)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1118)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:634)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:282)
>>
>> at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:468)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:195)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:297)
>>
>>
>>
>> /* ************************************************************ **** */
>>
>> The strangest is that it works fine if I package the application with
>> the equinox launcher.
>>
>> somedir/
>> configuration/
>> config.ini
>> eclipse.exe
>> plugins/
>> org.eclipse.equinox.common_3.3.0.jar
>> org.eclipse.equinox.launcher.win32.win32.x86_1.0.0/
>> eclipse_1017a.dll
>> [other launcher fragment content]
>> org.eclipse.equinox.launcher_1.0.0.jar
>> org.eclipse.osgi_3.3.0.jar
>> org.eclipse.update.configurator_3.2.100.jar
>> B1.jar
>> B2.jar
>>
>>
>>
>> The classes of SAX I want to load (the first seems to be
>> org/xml/sax/SAXException) are normally in rt.jar ???
>>
>> I need some help please.
>>
>> Mickael.
Previous Topic:EclipseZone non update times-11/4-12/16
Next Topic:Headless Equinox Clean Shutdown?
Goto Forum:
  


Current Time: Thu Oct 23 20:37:22 GMT 2014

Powered by FUDForum. Page generated in 0.03713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software