[jBPM] - Can't open bpmn from Visual Editor in Process Editor
by Gary Struthers
Gary Struthers [http://community.jboss.org/people/GaryS] created the discussion
"Can't open bpmn from Visual Editor in Process Editor"
To view the discussion, visit: http://community.jboss.org/message/614563#614563
--------------------------------------------------------------
I hope to fill in the properties not yet handled in the Visual Editor with the Process Editor.
A workflow created with the Visual Editor that contains Rule Tasks throws an exception when opened in the Process Editor "An exception occurred while reading in the RuleFlow XML: No messages found See the error log for more details". Where is the error log and how do I fix the xml in a text editor?
Another error when opening with the Process Editor is a Gateway direction is unspecified. I set Gateway directions in the Visual Editor to Diverging and Converging, save the file, but the properties view shows it goes back to Unspecified.
What am I to do? I don't want to become an expert XML editor of bpmn2 files. If there are only a few XML changes that will fix problems from the Visual Editor can you please explain them to me? Or do I have to create a new bpmn2 file with the Process Editor?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614563#614563]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - JBPM 5.1 Final Release with jboss-5.1.0.GA - jbpm-console - startprocess
by priyakpandey
priyakpandey [http://community.jboss.org/people/priyakpandey] created the discussion
"JBPM 5.1 Final Release with jboss-5.1.0.GA - jbpm-console - startprocess"
To view the discussion, visit: http://community.jboss.org/message/613621#613621
--------------------------------------------------------------
Hi,
I am using oracle DB instead of H2. I am also using DB authetication for jbpm-console login.
My users are present in DB for ibpm-console authentication. Organizationalentity also has entry of user(s) and group(s). For roles i make sure i form correct roles for the user. User role includes user and the group names.
I start process which has human task. This process is started from jbpm-console. I am not able to get the humen task in the personal list of the user as task creation fails with the following error on human task service console. The actorId of the task is the user id.
This is very important and i am blocked because of this. Can someone please help on this. Many Thanks in advance..
[java] javax.persistence.RollbackException: Error while commiting the transaction
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
[java] at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSess
ion.java:820)
[java] at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:134)
[java] at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:10
9)
[java] at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHa
ndler.java:41)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(
DefaultIoFilterChain.java:713)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(
ProtocolCodecFilter.java:375)
[java] at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFil
ter.java:229)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:1
76)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilter
Chain.java:46)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived
(DefaultIoFilterChain.java:793)
[java] at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.
java:119)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(Def
aultIoFilterChain.java:434)
[java] at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(Default
IoFilterChain.java:426)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoPro
cessor.java:638)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIo
Processor.java:598)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIo
Processor.java:587)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollin
gIoProcessor.java:61)
[java] at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPol
lingIoProcessor.java:969)
[java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:88
6)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[java] at java.lang.Thread.run(Thread.java:662)
[java] Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC
batch update
[java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
[java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
[java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
[java] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
[java] at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244
)
[java] at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractC
ollectionPersister.java:1141)
[java] at org.hibernate.action.CollectionRecreateAction.execute(CollectionRecreateAction.ja
va:58)
[java] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
[java] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:171)
[java] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractF
lushingEventListener.java:321)
[java] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListen
er.java:50)
[java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
[java] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
[java] at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
[java] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
[java] ... 29 more
[java] Caused by: java.sql.BatchUpdateException: ORA-02291: integrity constraint (NVE.FK9D8CF4E
C2C122ED2) violated - parent key not found
[java]
[java] at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343
)
[java] at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.j
ava:10768)
[java] at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
[java] at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
[java] ... 43 more
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613621#613621]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - Human Task View and "Could not connect to task server, refresh first" problem.
by Francisco Barros
Francisco Barros [http://community.jboss.org/people/francisco_barros] created the discussion
"Human Task View and "Could not connect to task server, refresh first" problem."
To view the discussion, visit: http://community.jboss.org/message/590059#590059
--------------------------------------------------------------
Hi all!
I've been trying to reproduce the screencast ( http://people.redhat.com/kverlaen/install-eclipse-jbpm.swf http://people.redhat.com/kverlaen/install-eclipse-jbpm.swf) linked at section "2.4. Using Eclipse Tooling" of "jBPM User Guide". I was stuck at 1:05, when, at the Human Task View, krisv name is entered at UserId and the button Refresh is clicked. I was getting "Could not connect to task server, refresh first" message. I've discovered that what was causing the problem was the installation of JBoss Tools 3.2 (before the installation I was able to reproduce the screencast *). To confirm, I uninstalled just Drools related plugins of JBoss Tools and could, then, reproduce the screencast without errors *.
My environment:
Eclipse Java EE Helios SR1 Win32 (not the default eclipse Java Helios that is configured to be retrieved at build.xml)
jbpm-5.1-SNAPSHOT
JBoss Tools 3.2 (Helios) Final.
* After uninstalling Drools related plugins from JBoss Tools I was *almost* able to identically reproduce the screencast. The only diference is that I can't see the image that represents process ongoing at Process Instance view (1:18).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590059#590059]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[JBoss Messaging] - Messaging Worker Threads in Blocked State
by Santharam Ayyalasomayajula
Santharam Ayyalasomayajula [http://community.jboss.org/people/ansantharam] created the discussion
"Messaging Worker Threads in Blocked State"
To view the discussion, visit: http://community.jboss.org/message/614536#614536
--------------------------------------------------------------
I have a Jboss messaging cluster(1.4.5GA) with JBoss 4.2.2 setup, while running the application for few hours i see lot of worker threads in blocked state & the application starts throwing exceptions. Is this the normal behavior to have the threads in blocked state?
Thread: WorkerThread#8[192.168.80.101:43123] : priority:5, demon:false, threadId:1322, threadState:BLOCKED, lockName:java.lang.Object@27408777
org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:242)
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2345)
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:515)
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:769)
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:863)
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:634)
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:434)
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:176)
Thread: WorkerThread#9[192.168.80.101:38547] : priority:5, demon:false, threadId:1323, threadState:BLOCKED, lockName:java.lang.Object@27408777
org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:242)
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2345)
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:515)
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:769)
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/614536#614536]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months