Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] class loading

I'm having some class loading problems and I'm not sure if what I'm trying is expected to work.  I've read through
http://www.eclipse.org/jetty/documentation/current/jetty-classloading.html, but am still not sure.

The problem only happens for code that is running within my WebSocketListener.onSocketText callback.  I think this is
being loaded from the main Jetty class loader (because the stack starts with at java.lang.Thread.run(Thread.java:744). 
The class it can't find is deployed within a jar inside my .war file.

The class is properly found when I make a simple method call (I call from the callback to a static method on the
class).  The problem happens when my JDO implementation tries to load the class as part of a database request.

If this type of deployment is expected to work then I'll look into other components in the stack.

-Andrew


Back to the top