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

2009-02-15 Thread Karan Malhi
Hi, Took me a while and help from David Blevins, but we figured out a solution to the issues concerning applets. I have created an example which you can checkout from our svn repository. Read the README.txt of the example first before you try to run the example. I have tried to be as detailed as

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

2009-02-13 Thread mgyh
Your suggestions did get me past my initial problem. I guess that I did not realize that the applet was running in a separate VM. I don't think that I completely understand that. I'll do some reading on the side to get a better grasp of this. However, once I made these changes, I get an

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

2009-02-13 Thread Paolo Spadafora
febbraio 2009 17.27 A: users@openejb.apache.org Oggetto: Re: Cannot instantiate class: org.openejb.client.LocalInitialContextFactory Your suggestions did get me past my initial problem. I guess that I did not realize that the applet was running in a separate VM. I don't think that I completely

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

2009-02-12 Thread Karan Malhi
Hi, Here is what you would need to do to make it work. Firstly, you would need to add the following jars in the root directory of your webapp -- javaee-api.jar and openejb-client.jar (you can copy these from Tomcat-install/webapps/openejb/lib ). Update the Applet code as shown (notice that we

Cannot instantiate class: org.openejb.client.LocalInitialContextFactory

2009-02-11 Thread mgyh
like to use this same bean from within a purely java applet. If I put this above code into my java applets init() method, I get the following error: javax.naming.NoInitialContextException: Cannot instantiate class: org.openejb.client.LocalInitialContextFactory [Root exception