You may also:
* Look up the TransactionManager from JNDI (or inject it using @Resource) and register with the Thread's Tx by calling tm.getTransaction().registerSynchronization(). You might want to further abstract this using an Interceptor (AOP) if you want to apply this across many EJBs.
* If hooking in from an Entity Bean, listen in on an event (ie. PostUpdate) and call event.getSession().getTransaction().registerSynchronization()
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129191#4129191
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129191
hi,
I have solved my problem. I desfribe my solution in case it helps. The matter was that in other rule I had in my security.drl (and that I did not post to my message) I had a syntax error.
With that error the rule I described before does not work, and once the syntax is correct, both rules work ok.
The sintax error was the following:
| Role(name == "adminGral" or name == "adminFirm")
|
And the proper way is this:
| Role(name == "adminGral")
| or
| Role(name == "adminFirm")
|
regards,
Jaime
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129184#4129184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129184
Bonjour,
je suis nouveau sur jBPM et ne connait pas encore les possibilitees de cet outil,
ce que nous voulons faire, c'est mettre en place des Workflows (WF) d'execution automatique (il n'y a aucune intervention humaine de prevue, le WF etant un enchainement de modules applicatifs, 1 -->2 --> 3 par exemple, le module 2 traitant les donnees MAJ par 1, idem pour 3 par rapport aux donnees MAJ par 2) parametrable en fonction de flux de donnees (1 flux = 1 WF. Il y a 20 flux differents par application destinatrice des resultats des traitements, on peut donc avoir au maximum a definir 20 WF differents). Ce type d'application est-il possible avec jBPM.
et si oui, comment?
merci de vos reponses
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129181#4129181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129181
Hello,
When I am trying to cluster an application that uses MessageDrivenbean and Queues and Connection factory,I am getting an error saying ConnectionFactory not bound.
The jndi name used for connection factory lookup is
ctx.lookup("ConnectionFactory");
I have learnt that JMS resources are singleton in a cluster.
So what should be the JNDI name for connection factory.
I am using EJB3.0
Thanks in advance for any help/advice.
Thanks Yugant Shah.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129179#4129179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129179