protocol/jar/Handler? [message #99175] |
Tue, 02 October 2007 12:05  |
Eclipse User |
|
|
|
Originally posted by: deadwinterday.yahoo.com
Hi:
I am a complete noob to OSGI, and I am having a problem attempting to load
a framework which uses OSGI via Spring. What I am basically seeing is a
stack trace that begins:
11:31:24,108 WARN [ServiceController] Problem starting service
jboss.web.deployment:war=o
ps-war-5.0.war,id=-1007247630
java.lang.LinkageError:
org/eclipse/osgi/framework/internal/protocol/jar/Handler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.eclipse.osgi.framework.util.SecureAction.forName(SecureA ction.java:335)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.getBuiltIn(St
reamHandlerFactory.java:70)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createInterna
lURLStreamHandler(StreamHandlerFactory.java:113)
at
org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createURLStre
amHandler(StreamHandlerFactory.java:100)
before we even get into whu this fails, can someone explain what
org/eclipse/osgi/framework/internal/protocol/jar/Handler even means? When
I look at it in the debugger, the osgi launcher tells me that it's trying
to load org.eclipse.osgi.framework.internal.protocol.jar.Handler! I KNOW
there is no such class anywhere. Is this some wrapping mechanism, and if
so, how does it work?
-carlos rodriguez
|
|
|
|
Re: protocol/jar/Handler? [message #99267 is a reply to message #99175] |
Wed, 03 October 2007 10:41  |
Eclipse User |
|
|
|
A LinkageError is definitely unexpected but we need more info.
Can you tell a bit more about the environment that you're running.
e.g. which version of equinox, app server and vm as well as any application
info. e.g. what are you running Spring-OSGi and the servletbridge??
I'm not sure if it's related however there was a bug that dealt with JBoss
and URLStreamHandlers here --
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156877
Perhaps there is some useful info there??
-Simon
"Carlos Rodriguez" <deadwinterday@yahoo.com> wrote in message
news:83cba68b46552a07ba08c2e7111e8b5f$1@www.eclipse.org...
> Hi:
>
> I am a complete noob to OSGI, and I am having a problem attempting to load
> a framework which uses OSGI via Spring. What I am basically seeing is a
> stack trace that begins:
>
> 11:31:24,108 WARN [ServiceController] Problem starting service
> jboss.web.deployment:war=o
> ps-war-5.0.war,id=-1007247630
> java.lang.LinkageError:
> org/eclipse/osgi/framework/internal/protocol/jar/Handler
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:164)
> at
> org.eclipse.osgi.framework.util.SecureAction.forName(SecureA ction.java:335)
> at
> org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.getBuiltIn(St
> reamHandlerFactory.java:70)
> at
> org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createInterna
> lURLStreamHandler(StreamHandlerFactory.java:113)
> at
> org.eclipse.osgi.framework.internal.protocol.StreamHandlerFa ctory.createURLStre
> amHandler(StreamHandlerFactory.java:100)
>
> before we even get into whu this fails, can someone explain what
> org/eclipse/osgi/framework/internal/protocol/jar/Handler even means? When
> I look at it in the debugger, the osgi launcher tells me that it's trying
> to load org.eclipse.osgi.framework.internal.protocol.jar.Handler! I KNOW
> there is no such class anywhere. Is this some wrapping mechanism, and if
> so, how does it work?
>
> -carlos rodriguez
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05917 seconds