Martin, thank you so very much.
Ronald man I don't have any idea what you were trying to convey.
The ONLY difference from what I had already tried was the silly removal of the
| java:comp/UserTransaction
|
If it is there, the deleteJobsForProcessInstance throws the exception.
Silly me I
Can someone please explain the correct transaction configuration for creating a
stateless session bean that accesses the jbpm-enterprise.ear
Ive asked this everyway I know how and searched every forum I can. There are
only ever hints, rumors, and guesses. Please help before I shoot my computer
a
Yea some success. I have some better distilled down notes I will try to add.
Still a rather frustrating solution. I wish at least we could see some more
info on release timelines and more docs.
I basically had to drop back to compiling from source since I was making some
changes to allow annotate
Your right that was not needed.
See posting
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013125#4013125
for how I got it running by setting isTransactionEnabled to false and
isCurrentSession enabled to false on jboss 4.0.5ga.
However, this does not solve the original issue.
Whats u
Ok, at this point things are running pretty well.
I have deployed the cvs trunk build jbpm.3 (3.2.beta2)'s jbpm-enterprise.ear to
jboss4.0.5ga with ejb3 and messaging.
I am able to create start and transition through process;s.
Keep in mind the reason for this posting.
We have isTransactionEnabled
Ok, doing pretty well now but when I try to signal a transition to an end state
I get the following:
See JIRA ISSUE http://jira.jboss.com/jira/browse/JBPM-836
| ===EXCEPTION SEEN===
| 13:04:56,785 ERROR [ProcessInstanceBean$SignalTokenListener] Action threw
an exception: ejb local timer loo
I was getting something similar and needed to point my runtime classpath at
jboss/client jars.
|[java] javax.naming.CommunicationException [Root exception is
java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class
incompatible: stream classdesc serialVersionUID = -
Also needed to apply this fix for compiling the cvs head.
http://jira.jboss.com/jira/browse/JBPM-834
All I wanted was a Pepsi !!!
No really, I'm just trying not to lose any information on how to get the beast
to run with Jboss 4.0.5GA, ejb3, jms messaging, and annotated class persistence
in a C
In poking around and finally getting into building jbpm-enterprise.ear from the
cvs head, I got a little further in my testing. Because I cant figure out how
to configure transactions properly, I just tried to turn them off by editing
the
jbpm.cfg.xml and setting
|
|
|
Then I started g
Yes, here is where it gets tricky. I also am having that problem and am trying
to get a response on how to configure either CMT ot JTA for the ear.
I will add the reference posting here when If I ever get a response.
One thing you can do now to continue your journey however is
edit expand/lib/jbp
Two issues here
1. changing db for 3.2.beta1. Assuming you want to change the
jbpm-enterprise.ear you can expand the ear and change hibernate.cfg.cml. Here
is a ant build script I created to expand the ear, edit the config files then
recreate the ear.
So "ant expand", edit expand/lib/jbpm-conf
For jbpm.3.2beta1 I have had some success but still get some exceptions related
to transaction management when I try to signal a process to its end state.
In a nutshell assuming you are deploying jbpm-enterprise.ear.
1. Configure jboss with jms messaging as per jboss instructions.
2. Config your d
Submitted as feature request to jira
http://jira.jboss.com/jira/browse/JBPM-832
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010873#4010873
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010873
__
IT WORKS!
After much head banging and incorrect assumptions I think I have it.
Please developers of jbpm can you look at this seriously as a means of
persisting annotated pojos.
In HibernateHelper I added the following code
| import org.hibernate.cfg.AnnotationConfiguration;
| import org.hibe
See also http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100452
I am trying to do the same thing with an entity that does not have a resource
mapping file but uses annotations only to define schema.
Problem there is there is no way to "tell" jbpm about the annotated class
because of the
-or- have a configuration class property in jbpm.cfg.xml which allows us to
specify what configuration class to use?
jbpm.session.factory.configuration.class="org.hibernate.cfg.AnnotationConfiguration"
That way if it is a hibernate version issue, the default could be just
Configuration.
View th
I am trying to persist an annotated @Entity object but I do not have a mapping
resource foo.hbm.xml.
If HibernateHelper.java returned an AnnotationConfiguration rather than
a Configuration It would seem I could then specify a property in
hibernate.cfg.xml such as
|
|
|
Which then would
I tried the following trick (total guess, Not sure it will work but it got me a
little further). Seems like this scheme should work to force jbpm to consider
the user object as a hibernatable object...which mine is only not because of
hibernate.cfg.xml
jbpm.varmapping.xml
|
|
ALthough the jbpm-console seems to work like this, lots of exceptions are
spewed mostly
| org.hibernate.TransactionException: Could not register synchronization for
container transaction Could not register synchronization for container
transaction.
|
So is there a nice easy way to turn on
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=99366&postdays=0&postorder=asc&start=0
Found the solution in this posting.
Had to change config option in jbpm.cfg.cml to false.
Not sure why this is but it seems to fix things
|
|
View the original post :
http://www.jboss.
When I deploy the jbpm-enterprise.ear to jboss 4.0.5ga and try to log into the
jbpm-console web app I am getting the following error.
Unable to locate current JTA transaction
| 16:56:02,784 ERROR [STDERR] Jan 29, 2007 4:56:02 PM
com.sun.facelets.FaceletViewHandler handleRenderException
| SEV
I went the other way and removed jsf-impl-14.jar and jsf-api-14.jar
from jbpm-console.war and put in the myfaces-impl.jar and myfaces-api.jar from
the jbossweb-tomcat location listed above.
This seemed to fix the bizzare
| 09:43:05,881 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console,
wa
Could you please post or reply with you experiences with 4.0.5GA and 3.2.Beta1.
I am trying to do same as per topic
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=99450
but am stumped.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003500#4003500
Rep
Rather than using the "out of the box" jboss as delivered with jbpm 3.2.Beta1,
I would like to deploy the ear delivered in the deploy directory to my jboss as
with ejb3 and messaging enabled.
Has anyone had any experience with this?
I have had limited success and ultimately the jbpm-console seems
24 matches
Mail list logo