voyent
ICEFaces 2.0 Beta 1 as a Tomcat Shared library error  XML
Forum Index -> Components
Author Message
sam_louis

Joined: 01/Apr/2010 00:00:00
Messages: 7
Offline


Hello there,
I am testing using ICEFaces as a shared library in Tomcat 6.0.
Everything work as expected. Great work by the way.
But I have this annoying error whenever someone tries to make a request to another jsp application that is not a faces application.

The error is this Aug 12, 2010 3:28:47 PM org.apache.catalina.session.StandardSession tellNew
SEVERE: Session event listener threw exception
java.lang.RuntimeException: java.lang.NullPointerException
at org.icefaces.push.servlet.SessionDispatcher.notifySessionStartup(SessionDispatcher.java:157)
at org.icefaces.push.servlet.ServletEnvironmentListener.sessionCreated(ServletEnvironmentListener.java:43)
at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:380)
at org.apache.catalina.session.StandardSession.setId(StandardSession.java:352)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:854)
at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2392)
at org.apache.catalina.connector.Request.getSession(Request.java:2098)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
at com.eggtheory.brainfuse.web.filters.BizObjectsContextFilter.doFilter(BizObjectsContextFilter.java:228)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at com.eggtheory.brainfuse.valve.AccessValve.invoke(AccessValve.java:17)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at org.icefaces.push.servlet.SessionDispatcher.notifySessionStartup(SessionDispatcher.java:155)
... 27 more

This was also happening with Alpha 3 and Alpha 2.

The other question is can this work in a production environment? We have a few virtual hosts and I am trying to consolidate the libraries that will be shared by multiple projects into one shared classloader.
sam_louis

Joined: 01/Apr/2010 00:00:00
Messages: 7
Offline


Anythoughts on this issue it has been over a month....
ted.goddard

Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline


SessionDispatcher is no longer in that package, so if possible please test with a subversion trunk build:

http://anonsvn.icefaces.org/repo/icefaces2/trunk/icefaces/
[Email]
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team