[jBPM] - Unable to assign a task to Group
by shashi mhatre
shashi mhatre [http://community.jboss.org/people/khalipili] created the discussion
"Unable to assign a task to Group"
To view the discussion, visit: http://community.jboss.org/message/581708#581708
--------------------------------------------------------------
I am using sample BPMN process (Evaluation process) provided in jbpm-installer in this my test. I have changed to first human task node (Self evaluation) in process by removing the actor id #{employee} and added the entry to group id as "Employees". I have changed the roles.properties file in jboss/default/conf/props folder and added the "Employees" role to krisv and few other users.
Now when i run my process, it runs successfully till self evaluation human task node and waits there for task completion signal. now when i login to jbpm-console as "krisv", I did not get any task in "Personal" or "Group" task view.
I did verified the jboss console, it throws below error message
16:20:50,484 INFO [STDOUT] [2011:01:18 16:01:484:debug] Arguments : [[]]
16:49:36,109 INFO [STDOUT] No properties file: roles.properties found
16:49:36,125 INFO [STDOUT] [2011:01:18 16:01:109:debug] Message receieved on client : QueryTaskSummaryResponse
16:49:36,125 INFO [STDOUT] [2011:01:18 16:01:125:debug] Arguments : [[]]
Not quite sure where i am missing, whether its jboss configuration issue or jbpm-console-server issue?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581708#581708]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[Beginner's Corner] - Getting OutOfMemoryError:Java heap space error
by Mitesh Kothari
Mitesh Kothari [http://community.jboss.org/people/mkothari] created the discussion
"Getting OutOfMemoryError:Java heap space error"
To view the discussion, visit: http://community.jboss.org/message/580176#580176
--------------------------------------------------------------
java.lang.OutOfMemoryError:Java heap space
at java.util.HashMap.addEntry(HashMap.java:797)
at java.util.HashMap.put(HashMap.java:431)
at com.documentum.fc.client.impl.typeddata.AggregateLiteType.addAttrInternal(AggregateLiteType.java:430)
atcom.documentum.fc.client.impl.typeddata.AggregateLiteType.addAttrInternal(AggregateLiteType.java:423)
at com.documentum.fc.client.impl.typeddata.AggregateLiteType.buildMapping(AggregateLiteType.java:344)
atcom.documentum.fc.client.impl.typeddata.AggregateLiteType.<init>(AggregateLiteType.java:35)
at com.documentum.fc.client.impl.typeddata.AggregateLiteType.getUnextendedType(AggregateLiteType.java:103)
atcom.documentum.fc.client.impl.connection.LiteTypeManager.extractAspectTypeNames(LiteTypeManager.java:328)
at com.documentum.fc.client.impl.connection.LiteTypeManager.refreshTypeIfNeeded(LiteTypeManager.java:303)
atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObject(ObjectProtocolV1.java:91)
atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObjectWithPossiblyExtendedType(ObjectProtocolV1.java:203)
atcom.documentum.fc.client.impl.objectprotocol.ObjectProtocolV1.deserializeObjectWithPreamble(ObjectProtocolV1.java:309)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForObject(NetwiseDocbaseRpcClient.java:663)
atcom.documentum.fc.client.impl.connection.docbase.DocbaseConnection$8.evaluate(DocbaseConnection.java:1246)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1014)
atcom.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForObject(DocbaseConnection.java:1238)
at com.documentum.fc.client.impl.docbase.DocbaseApi.parameterizedFetch(DocbaseApi.java:106)
atcom.documentum.fc.client.impl.objectmanager.PersistentDataManager.fetchFromServer(PersistentDataManager.java:194)
atcom.documentum.fc.client.impl.objectmanager.PersistentDataManager.getData(PersistentDataManager.java:92)
atcom.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObjectFromServer(PersistentObjectManager.java:355)
atcom.documentum.fc.client.impl.objectmanager.PersistentObjectManager.getObject(PersistentObjectManager.java:311)
at com.documentum.fc.client.impl.session.Session.getObject(Session.java:834)
atcom.documentum.fc.client.impl.session.SessionHandle.getObject(SessionHandle.java:580)
at com.bureauveritas.documentum.common.dql.ExecDQL.queryForList(Unknown Source)
at com.bureauveritas.documentum.common.dql.ExecDQL.queryForList(Unknown Source)
atcom.bureauveritas.documentum.ismt.alertnotification.BvAlertNotificationJob.getExceededDueDate(UnknownSource)
atcom.bureauveritas.documentum.ismt.alertnotification.BvAlertNotificationJob.performJob(UnknownSource)
at com.bureauveritas.documentum.common.job.ABvCommonJob.performMethod(UnknownSource)
at com.bureauveritas.documentum.common.method.ABvCommonMethod.perform(UnknownSource)
at com.bureauveritas.documentum.common.method.ABvCommonMethod.execute(UnknownSource)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
06:12:38,598ERROR [http-0.0.0.0-9080-1] com.documentum.mthdservlet.DoMethod - Exceptioninvoking bv_mod_icc_dctm_alertnotification.
ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
atorg.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
at com.documentum.mthdservlet.MethodOutputStream.flush(Unknown Source)
at com.documentum.mthdservlet.MethodOutputStream.flush(Unknown Source)
at com.documentum.mthdservlet.MethodOutputStream.methodClose(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
atorg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
atorg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Causedby: java.net.SocketException: Software caused connection abort: socket writeerror
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
atorg.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
atorg.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:963)
at org.apache.coyote.Response.action(Response.java:183)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
... 28 more
06:12:38,598ERROR [http-0.0.0.0-9080-1]org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DmMethods].[DoMethod]- Servlet.service() for servlet DoMethod threw exception
javax.servlet.ServletException:ClientAbortException: java.net.SocketException: Software causedconnection abort: socket write error
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
atorg.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
atorg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
atorg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580176#580176]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[JBoss Portal] - Performance problems due to too many users registered?
by marco angheben
marco angheben [http://community.jboss.org/people/marco.angheben.2] created the discussion
"Performance problems due to too many users registered?"
To view the discussion, visit: http://community.jboss.org/message/581833#581833
--------------------------------------------------------------
Hi all.
We are running a JBoss Portal 2.6.4 instance on an Oracle 10g database, and we are experiencing a lot of performance problems related to OutOfMemoryError and CPU saturation; in addition to this, the system is extremely slow when accessing the pages for user management in the Admin portal.
Looking at the JBPM tables i found out that for each user registered existed a record in the JBPM_PROCESSINSTANCE table, with the END_field filled with the time the user had became active on the Portal.
As extreme try to solve our problems we deleted all the ended process instances associated to the jbp_identity_validation_approval_workflow using the JBPM API to avoid encountering problems on the database constraints. This cleaning operation seems to solve all the problems we had, as you can see looking the image attached.
Has anyone experienced a problem like this? Does anyone think a clean-up procedure like the one described above will be effective and harmless?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581833#581833]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[jBPM] - jBPM5 Persistance issue creating multiple human task
by shashi mhatre
shashi mhatre [http://community.jboss.org/people/khalipili] created the discussion
"jBPM5 Persistance issue creating multiple human task"
To view the discussion, visit: http://community.jboss.org/message/580756#580756
--------------------------------------------------------------
I have created a simple workflow, it contains first 2 action event, 1 rule task then a human task and again an action task. I have configure JBPM to persist the session/process in mysql. now when i start the process everything works file till human task. jbpm persist the process, signal to task service and wait for response from task service. i am able to view the human task in jbpm console too.
now i closed my current running program/process; as this process has already initiated human task, transaction manager has persisted the state in DB. if i view in the mysql db, i am getting only one task and one entry in "eventtypes" table (Entry for ruleflow - this event has already completed before human task - not quite sure why its still there).
Later I restarted the process; process started successfully and processed till human task. Now if we look into jbpm console for human task,it shows 3 (three) human task 1) 1 from current process and 2) 2 from prior process which i closed abruptly.
As my first process runtime was already persisted and human task was created for same, why jbpm is creating human task again.
i think due to eventytype entry of ruleflow task, which was already completed and not removed by jbpm session. jbpm session is putting duplicate entry in workitems table. this seems to be an issue in jbpm process persistence.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580756#580756]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[JBoss Messaging] - Error: relation "jbm_dual" already exists
by tim@nwresearch.com
tim(a)nwresearch.com [http://community.jboss.org/people/tim%40nwresearch.com] created the discussion
"Error: relation "jbm_dual" already exists"
To view the discussion, visit: http://community.jboss.org/message/581729#581729
--------------------------------------------------------------
I've set up jboss messaging in a 2 node Jboss 4.2.3 cluster with a postgresql database for shared jboss messaging datastore. When the second node is started, I see errors in the log like the second node is trying to recreate the messaging database tables.
2011-01-18 18:04:55,891 DEBUG [org.jboss.messaging.core.impl.JDBCSupport] Failed to execute: CREATE TABLE JBM
_DUAL (DUMMY INTEGER, PRIMARY KEY (DUMMY))
org.postgresql.util.PSQLException: ERROR: relation "jbm_dual" already exists
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:299)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)
at org.jboss.messaging.core.impl.JDBCSupport.createSchema(JDBCSupport.java:301)
at org.jboss.messaging.core.impl.JDBCSupport.start(JDBCSupport.java:167)
at org.jboss.messaging.core.impl.JDBCPersistenceManager.start(JDBCPersistenceManager.java:149)
at org.jboss.messaging.core.jmx.JDBCPersistenceManagerService.startService(JDBCPersistenceManagerServ
ice.java:100)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java
:142)
....
Similar errors are repeated for all the tables and user inserts.
This seems to me like a problem, but as near as I can tell things seem to be working dispite the errors. Is this error something to worry about? Is there a configuration which will prevent the second node from trying to recreate the tables which already exist?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581729#581729]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[jBPM] - jbpm in seam results in Transaction is not active
by Kim Kuylen
Kim Kuylen [http://community.jboss.org/people/linuxtuxie] created the discussion
"jbpm in seam results in Transaction is not active"
To view the discussion, visit: http://community.jboss.org/message/577954#577954
--------------------------------------------------------------
Hi,
I am currently developing a project which is making use of seam 2.2.0.GA and JBPM 3.2.7. The goal of the project is to collect data from our cisco network switches, process the data and storing it ofcourse.
The seam project is currently making use of 2 seperate database backends, one for the application and one for the jbpm stuff. These databases are defined in seam via xa-datasources. To be precise it are PostgreSQL 8.4.4 databases.
In my seam application I have a page which displays a table with all the networkswitches (see networkswitches.xhtml).
In this page I can launch a network scan which will process each network switch one by one by calling the scanAction.scanAll() routine (see ScanAction.java)
The scanAll routine will launch a new ProcessInstance for each networkswitch...so far so good :)
jbpm now follows the nodes as described in the process definition (see scanswitch.jpdl.xml)
However, when an error is thrown in one of the nodes I receive the following stack trace (see full stacktrace in stacktrace.txt):
2:32:41,544 ERROR [CiscoInterfaces] Exception occurred in CiscoInterfaces: String index out of range: 39
22:32:41,560 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
22:32:41,560 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: af8450e:260d:4d1ba891:6e status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: af8450e:260d:4d1ba891:6e status: ActionStatus.ABORT_ONLY >)
22:32:41,560 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
22:32:41,560 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: af8450e:260d:4d1ba891:6e status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: af8450e:260d:4d1ba891:6e status: ActionStatus.ABORT_ONLY >)
22:32:41,560 ERROR [GraphElement] action threw exception: Cannot open connection
Note that the exception "String index out of range: 39" in the above stack trace is one we expected...but this seems to cause the "Transaction is not active" one.
Where did I go wrong?
Any help is much apreciated...I am strugling with this for quite some time now....please bear in mind that I am just a beginner in seam/jbpm
If I need to provide other files/info let me know.
Thanks for having a look into my problem!
Kim
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577954#577954]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months