[JBoss jBPM] - variable in process definition
by AJanz
is it possible to define a variable and its value in a process definition?
for example something like
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2"
| name="simple">
| <variable name="var1" value="text" />
| <start-state name="start">
| <transition name="to_state" to="first">
| <action name="action" class="com.sample.action.MessageActionHandler">
| <message>Going to the first state!</message>
| </action>
| </transition>
| </start-state>
| <state name="first">
| <transition name="to_end" to="end">
| <action name="action" class="com.sample.action.MessageActionHandler">
| <message>About to finish!</message>
| </action>
| </transition>
| </state>
| <end-state name="end"></end-state>
| </process-definition>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197617#4197617
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197617
17 years, 4 months
[EJB/JBoss] - Connection is not releasing in CMP bean on jboss 4.2.2. GA
by javaAmtho
Hi,
My CMP bean is deployed on Jboss 4.2.2. GA AS.
Issue is that this cmp bean is not releasing the connection after usage in module ..and bcos of that i am getting below exception in AS.
2008-12-18 06:53:52,671 DEBUG [JDBCExceptionReporter] Cannot open connection [???]
org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:298)
I am using Hibernate template and used CMP EJB bean.
Let me know if you require more information ..reply urgent if you got issue or faced it before,.
Regard
JavaAmtho
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197598#4197598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197598
17 years, 4 months