Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the 
discussion

"Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()"

To view the discussion, visit: http://community.jboss.org/message/551310#551310

--------------------------------------------------------------
Hi Joe,
in the first place I don't think it is a bug, it is rather the way jBPM is 
intended to be used.
You open and close an environment which is defined by jBPMs IoC Container, much 
like you open and close a hibernate session.

Maybe the fact that environmentFactory.openEnvironment() returns 
EnvironmentImpl is not really pretty,
but a lot of methods in ActivityExecution require an environment to work with 
and having them all open and close their own environment would be
even uglier and unnecessary in most cases.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/551310#551310]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to