Re: Eclipse Multiple Projects and Missing persistence.xml

2008-04-02 Thread David Blevins
On Mar 30, 2008, at 8:29 PM, Chad and Doria Skinner wrote: I have a project I am working on and we have separated our business model from our business logic by placing them into different projects in eclipse. These projects are both jars that are placed in our ear file. When I try to run a

Re: OpenEJBListener and Eclipse

2008-04-02 Thread David Blevins
Hi Mike, I'm not too sure how Eclipse starts and manages Tomcat. Dario, I seem to recall you mentioning this exact situation in your Tomcat/OpenEJB article. Do you happen to have any insight? -David On Apr 1, 2008, at 3:29 AM, Mike Otto wrote: Hello I am testing out openejb 3.0 beta 2

EJB in Tomcat with OpenEJB

2008-04-02 Thread Dru Devore
I am sending this again because I have no proof that it actually made it to the list. If anyone has any suggestions I would appreciate them. I would like to get this solved by the weekend. I am REALLY new to openejb, though not ejbs, and I am having problems. I am trying to deploy a project

Re: Web Service and EJB 3 problem

2008-04-02 Thread David Blevins
On Mar 31, 2008, at 12:03 PM, Dru Devore wrote: I am REALLY new to openejb, though not ejbs, and I am having problems. I am trying to deploy a project developed in NetBeans for Glassfish to Tomcat/OpenEJB. I need to develop a method of reliably deploying a project being developed in NB as an

Re: Tomcat - Injection: No such property

2008-04-02 Thread David Blevins
On Mar 29, 2008, at 1:14 PM, ebaxt wrote: I'm trying to run my application with Tomcat+openEJB, but I can't figure out why the EntityManager isn't injected correctly into the EAO sessionbean. My war file is packed with the ejb.jar in \WEB-INF\lib. The client is able to lookup the facade,

Re: Tomcat - Injection: No such property

2008-04-02 Thread ebaxt
Thank you Kenneth! I have tried to set the properties you talked about, but I don't really know how to configure it to lookup Tomcat's JNDI context. I have tried this with no luck: Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY,

Re: Tomcat - Injection: No such property

2008-04-02 Thread klewelling
You may want to try setting the properties as system properties, i.e. java ... -Djava.naming.factory.initial=org.apache.openejb.client.LocalInitialContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming.factory.XXX or something like that. I think it may be important that openEJB's

Re: Tomcat - Injection: No such property

2008-04-02 Thread David Blevins
On Apr 2, 2008, at 3:30 PM, klewelling wrote: You may want to try setting the properties as system properties, i.e. java ... - Djava .naming .factory.initial=org.apache.openejb.client.LocalInitialContextFactory -Djava.naming.factory.url.pkgs=org.apache.naming.factory.XXX or something