dl wrote:

.. quite near, but not there yet .. here is a log of my attempts to run openejb.jsp .. as detailed in http://www.openejb.org/tomcat-ejbrefs.html

The doc was written in Tomcat 4 in mind. Not sure if it works for Tomcat 5. I think I saw a message that it's not working well.


note: I have used the binary download of open-0.9.2 since I'm new at building from CVS (where is that explained?). You advised that I use the CVS.

Yes, definitelly the latest changes were applied just for that area of functionality.


Adding ejb-ref in your web.xml  (in http://www.openejb.org/tomcat-ejbrefs.html)

but at this stage .. no web.xml created in WEB-INF .. no classes in WEB- INF\classes\

Question: How do I create the web.xml?? Class content ?? Build reference in openejb site?

web.xml is a standard way to configure a web application. It's assumed the file already exists or if it's not, a reader knows how to create it yourself. OpenEJB is about EJBs and so are the docs.


Take a look at Tomcat sample webapps for reference.

This advice at openejb site is now out of date for Tomcat 5.0 as confirmed in an earlier posting from another openejb subscriber ..

http://archive.openejb.codehaus.org/user/messages/151

Yes. That's the message I was refering to.

I'm looking into it.

so "missing application web.xml" ???
_______________________________________________________________


and in localhost_log.2004-08-03.txt is this clue ..
2004-08-03 19:21:39 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.reflect.UndeclaredThrowableException
at $Proxy13.create(Unknown Source)
at org.apache.jsp.openejb_jsp._jspService(openejb_jsp.java:61)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


_______________________________________________________________
I think I need help in creating the web.xml / etc.
At least tomcat server points to c:\my\app .. but does not run the openejb.jsp placed there.


To conclude:- Why can't I run http://localhost:8080/myapp/openejb.jsp ??

I don't really know yet. I have to run the example in Tomcat 5 yourself to see what's happening.


See Tomcat's webapps directory for sample web.xml's

Why is there a growing number of newly created openejb directories appearing in %CATALINA_HOME%
they are named openejb<number sequence about 18 digits>


and inside each is a single jar named openejb_validatexxxx.jar

That happens when OpenEJB deploys EJBs. During deployment, OpenEJB validates the EJBs and if they pass they're deployed. They however should be deleted once the validation phase completes. Another place to look at.


the original *.war used to instal openejb has been removed.

I guess the WAR was removed to a directory with the same name as the file with no extension .war, right? If so, that's how Tomcat works. It creates directories unless unpackWars is set to false in server.xml file.


dl

Best, Jacek

Reply via email to