You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "REN,ZHANGLING (HP-Boise,ex1)" <zh...@hp.com> on 2004/06/05 00:18:45 UTC

Servlet threw load() exception when using OSCache as ObjectCacheC lass

Hello,

I'm seeing the Servlet load() exception after setting up OJB with OSCache as
ObjectCacheClass. I followed the steps in
http://db.apache.org/ojb/howto-work-with-clustering.html (downloaded the jar
files, oscache.properties and also downloaded ObjectCacheOSCacheImpl.java
from cvs and changed the package, etc.) and not sure what's missing. The
Servlet load() exception only occurs when using OSCache as ObjectCacheClass.
I also tried with adding <context-param> for oscache in web.xml.

I'm using ojb1.0rc6, jdk1.3.1, and tomcat-4.1.29. Any help will be greatly
appreciated.
=============================================================
-------------------------------------------------------
GMS: address is 15.xx.xx.xx:xxxx
-------------------------------------------------------
StandardContext[/xxxx]: Servlet /xxxx threw load() exception: javax.serv
let.ServletException: Servlet.init() for servlet init threw exception
javax.servlet.ServletException: Servlet.init() for servlet init threw
exception
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:963)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:82
3)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3422)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
623)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
        at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:
162)
        at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(Contain
erBase.java:182)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
5)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
=============================================================

Thanks,
Zhangling Ren


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org