restoreSessionWithID() Application does not work in JBoss
restoreSessionWithID() Application does not work in JBoss
- Subject: restoreSessionWithID() Application does not work in JBoss
- From: Aloke Das <email@hidden>
- Date: Fri, 23 May 2008 09:20:47 -0700 (PDT)
Hi:
I configured one WebObject (5.2) application in JBoss (4.2.2). In that application the ActionsDirectAction I have to call the restoreSessionWithID() for taking the Session object (that works fine in WebLogic -10.0) in implementing some business logic but it throws exception as follows in JBoss and pure Tomcat (6.0):
java.lang.NullPointerException
at com.webobjects.jspservlet.WOServletSessionStore.restoreSessionWithID(WOServletSessionStore.java:46)
at com.webobjects.appserver.WOSessionStore.checkOutSessionWithID(WOSessionStore.java:198)
at com.webobjects.appserver.WOApplication.restoreSessionWithID(WOApplication.java:1546)
at ActionsDirectAction.parseMultipleFileUploadAction(ActionsDirectAction.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:128)
at ActionsDirectAction.performActionNamed(ActionsDirectAction.java:579)
at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:145)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at Application.dispatchRequest(Application.java:1120)
at
com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:118)
at com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:581)
at com.webobjects.jspservlet.WOServletAdaptor.doPost(WOServletAdaptor.java:548)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
-----
-------------
------------------
Does any body have any idea or session about it?
Instant message from any web browser! Try the new
Yahoo! Canada Messenger for the Web BETA _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden