[JBoss jBPM] - Not calling action handler class
by kalyanikbt
Hi
I am trying to create a process definition which consists of two nodes and the pd looks like this:
<process-definition
| xmlns="urn:jbpm.org:jpdl-3.2" name="ExpeditorAdaptorProcess">
| <swimlane name="user">
| <assignment expression="user(ernie)"></assignment>
| </swimlane>
| <start-state name="start">
| <task name="Start Instance" swimlane="user">
| <controller>
| <variable name="integerValue"></variable>
| </controller>
| </task>
| <transition name="" to="Adaptor1"></transition>
| </start-state>
| <node name="Adaptor1">
| <transition name="" to="adaptor2">
| <action name="action1" class="com.expeditor.integration.File2DBActionHandler"></action>
| </transition>
| </node>
| <node name="adaptor2">
| <transition name="" to="end">
| <action name="action2" class="com.expeditor.integration.DB2JBPMActionHandler"></action>
| </transition>
| </node>
| <end-state name="end"></end-state>
| </process-definition>
While deploying, every thing is fine but when the actual flow starts it is not reaching to the nodes i am getting the an error message which is as follows:
| javax.servlet.ServletException: Error calling action method of component with id taskform:transitionButton
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
| org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
| org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
|
|
| root cause
|
| javax.faces.FacesException: Error calling action method of component with id taskform:transitionButton
| org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| javax.faces.component.UICommand.broadcast(UICommand.java:106)
| javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
| org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
| org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
| org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
|
|
The action class which is mentioned in the processdefinition is not calling.
can any one help me in this with u r valuable suggestion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138949#4138949
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138949
18 years, 1 month
[Beginners Corner] - LDAP login
by lema
hallo all,
could anyone, pls, help me with (logging in through) LDAP settings? i've written a part which checks if username&password exist in active directory. But., i've to get usernames of all application users. some users may be in one city, some in another, and infos which the application give are different for each city.
the part which check username&password:
public SmdUser checkLogin(String username, String password) throws Exception {
try{
int ldapPort = LDAPConnection.DEFAULT_PORT;
int ldapVersion = LDAPConnection.LDAP_V3;
LDAPConnection lc = new LDAPConnection();
context = getInitialContext();
smsDeliverySecurityRemote = (SmsDeliverySecurityRemote)
context.lookup("smsdelivery.security/sms.delivery.security/remote");
try{
lc.connect( "ourserver", ldapPort );
lc.bind(ldapVersion, username+"@kcell.kz", password.getBytes("UTF-8"));
lc.disconnect();
SmdUser smdUser = smsDeliverySecurityRemote.getUser(username);
System.out.println("checkLogin SMDUSER " + smdUser.getName());
return smdUser;
}
catch(LDAPException e){
System.err.println( "Error: " + e.toString() );
return null;
}
catch(java.io.UnsupportedEncodingException e ) {
System.out.println( "Error: " + e.toString() );
return null;
}
}
catch(java.lang.NullPointerException e){
return null;
}
}
thanks in advance, lema.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138936#4138936
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138936
18 years, 1 month