This sounds very wrong to me that you deploy then copy a war file or that you
define the datasource *after* the deployment.
Didn't you mean package instead of deploy ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3953375#3953375
Reply to the post :
Hello,
yes you are right, i have used the wrong wording. here is the correction
By now, for every targetsystem i do this:
1. edit jboss-bean.xml
2. package the app (run Ant build script)
3. copy the resulting war to the right system
But what i need is:
1. package the app (run Ant build
You need to use the JNDI tree of Tomcat for the datasource then (and keep JBoss
JNDI for everything else)
The easiest way to do (if you are using one of the Seam example as skeleton) is
to configure in:
./embedded-ejb/conf/default.persistence.properties
those 2 keys:
Hello Thomas,
so i have to use embeddable ejb?
At the moment i use seam managed sessions as introduced with the example
'hibernate' (the derivate from the hotel booking example)
If i use embeddablke EJB as suggested, how to inject the transaction manager
into a datasource provided by Tomcat?