Hi,
After running my jBPM 3.0 code for couple of times. I get
"ORA-00020: maximum number of processes (160) exceeded".
My jBPM code looks like this -
static JbpmSessionFactory jbpmSessionFactory =
JbpmSessionFactory.buildJbpmSessionFactory();
public void addTask() throws Exception
{
JbpmSession jbpmSession = null;
try
{
jbpmSession = jbpmSessionFactory.openJbpmSession();
jbpmSession.beginTransaction();
.......................
jbpmSession.commitTransaction();
}
catch (RuntimeException runtimeException)
{
jbpmSession.rollbackTransaction();
throw new Exception(runtimeException);
}
finally
{
if(jbpmSession!=null)
{
jbpmSession.close();
}
}
}
Does anyone have any idea what may be causing problem here? Or is there any
possiblity that the connections dont get closed in some standard pre delivered
code?
Nakul
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916901#3916901
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916901
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user