I'm tring to commit the JbpmContext at the end with  context1.close();

It seems to be a problem of having to many variables in my 
workflow. 

Question:
Is there a way of flushing or nulling variables in the workflow.

I've tried to delete the variables or null them but that did not seem to work.
If i use less variables i do not get the out of memory.

Question:
Can there be an intermediate HibernateUpdate?

Any hints are welcome


                JbpmContext context1 = null;
        try
        {
                ProcessDefinition pd = 
ProcessDefinition.parseXmlResource("FileSplitter.par/processdefinition.xml");
                        context1 = this.jbpmConfiguration.createJbpmContext();
                        ProcessInstance instance = new ProcessInstance(pd);
                        context1.deployProcessDefinition(pd);
                        instance.signal();
                        context1.save(instance);
        } catch (Exception e)
        {
        
                e.printStackTrace();
        }finally {
                 context1.close();
            }



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944821#3944821

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944821


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to