[jBPM] - Ruletask Execution Query
by Shaun Willows
Shaun Willows [http://community.jboss.org/people/traveller10] created the discussion
"Ruletask Execution Query"
To view the discussion, visit: http://community.jboss.org/message/641763#641763
--------------------------------------------------------------
During some experimentation with JBPM 5.1, I happened upon some strange behaviour regarding rule tasks. I simplified the workflow to isolate my problem, and have attached the containing eclipse project in a zip archive to this post.
The application generates a list of POJOs that represents rows in a file and their associated row numbers. It starts the simple workflow with the list provided as a process variable. The first task (a script task) in the workflow derives a smaller sub-list and stores it in a process variable. It also updates a looper counter. The second script task inserts all of the objects in the sub-list to the working memory. A rule task then runs which should create ValidationError objects for invalid rows and ExtractedField objects for valid ones. The last script task extracts the generated objects from the working memory using drools queries, and prints the results to System.out.
During the first iteration of the loop
The particular workflow I was working on at the time had a cycle/loop. Each iteration of the loop contains a rule task. A script task immediately prior to the rule task is responsible for inserting every object in a list into the working memory. The list is a process variable
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641763#641763]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[jBPM] - Unable to complete the process of sample project(Perfromance Evaluation)
by Karthikeyan Sekar
Karthikeyan Sekar [http://community.jboss.org/people/a02918] created the discussion
"Unable to complete the process of sample project(Perfromance Evaluation)"
To view the discussion, visit: http://community.jboss.org/message/641724#641724
--------------------------------------------------------------
Hi All,
I am working on jBPM5.2 and trying to execute a sample project (performance evaluation).In jBPM console,I had logged in as krisv and made self evaluation Then, I had logged in as john and evaluated krisv .Then I had logged in as mary and evaluated krisv.when I logged is as mary I got the following error as follows
2011-12-15 15:26:15,022 [FATAL] Uncaught Exception:
java.lang.IllegalArgumentException:
*empty argument*
at Unknown.dA(JsArrayString.java:42)
at Unknown.jHb(StackTraceCreator.java:366)
at Unknown.iS(JSONParser.java:48)
at Unknown.Fyc(DTOParser.java:347)
at Unknown.pGc(LoadActivityDiagramAction.java:65)
at Unknown.Ewc(AbstractRESTAction.java:86)
at Unknown.nN(Request.java:287)
at Unknown.VN(RequestBuilder.java:393)
at Unknown.anonymous(XMLHttpRequest.java:258)
at Unknown.kz(Impl.java:146)
at Unknown.anonymous(Impl.java:56)
Please help me regarding this issue.
Thanks in advance...............
Regards,
Karthikeyan Sekar
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641724#641724]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[JBoss Cache] - Replication timeout
by Georg Kompacher
Georg Kompacher [http://community.jboss.org/people/korki] created the discussion
"Replication timeout"
To view the discussion, visit: http://community.jboss.org/message/641701#641701
--------------------------------------------------------------
Hi all,
we are using jboss as 5.0.1 with 3 nodes and we sometimes we are getting Replication timeout exceptions such as:
org.jboss.cache.lock.TimeoutException: Replication timeout for 10.255.248.46:50923
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:768)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:716)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:721)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:161)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:135)
at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:107)
at org.jboss.cache.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:160)
at org.jboss.cache.interceptors.ReplicationInterceptor.visitPutKeyValueCommand(ReplicationInterceptor.java:107)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131)
at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301)
at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283)
at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:119)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178)
at org.jboss.cache.interceptors.InvocationContextInterceptor.visitPutKeyValueCommand(InvocationContextInterceptor.java:82)
at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100)
at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287)
at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:555)
at org.jboss.ha.cachemanager.CacheManagerManagedCache.put(CacheManagerManagedCache.java:287)
at org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager.internalBind(JBossCacheDistributedTreeManager.java:623)
at org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager.rebind(JBossCacheDistributedTreeManager.java:224)
at org.jboss.ha.jndi.HAJNDI.rebind(HAJNDI.java:187)
at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:318)
at $Proxy431.rebind(Unknown Source)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:575)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:540)
at javax.naming.InitialContext.rebind(InitialContext.java:408)
at org.jboss.util.naming.Util.rebind(Util.java:131)
at org.jboss.util.naming.Util.rebind(Util.java:117)
What could be the problem and how can we deal with it?
Thanks,
Georg
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641701#641701]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[jBPM] - jbpm console process management dependency on task server
by Anand Awasthi
Anand Awasthi [http://community.jboss.org/people/anand.awasthi] created the discussion
"jbpm console process management dependency on task server"
To view the discussion, visit: http://community.jboss.org/message/641601#641601
--------------------------------------------------------------
Hi all,
I have noticed that JBPM Console - Process Management code needs Task Server up and running , if Task Server (e.g. MinaTaskService) is not running then i get following error when i try to load process definitions. Does this dependency still exist in 5.2 release ?
:
[12/14/11 13:50:21:884 EST] 0000002a SystemOut O 2011-12-14 13:50:21,883 DEBUG [WebContainer : 6] jta.JtaTransactionManager - No JTA TransactionManager found at fallback JNDI location [java:/TransactionManager]
javax.naming.NameNotFoundException: Name not found in context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1837)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1166)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1095)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1233)
at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:395)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:214)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:154)
at javax.naming.InitialContext.lookup(InitialContext.java:436)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:88)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:62)
at org.drools.persistence.SingleSessionCommandService.initTransactionManager(SingleSessionCommandService.java:243)
at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:88)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:71)
at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)
at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:141)
at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641601#641601]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month
[JNDI and Naming] - NameNotFoundException with "Not Bound" message
by Munna K
Munna K [http://community.jboss.org/people/memunis] created the discussion
"NameNotFoundException with "Not Bound" message"
To view the discussion, visit: http://community.jboss.org/message/637742#637742
--------------------------------------------------------------
I have a stateless EJB application packaged as jar file, where ejb-jar.xml, jboss.xml & persistence.xml files are there. I am using the lookup in a web application as below:
I am doing lookup as:
InitialContext ic = new InitialContext();
Object ref = ic.lookup("InduspnUserAdminReadInterface");
UserAdminReadInt localUserAdminRead = (UserAdminReadInt)PortableRemoteObject.narrow(ref,UserAdminReadInt.class);
My web application has web.xml & jboss-web.xml files (Pls find attachment). in jboss-4.0.5 it is working fine with my code. when I deployed in jboss6.1.0 Final, it is giving the NameNotFoundException with "not bound"
**************************************
2011-11-22 20:23:11,742 ERROR [STDERR] (http-0.0.0.0-8080-5) javax.naming.NameNotFoundException: InduspnUserAdminReadInterface not bound
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at javax.naming.InitialContext.lookup(InitialContext.java:392)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at com.induspn.servlet.InduspnAdminServlet.doPost(InduspnAdminServlet.java:132)
2011-11-22 20:23:11,743 ERROR [STDERR] (http-0.0.0.0-8080-5) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
2011-11-22 20:23:11,744 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
2011-11-22 20:23:11,745 ERROR [STDERR] (http-0.0.0.0-8080-5) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
******************************
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/637742#637742]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 1 month