[JBoss jBPM] - Re: javax.faces.FacesException: Error calling action method
by Korango
Hello fellow developers,
I have also bumped onto the same problem when developing an application. Although I am using JSF and JBoss Application Server. The details of the exception I am getting is:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error calling action method of component with id registerForm:registerUser
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
javax.faces.FacesException: Error calling action method of component with id registerForm:registerUser
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
I suspect this might be the wrong post, but snce I thought they are similar problems and someone seems to have solved it, I felt it appropriate to post it here. Apologies for any of mixups that may arise.
I lok forward to your advice and reply.
Kind Regards,
Caesar Olima
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140124#4140124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140124
16 years, 1 month
[EJB/JBoss] - Re: Problem with Entity Bean
by allanrj
Im using ejb 2.0 on my application. Im using a session bean (façade) to access entity bean. I have follow entity: Session, to manage a user session.
Well, when i logon, jboss using the follow commands:
2008-03-31 10:00:05,269 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Sessions] Executing SQL: SELECT COUNT(*) FROM SESSIONS WHERE sessionid=?
2008-03-31 10:00:05,285 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Sessions] Executing SQL: INSERT INTO SESSIONS (sessionid, sessioninsertdate, sessionupdatedate, sessionipnumber, userid, sessionipforwarded, sessionclientbrowser, sessioncookieid, siteid) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
2008-03-31 10:00:05,285 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Sessions] Executing SQL: UPDATE SESSIONS SET sessioninsertdate=?, sessionupdatedate=?, sessionipnumber=?, userid=?, sessionclientbrowser=?, siteid=? WHERE sessionid=?
Then, I close browser and try logon again and jboss do:
2008-03-31 10:01:19,013 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Sessions] Executing SQL: SELECT COUNT(*) FROM SESSIONS WHERE sessionid=?
And trow a exception:
javax.ejb.DuplicateKeyException: Entity with primary key br.com.gcm.ejb.cmp.SessionsKey@a78a01aa already exists
Well my doubt is:
Why object stay at memory after i close a browser ? Jboss dont manager this right ok ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140115#4140115
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140115
16 years, 1 month