That is what I have done.
I am using is Tomcat  5.0.19
I will try the process from the begining again.. and see how I go.


Lajos wrote:


You are right, of course ... I cut and pasted too quickly in posting my updated Guide ;)


I have retested the scenario, and it does indeed work. Some things to check:

1) remove $CATALINA_HOME/work/Standalone prior to starting, just to be safe
2) no openejb or simpletest.jar in common/lib
3) only openejb-loader*.jar and simpletest.jar in the webapp WEB-INF/lib
4) web.xml configured correctly per my instructions
5) no openejb webapps installed


If that really doesn't work, tell me what version of Tomcat you are using.

Lajos




Philip Chan wrote:


I placed simpletest.jar into my webapps lib, as placing it in common/lib would defeat the purpose of having a per wepapp installatioin
but still have problems in the look up.
I am wondering if the problem is that in this scenario and in your instructions there was nothing about adding the Bean declaration in the webapps context.
Do we still need to do this, as this was one of the key differences between your instructions for OpenEjb1 and Jacek instructions for OpenEjb?


Phil C.


Lajos wrote:


Hi Philip -

Thanks for your corrections - they have been made. There was also a step missing: to copy $OPENEJB_HOME/beans/simpletest.jar to $CATALINA_HOME/common/lib. Try that and see if it works.

Regards,

Lajos


Philip Chan wrote:


Hi,

I am particularly interested in the installation of openejb on a per-webapp scenario.
So I followed the http://www.galatea.com/flashguides/tomcat-openejb1-unix instructions


I am using tomcat 5.0.19 and Sun JDK 1.4.2_05 but got the lookup error again... like I did when I first used OpenEJB 0.9.2 Any Ideas what i am doign wrong?

These are the following inconsistency I have found:
Section4, point 6 the name of the interface did not match teh file name so I made it SimpleTestRemote instead of SimpleTest
Section4, point 9 should just state ant and not ant jar
Section4, point 7, I renamed it to SimpleTest.java instead of SimpleTestBean.java


When using the 7. Using OpenEJB embedded in one Tomcat web application

But I get the following error:
Naming exception occured during initializationjavax.naming.NameNotFoundException
: Name "/SimpleTest" not found.
javax.naming.NameNotFoundException: Name "/SimpleTest" not found.
at

















Reply via email to