Re: different beheviour from local and tomcat server

2009-03-20 Thread David Blevins
On Mar 19, 2009, at 9:03 AM, Jean-Louis MONTEIRO wrote: giovacar wrote: when i try to call it on tomcat using openejb.war (i copy my bean.jar on lib directory on apache-tomcat-6.0.18\webapps\openejb\lib) Sorry but I did not fully read your post. When you use OpenEJB embedded in Tomcat, it

Re: deploy EJB on tomcat

2009-03-20 Thread David Blevins
On Mar 19, 2009, at 5:22 AM, giovacar wrote: Hi Gurus, i try to deploy a EJB on Tomcat installation: bin\openejb deploy --server-url http://localhost:8080/openejb/ejb myEJB.jar but it not work: 19-mar-2009 13.17.17 org.apache.openejb.client.StickyConnectionStrategy connect AVVERTENZA:

Re: Caused by: org.apache.openjpa.persistence.ArgumentException: ....... cannot be annotated by two persistence strategy annotations.

2009-03-20 Thread Michael Dick
Well the ideal solution would be to use only one of the annotations. OpenJPA won't be able to resolve the mapping data correctly with both of them. Can you elaborate on the problem you were working around that prompted you to add both annotations? -mike On Fri, Mar 20, 2009 at 5:52 PM, David Ble

Re: Howto deploy EJB in embedded OpenEJB

2009-03-20 Thread David Blevins
Hi Pascal, Did Per's response answer your question? -David On Mar 18, 2009, at 1:24 AM, Pascal Alma wrote: Hi, I am running into the following problem while creating a unit/ integration test with Maven: I want to test a jndi lookup in my test class, which is looking up an EJB (Stateles

Re: Caused by: org.apache.openjpa.persistence.ArgumentException: ....... cannot be annotated by two persistence strategy annotations.

2009-03-20 Thread David Blevins
FYI to archive searchers, thread moved here: http://n2.nabble.com/Fwd%3A-Caused-by%3A--%3Copenjpa-1.1.0-r422266%3A659716-fatal-user-error%3E-org.apache.openjpa.persistence.ArgumentException%3A-...-cannot-be-annotated-by-two-persistence-strategy-annotations.-td2511552.html -David On Mar 19,

Re: What is the entity manager factory JNDI name ?

2009-03-20 Thread David Blevins
On Mar 20, 2009, at 9:46 AM, Olivier THIERRY wrote: 2009/3/19 David Blevins : On Mar 18, 2009, at 8:40 AM, Olivier THIERRY wrote: Hi, I try to configure a Seam-managed persistence context with Open EJB 3.0. To achieve this, I need to get entity manager factory using its JNDI name. Fo

Re: Sharing classpath between different Web app

2009-03-20 Thread Jonathan Gallimore
The latest WTP plugin is available at http://people.apache.org/~jgallimore/update-site/ - The URL you provided gave me a 404 error, so I guess its old. The latest plugin might be worth a go. I'll have a go with the module dependencies over the next couple of days. Cheers Jon On Fri, Mar 20, 200

Re: AW: AW: AW: AW: How to use JBPM with openEJB?

2009-03-20 Thread David Blevins
On Mar 19, 2009, at 8:29 AM, > wrote: Hi David, we have a little success :-) The database error is gone now. You are right it has to be java:comp/env/ TestDS in the hibernate.cfg.xml file and TestDS in the ejb-jar.xml. But now I end up in the next error that the UserTransaction cannot

Re: What is the entity manager factory JNDI name ?

2009-03-20 Thread Olivier THIERRY
2009/3/19 David Blevins : > > On Mar 18, 2009, at 8:40 AM, Olivier THIERRY wrote: > >> Hi, >> >> I try to configure a Seam-managed persistence context with Open EJB 3.0. >> To achieve this, I need to get entity manager factory using its JNDI name. >> >> For example, for JBoss, it is something like

Re: different beheviour from local and tomcat server

2009-03-20 Thread giovacar
Hi i see the differences between the file traces of local(i.e. openEJB on port 4201) and tomcat side: http://www.nabble.com/file/p22618576/log.trace log.trace http://www.nabble.com/file/p22618576/tomcat.trace tomcat.trace in tomcat trace i cant find: openjpa.Runtime - Starting OpenJPA prese

Re: Sharing classpath between different Web app

2009-03-20 Thread dojolava
Jonathan Gallimore-2 wrote: > > I'll have a look at the J2EE module dependencies issue in Eclipse. I don't > know if you're using our WTP adapter, if you are, we do the deployment by > getting WTP to build our jar or ear which we then deploy, so perhaps we > have > a bug and we're missing somet

Re: different beheviour from local and tomcat server

2009-03-20 Thread giovacar
Hi, if it is usefull, this is the bean and source code: http://www.nabble.com/file/p22617824/EJBentity_and%2Bsource%2Bcode.jar EJBentity_and+source+code.jar thanks for your patience Jean-Louis MONTEIRO wrote: > > > giovacar wrote: >> >> Hi, >> i want to use the Tomcat as a EJB server, and