protocol/jar/Handler? [message #99175] |
Tue, 02 October 2007 16: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 #99205 is a reply to message #99175] |
Tue, 02 October 2007 20:43 |
Eclipse User |
|
|
|
Originally posted by: alex_blewitt.yahoo.com
The normal URL handlers are not dynamic aware, so OSGi installs its own URL handler that can provide the dynamic support for the URL handlers. In this case it's looking for a Jar one, possibly using a default package naming convention to find it. I'm not sure that a jar: protocol exists.
Alex.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02166 seconds