Re: Cannot instantiate class: org.openejb.client.LocalInitialContextFactory

2009-02-11 Thread mgyh
By the way, I am trying to start the java applet using the following HTML tag: mgyh wrote: > > I am new to OpenEJB. So far, I am very pleased and would like to use this > for additional development. I installed OpenEJB successfully in Tomcat > 6.0 (download the .war, deployed to webapps, t

Re: Extended PersistenceContext and Transactions

2009-02-11 Thread Karan Malhi
Hi Thomas, I could not reproduce the error. Could you share the code? On Mon, Feb 9, 2009 at 6:50 AM, wrote: > Hi @all, > > so now I tracked down my problem with the Extended PersistenceContext. The > reason for failure was the TransactionManagement. > Anyhow I tried to work with different possi

Cannot instantiate class: org.openejb.client.LocalInitialContextFactory

2009-02-11 Thread mgyh
I am new to OpenEJB. So far, I am very pleased and would like to use this for additional development. I installed OpenEJB successfully in Tomcat 6.0 (download the .war, deployed to webapps, then ran the installer). I created a Bean and am able to successfully use this in a JSP program. This wo

Re: em.clear() in a non transactional context

2009-02-11 Thread David Blevins
[note to future readers: this content does not apply to EXTENDED persistence contexts] On Feb 11, 2009, at 8:14 AM, Bharath Ganesh wrote: The clear method would detach all the entities from the EM. Whenever you invoke a method on an EM, in a non-transactional context, semantically it would

Re: em.clear() in a non transactional context

2009-02-11 Thread Bharath Ganesh
The clear method would detach all the entities from the EM. Whenever you invoke a method on an EM, in a non-transactional context, semantically it would mean you are using a new EM every time. The EM cache would be cleaned up after every method call. I am not sure how this is implemented in OpenEJB

Re: OpenEJB on Oracle

2009-02-11 Thread JensToerber
Hi, got our production application running with Openejb on Tomcat. We are using: - Spring 2.5.1 (JndiObjectFactoryBean); we could replace this with @EJB - Facelets with JSF 1.2 - Timer - MDBs - Hibernate as JPA provider - Entity and Session Beans Currently no problems. We have a newsletter modu

Re: Tomcat - Injection: No such property

2009-02-11 Thread JensToerber
Hi David, i interpreted your answer as there should not be a problem with Spring. Hence thanks for the hint ;-). So i took my test web application and tried to get Spring 2.5.1 running with JndiObjectFactoryBean and it worked. Hence i looked in our production application and i am sorry we had a p

Re: em.clear() in a non transactional context

2009-02-11 Thread Jean-Sébastien Scrève
Ok thanks David. Let me explain the circumstances of my question : I have a Stateful session bean. All methods are non transactional. I only want to browse entities. Let's say I have a reference to an entity. I call the clear() method on the session bean. After that, it's still possible to bro

R: Eclipse WTP + Tomcat Debug

2009-02-11 Thread Paolo Spadafora
Hi David, With eclipse WTP you can debug a web application without restart tomcat (except a few cases, like changes on a struts config). It runs an instance of tomcat using a temp folder to deploy webapp (exploded) and some custom xml configuration (adds a few special tags inside server.xml and web