Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WL 7 Classpath problem

0 views
Skip to first unread message

Uri Eyal

unread,
Aug 18, 2002, 2:05:00 PM8/18/02
to

HI.

I'm trying to migrate my web application from WL 6.1 to 7.0, on Windows 2000.
I can't seem to get the classpath just right. My application depends on some
JAR files that I place in the system classpath (because their order is important).

When I start the web application, my startup servlet crashes when it trys to use
objects from the external JARs.

The dump looks like this:

java.lang.NoClassDefFoundError
at com.niragongo.lava.platform.StartupThread.run(StartupThread.java:127)
<Aug 18, 2002 9:58:34 PM IDT> <Error> <HTTP> <101254> <[ServletContext(id=5874845,name=lavaPlatform,context-path=/lavaPlatform)]:
Servlet class com.niragongo.lava.platform.PlatformStartupServlet for servlet PlatformStartupServlet
could not be handled by the Cl
assLoader with classpath D:\templava\lavaPlatform;D:\templava\lavaPlatform\WEB-INF\classes.
java.lang.ExceptionInInitializerError>
<Aug 18, 2002 9:58:34 PM IDT> <Error> <HTTP> <101216> <Servlet: "PlatformStartupServlet"
failed to preload on startup in webapp: "
lavaPlatform"
javax.servlet.ServletException: [ServletContext(id=5874845,name=lavaPlatform,context-path=/lavaPlatform)]:
Servlet class com.nirag
ongo.lava.platform.PlatformStartupServlet for servlet PlatformStartupServlet could
not be handled by the ClassLoader with classpat
h D:\templava\lavaPlatform;D:\templava\lavaPlatform\WEB-INF\classes.
java.lang.ExceptionInInitializerError
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:723)
at weblogic.servlet.internal.WebAppServletContext$ServletInitAction.run(WebAppServletContext.java:5390)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2718)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2656)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:4689)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:945)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:979)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>

What am I doing wrong?

Uri

0 new messages