I am defining jbpmContext as:
jbpmConfiguration = JbpmConfiguration.parseResource("jbpm/jbpm.cfg.xml");
jbpmContext = jbpmConfiguration.createJbpmContext();
processInstance = jbpmContext.newProcessInstance(name);
and then saving as
jbpmContext.save(processInstance);
But if I don't clos
I found a work around by managing transaction myself, i.e.
Transaction txn = jbpmContext.getSession().beginTransaction();
jbpmContext.save(processInstance);
txn.commit();
and I see the changes in the database right away. I am still curious why jBPM
has this particular behavior?
View the original
I am trying to store serializable objects using contextInstance, e.g.
contextInstance = processInstance.getContextInstance()
contextInstance.setVariable("my serial object", myserializedobject);
But when I reload the process, I don't see my serialized object. Am I missing
anything?
View the origi
I have some tasks defined in task-node as
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941954#3941954
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941954
---
Using Tomcat but need to do mo
actually i have same name for the parameter as is state name, e.g.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941957#3941957
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941957
---
Using
parenthesis didn' show up, what I mean is
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941958#3941958
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941958
---
Using Tomcat but need to do m
transition name='error' to='error'
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941959#3941959
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941959
---
Using Tom
Also, I noticed that you cannot generally call signal from action, instead you
have to leaveNode. Is there any similar rule for task where you cannot change
taskInstance from the action class.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941963#3941963
Rep
I am writing a lightweight coordination framework using jBPM that invokes Java
based servics (as opposed to web services in BPEL). I am defining each service
as task within a task-node, e.g.
I am using ActionHandler listener for node-enter to invoke the service and then
based on
I noticed that occasionally following statement fails:
jbpmContext.getGraphSession
However, calling it again works. For example, I fixed above by
try {
jbpmContext.getGraphSession();
} catch (org.hibernate.exception.JDBCConnectionException e) {
jbpmContext.getGraphSession();
}
I have trie
I am trying to run jBPM samples outside JBoss application server. In this
particular test, I am using hsql for database, but it looks like hibernate is
looking up data source using JNDI. In this case, since I am not within any
application server, it fails, e.g.
09:21:25,283 [main] FATAL Datasour
Though, I have read jBPM manual, but it is unclear the difference between
processes, subsprocesses and tasks and when will I use one as opposed to other.
Can someone elaborate it? Second question is about saving workflow state. I saw
that save method is used to save the state when jBPM is used w
Well, I sort of get very high level view of process and tasks, but my question
is really how they are treated differently by jBPM and when will you use one
against another. For example, does the state is saved between processes, but
not between tasks. I am planning to use jBPM in sort of BPEL li
Actuall, my hibernate.cfg.xml already is using connection instead of
datasource, e.g.
org.hibernate.dialect.HSQLDialect
org.hsqldb.jdbcDriver
jdbc:hsqldb:mem:.;sql.enforce_stri
ct_size=true
sa
I am not using hibernate.connection.datasource property, so I am not sure why
jBP
I am trying to run examples for jbpm and found following error while running
Websale example.
16:21:53,732 [main] ERROR JpdlXmlReader : couldn't parse process definition
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at
I understand that JbpmConfiguration is thread safe and can be shared, but can
someone let me know if any of following are thread safe:
- JbpmContext
- GraphSession
- ProcessDefinition
Basically, I would like to use a singleton class to keep shared definitions of
processes and then create proc
Right, I understand that I am still wondering whether context, sessions and
process definitions can be shared by different threads or should I create them
for each client. For example, in JMS sessions cannot be shared across threads
so I am not sure if there is similar constraint on these object
I am having same problem, how exactly did you fix it. It looks like Hibernate
can't persist org.jbpm.context.exe.VariableInstance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937468#3937468
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
Hello,
I am trying to setup HTTPLoadbalancer as a reverse proxy server and it's
working for a single application, but can I use this for more than one
application. Also, can I direct the traffic based on the incoming protocol.
What I mean is that I have JBoss running and listening on port 80 for
I need both reverse proxy server and load balance capabilities. The reverse
proxy server will be running on separate machines than application servers so
it needs to do all URL rewriting, caching, security, which is generally
associated with reverse proxy servers.
View the original post :
http
Hello,
Can someone point me to an example of using Single-Sign-On based authentication
that uses Microsoft Windows 2003 Active Directory for authentication and
authorization (memberOf). Ideally, I would like a skeleton end-to-end example
with all changes needed for login-config.xml, web.xml, htm
I am looking into jBMP to implement distributed transactions. We are not using
any kind of XA or global transactions, instead each of our service has an undo
API that we use for compensating transaction. For example, currently our code
looks like this:
try {
AirServiceQueue.send("BUY",
22 matches
Mail list logo