Bugs item #1052411, was opened at 2004-10-22 12:15 Message generated for change (Settings changed) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1052411&group_id=22866
Category: JBossServer Group: v3.2 >Status: Closed >Resolution: Postponed Priority: 5 Submitted By: Subri (sshastry) Assigned to: Scott M Stark (starksm) Summary: Unable to getCallerPrincipal() Initial Comment: I am unable to get SessionContext.getCallerPrincipal() work when I go the next page. It works fine after I login and go to the first page. Steps to reproduce the problem: Problem #1: EJB session context is invalid 1) Deploy prompt2-app.ear in Tomcat 3.2.5 2) launch IE with url : http://localhost:7001/prompt2 3) Login as omi / omi 4) From the left side menu, select Browse Invoices, you will see sample list of invoices on the right window 5) Select the Next page button, and observe the console, you will the exception "java.lang.IllegalStateException" Problem #2: session.invalidate() gives exception Follow steps 1 to 3 as above 4) Select Logout from the top right corner 5) Observe the "java.lang.IllegalStateException: session already invalidated" exception ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2004-11-19 14:27 Message: Logged In: YES user_id=175228 Reopen when a working example is available. ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2004-11-07 16:31 Message: Logged In: YES user_id=175228 The prompt2-app.ear sent to illustrate the problem throws the following exception when attempting the login so at this point the issue is still not being demonstrated. 16:29:09,531 INFO [PropertyMessageResources] Initializing, config='org.apache.s truts.actions.LocalStrings', returnNull=true 16:29:09,546 ERROR [DispatchAction] Action[/common/omilogin] does not contain me thod named java.lang.NoSuchMethodException: com.retalix.convergence.common.web.LoginActions .(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, j avax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) at java.lang.Class.getMethod(Class.java:986) at org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.jav a:332) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio n.java:264) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java: 218) at org.apache.struts.action.RequestProcessor.processActionPerform(Reques tProcessor.java:465) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja va:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:142 2) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:72) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecur ityMgrRealm.java:275) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:462) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16 0) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:534) ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2004-10-22 14:01 Message: Logged In: YES user_id=175228 Still no attachment. Send it [EMAIL PROTECTED] ---------------------------------------------------------------------- Comment By: Subri (sshastry) Date: 2004-10-22 14:00 Message: Logged In: YES user_id=933484 check marked for attachments and submitting again ---------------------------------------------------------------------- Comment By: Subri (sshastry) Date: 2004-10-22 13:57 Message: Logged In: YES user_id=933484 check marked for attachments and submitting again ---------------------------------------------------------------------- Comment By: Subri (sshastry) Date: 2004-10-22 13:52 Message: Logged In: YES user_id=933484 check marked for attachments and submitting again ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2004-10-22 12:27 Message: Logged In: YES user_id=175228 Make sure you are checking the 'Check to Upload and Attach a File:' box above the file upload button. ---------------------------------------------------------------------- Comment By: Subri (sshastry) Date: 2004-10-22 12:23 Message: Logged In: YES user_id=933484 One more attempt to attach ---------------------------------------------------------------------- Comment By: Subri (sshastry) Date: 2004-10-22 12:21 Message: Logged In: YES user_id=933484 I was unable to attach the .ear file. Let me try now ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1052411&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
