[Beginners Corner] - Problems with JBPM BPEL Hello World example
by ami999
I am following the user guide of JBPM BPEL and trying to test the Hello World example. I have had no exceptions till step 5.3.3
After deploying the business process definition, I am trying to test it using the following:
ant test
I get the following error on the console:
------------------------------------------------------------------ (console)
C:\Personal\BPM\bpel\jbpm-bpel-1.1.GA\examples\hello>ant test
Buildfile: build.xml
detect.wsdl:
get.published.wsdl:
check.mapping:
generate.mapping:
detect.mapping.tool:
BUILD FAILED
C:\Personal\BPM\bpel\jbpm-bpel-1.1.GA\examples\common\mapping-build.xml:148: The following error occurred while executing this line:
C:\Personal\BPM\bpel\jbpm-bpel-1.1.GA\examples\common\mapping-build.xml:68: c:\dev\jboss-4.2.2.GA\client not found.
-----------------------------------------------------------
The issue above seems to be the target directory. My Jboss install is in C:\Personal\jboss. For some reason it is thinking it should copy to C:\dev\jboss-4.2.2.GA
Do I need to set JBOSS_HOME or some variable? Other steps worked fine so far.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140128#4140128
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140128
18 years
[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
18 years
[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
18 years