Re: [jboss-user] [jBPM] - Issue with jbpm-5.4.0.Final-installer-full.zip
by TAT VN
TAT VN [https://community.jboss.org/people/trinh_tuan] commented on the document
"Issue with jbpm-5.4.0.Final-installer-full.zip"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-48739#comment-12040
--------------------------------------------------
Hi all,
No one can help me ? The below are logs from "Message" windows in jbpm-console:
2013-05-10 13:34:30,155 [DEBUG] new subscription: appContext.model.listener -> org.jboss.bpm.console.client.task.AssignedTasksView$8@119
2013-05-10 13:34:30,156 [DEBUG] New Subscription: appContext.model.listener
2013-05-10 13:34:30,660 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2013-05-10 13:34:31,650 [DEBUG] parse {"tasks":[]}
2013-05-10 13:34:31,655 [INFO ] Loaded 0 tasks
2013-05-10 13:34:34,204 [DEBUG] ToolID: Process_Overview.0
2013-05-10 13:34:34,292 [DEBUG] new subscription: appContext.model.listener -> org.jboss.bpm.console.client.process.DefinitionListView$5@145
2013-05-10 13:34:34,292 [DEBUG] New Subscription: appContext.model.listener
2013-05-10 13:34:34,794 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions
2013-05-10 13:34:36,414 [INFO ] Loaded 1 process definitions in 11 ms
2013-05-10 13:34:37,061 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:37,121 [INFO ] Loaded 0 process instance(s) in 2 ms
2013-05-10 13:34:41,102 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:41,116 [INFO ] Loaded 0 process instance(s) in 2 ms
2013-05-10 13:34:42,045 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:42,064 [INFO ] Loaded 0 process instance(s) in 1 ms
2013-05-10 13:34:42,621 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:42,640 [INFO ] Loaded 0 process instance(s) in 2 ms
2013-05-10 13:34:43,134 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:43,155 [INFO ] Loaded 0 process instance(s) in 1 ms
2013-05-10 13:34:43,893 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:34:43,907 [INFO ] Loaded 0 process instance(s) in 1 ms
2013-05-10 13:35:00,652 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:35:00,737 [INFO ] Loaded 1 process instance(s) in 20 ms
2013-05-10 13:35:03,454 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/process/instance/2/activeNode... http://localhost:8080/gwt-console-server/rs/process/instance/2/activeNode...
2013-05-10 13:35:03,549 [DEBUG] Parse: [{"width":932,"height":541,"activeNode":{"name":"id\u003d2","x":96,"y":56,"width":135,"height":48}}]
2013-05-10 13:35:03,553 [DEBUG] Getting image from http://localhost:8080/gwt-console-server/rs/process/definition/com.sample... http://localhost:8080/gwt-console-server/rs/process/definition/com.sample...
2013-05-10 13:35:11,836 [DEBUG] ToolID: Personal_Tasks.2
2013-05-10 13:35:13,741 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2013-05-10 13:35:13,763 [DEBUG] parse {"tasks":[]}
2013-05-10 13:35:13,768 [INFO ] Loaded 0 tasks
2013-05-10 13:35:18,101 [DEBUG] GET: http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv
2013-05-10 13:35:18,127 [DEBUG] parse {"tasks":[]}
2013-05-10 13:35:18,129 [INFO ] Loaded 0 tasks
2013-05-10 13:35:54,798 [DEBUG] ToolID: Process_Overview.0
As you can see the process is running but can't get any task (same account krisv). Thanks.
--------------------------------------------------
12 years, 11 months
[jBPM] - Concurrency issue with LocalTaskService
by Jon Kranes
Jon Kranes [https://community.jboss.org/people/jkranes] created the discussion
"Concurrency issue with LocalTaskService"
To view the discussion, visit: https://community.jboss.org/message/817047#817047
--------------------------------------------------------------
I am running into a concurrency issue in my JBPM 5.4 application. At first I thought it was related to thread safety of the StatefulKnowledgeSession issue discussed elsewhere, but I am able to recreate the issue without any session at all.
I am using the Spring JtaTransactionManager with annotated transaction boundaries, with MySQL, and running on AS 7.1.1.
The Spring configuration looks like this:
<jee:jndi-lookup id="emf" jndi-name="persistence/myEmf"/><bean id="sel" class="org.drools.SystemEventListenerFactory"factory-method="getSystemEventListener" /><bean id="jbpmTaskService" class="org.jbpm.task.service.TaskService"c:emf-ref="emf" c:systemEventListener-ref="sel" /><bean id="localTaskService" class="org.jbpm.task.service.local.LocalTaskService" c:taskService-ref="jbpmTaskService" /><bean id="jpaDialect" class="org.springframework.orm.jpa.vendor.HibernateJpaDialect" /><bean id="txManager" class="org.springframework.transaction.jta.JtaTransactionManager" /><tx:annotation-driven transaction-manager="txManager" />
And the code triggering the problem is this:
List<TaskSummary> tasks = localTaskService.getTasksAssignedAsPotentialOwner(assignee, "en-UK"));
for (TaskSummary summary: tasks){
// ...
org.jbpm.task.Task t = localTaskService.getTask(summary.getId());
// ....
}
}
Note that this code is annotated as @Transactional
If I call this code from a single thread or inside a synchronized block I have no problems. If I call it from multiple concurrent threads, I consistently trigger the error:
java.lang.IllegalStateException: Trying to return an unknown connection2! org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@2a77a3c4
The trigger seems to be the inner call to the localTaskService. With just the outer call I have no problems.
Googling this error, it seems this was a common problem with older hibernate versions (2.x) but I did not find any references to people seeing it for hibernate 4.x.
Any ideas?
Thanks,
Jon
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817047#817047]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Beginner's Corner] - Error deploying app on 7.1.0
by Ryan Pooya
Ryan Pooya [https://community.jboss.org/people/rpooya] created the discussion
"Error deploying app on 7.1.0"
To view the discussion, visit: https://community.jboss.org/message/817046#817046
--------------------------------------------------------------
Hello everyone, I'm new to JBOSS. I'm trying to deploy an app on 7.1.0, yet whenever I start jboss, I get several errors, which will be listed below. If I put the war file, along with the dodeploy file in the standalone/deployment folder, it starts up and crashes. I'm testing this on a Windows 7 64-bit machine right now, with JDK 1.7.0.21.
Calling "C:\jboss-as-7.1.0.Final\jboss-as-7.1.0.Final\bin\standalone.conf.bat"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-as-7.1.0.Final\jboss-as-7.1.0.Final
JAVA: C:\Program Files\Java\jdk1.7.0_21\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx51
2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.se
rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war
ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.c
onfig=standalone.xml
===============================================================================
10:52:59,114 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
10:52:59,277 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
10:52:59,315 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" sta
rting
10:53:00,159 INFO [org.xnio] XNIO Version 3.0.3.GA
10:53:00,160 INFO [org.jboss.as.server] JBAS015888: Creating http management se
rvice using socket-binding (management-http)
10:53:00,174 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
10:53:00,185 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
10:53:00,214 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log han
dlers
10:53:00,219 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26)
JBAS016200: Activating ConfigAdmin Subsystem
10:53:00,241 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Po
ol -- 31) JBAS010280: Activating Infinispan subsystem.
10:53:00,264 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011
940: Activating OSGi Subsystem
10:53:00,269 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48)
JBAS015537: Activating WebServices Extension
10:53:00,267 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBA
S013101: Activating Security Subsystem
10:53:00,292 INFO [org.jboss.as.connector] (MSC service thread 1-2) JBAS010408:
Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
10:53:00,293 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS0
11800: Activating Naming Subsystem
10:53:00,306 INFO [org.jboss.as.security] (MSC service thread 1-7) JBAS013100:
Current PicketBox version=4.0.6.final
10:53:00,349 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: St
arting Naming Service
10:53:00,379 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS01
5400: Bound mail session [java:jboss/mail/Default]
10:53:00,489 INFO [org.jboss.as.connector.subsystems.datasources] (ServerServic
e Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Dr
iver (version 1.3)
10:53:00,532 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC se
rvice thread 1-3) JBoss Web Services - Stack CXF Server 4.0.1.GA
10:53:00,918 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread
1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-as-7
.1.0.Final\jboss-as-7.1.0.Final\standalone\deployments
10:53:00,982 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100:
Listening on /127.0.0.1:4447
10:53:00,986 INFO [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100:
Listening on /127.0.0.1:9999
10:53:01,005 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread
1-5) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
10:53:01,183 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service
thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
10:53:01,197 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS
7.1.0.Final "Thunder" started in 2290ms - Started 134 of 205 services (70 servic
es are passive or on-demand)
10:53:01,209 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA
S015876: Starting deployment of "das.war"
10:53:02,412 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC0000
1: Failed to start service jboss.deployment.unit."das.war".POST_MODULE: org.jbos
s.msc.service.StartException in service jboss.deployment.unit."das.war".POST_MOD
ULE: Failed to process phase POST_MODULE of deployment "das.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo
ymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se
rviceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
rollerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145) [rt.jar:1.7.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615) [rt.jar:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA
S011093: Could not load component class com.sun.identity.authentication.UI.tagli
b.DSAMEValueTag
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.pr
ocessComponentConfig(InterceptorAnnotationProcessor.java:113)
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.de
ploy(InterceptorAnnotationProcessor.java:54)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo
ymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more
Caused by: java.lang.ClassNotFoundException: com.sun.identity.authentication.UI.
taglib.DSAMEValueTag from [Module "deployment.das.war:main" from Service Module
Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:
190) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(Con
currentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(Concu
rrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentCl
assLoader.java:398) [jboss-modules.jar:1.1.1.GA]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoad
er.java:120) [jboss-modules.jar:1.1.1.GA]
at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.pr
ocessComponentConfig(InterceptorAnnotationProcessor.java:111)
... 7 more
10:53:02,426 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015
870: Deploy of deployment "das.war" was rolled back with failure message {"JBAS0
14671: Failed services" => {"jboss.deployment.unit.\"das.war\".POST_MODULE" => "
org.jboss.msc.service.StartException in service jboss.deployment.unit.\"das.war\
".POST_MODULE: Failed to process phase POST_MODULE of deployment \"das.war\""}}
10:53:02,487 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA
S015877: Stopped deployment das.war in 60ms
10:53:02,488 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBA
S014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit
."das.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.de
ployment.unit."das.war".POST_MODULE: Failed to process phase POST_MODULE of depl
oyment "das.war"
10:53:02,491 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-t
hreads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps
that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jbos
s.deployment.unit.\"das.war\".POST_MODULE" => "org.jboss.msc.service.StartExcept
ion in service jboss.deployment.unit.\"das.war\".POST_MODULE: Failed to process
phase POST_MODULE of deployment \"das.war\""}}}}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/817046#817046]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months