users@glassfish.java.net

Re: Unable to get availability with HADB working

From: <glassfish_at_javadesktop.org>
Date: Fri, 10 Aug 2007 04:19:04 PDT

Something new!

I got parts of it working. Some path settings do not work correctly so that dbstate.jar and hadb4jdbc.jar could not be loaded during the glassfish start procedure. I put them explicitely in the server classpath and now they are loaded.

Now glassfish tries to access the database and fails with an error:

[pre]
[#|2007-08-10T11:05:52.592+0000|SEVERE|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=20;_ThreadName=TP-Processor3;_RequestID=fec7a779-122d-4f19-9006-f5daf65ab7c5;|PWC3989: An exception or error occurred in the container during the request processing
java.lang.ClassCastException: com.sun.enterprise.ee.web.sessmgmt.HAWebEventPersistentManager
        at com.sun.enterprise.ee.web.sessmgmt.SessionLockingStandardPipeline.getWebModuleStatistics(SessionLockingStandardPipeline.java:144)
        at com.sun.enterprise.ee.web.sessmgmt.SessionLockingStandardPipeline.invoke(SessionLockingStandardPipeline.java:127)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
        at java.lang.Thread.run(Thread.java:595)
|#]
[/pre]

Anyone any ideas what's missing this time?

Alexander.
[Message sent by forum member 'sahlix' (sahlix)]

http://forums.java.net/jive/thread.jspa?messageID=230437