[JBoss jBPM] - JBoss, JSF Application: Error calling action method of compo
by Korango
Dear List,
I am developing this application using, Netbeans IDE, Jboss Server and JSF framework. During the tests of the application, I keep running into this problem. Details (stackTrace) of the exception 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)
where my registerForm ==The Registratin Form & registerUser is the submit button calling some method to complete the process
Thank you in advance for reply and advice.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140042#4140042
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140042
16 years, 9 months
[JBoss jBPM] - jbpmContext.getGraphSession().findAllProcessDefinitions() -
by tkulej
My code is :
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
List definitions = jbpmContext.getGraphSession().findAllProcessDefinitions();
Iterator iterator = definitions.iterator();
while (iterator.hasNext()) {
ProcessDefinition definition = (ProcessDefinition)iterator.next();
String name = getProcessDefinitionName(definition);
System.out.println(name);
}
Error :
Caused by: java.sql.SQLException: Table not found in statement [select processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ order by processdef0_.NAME_, processdef0_.VERSION_ desc]
I use jbmp : bpm-jpdl-suite-3.2.2 and default database hsql.. so I uderstand error but when I run this Sql query in my database manager : Select * FROM JBPM_PROCESSDEFINITION
I see all processes... so where is bug ? I also use default hibernate configuration file I don`t change schema of database and hi. configur. file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140040#4140040
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140040
16 years, 9 months
[JCA/JBoss] - Re: Stateless EJB calling WorkManager directly - legal?
by adrian@jboss.org
"gsniderJBoss" wrote :
|
| | 1) A CMT transaction TX1 is created in the EJB via hibernate call.
| | 2) the ejb uses the Resource Adapter to schedule work
| | 3) A new transaction is created TX2 by the WorkManager?
| | 4) TX2 will now participate in the XA transaction?
| |
| |
| | I think you've got some misunderstandings of how this works?
| |
| | anonymous wrote :
| | | 3) A new transaction is created TX2 by the WorkManager?
| | |
| |
| | No, the WorkManager doesn't create transactions. It lets you specify
| | which existing external transactions the work should run under.
| |
| | anonymous wrote :
| | | 4) TX2 will now participate in the XA transaction?
| | |
| |
| | Transactions are not partipants of XA (I thiink you mean JTA?) transactions.
| | XAResources are.
| |
| | I think what you are asking for is that TX1 and TX2 are really the same
| | transaction running on different threads so the hibernate and asynch work
| | are committed together?
| |
| | This breaks the EJB rules (see my comment above), unless you know
| | what you are doing. i.e. you make the ejb that submitted the work
| | wait for the work to finish and do the thread transaction association yourself
| |
| | * no portable api to get the transaction manager to do this
| | * you can break things big time if you mess this up
| |
| | NOTE: Spec support for this feature may be available in JavaEE6?
| | assuming the JSR 237 people ever finish the spec:
| | http://www.jcp.org/en/jsr/detail?id=237 and the JavaEE committee accepts it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140039#4140039
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140039
16 years, 9 months