First of all, here are some precisions. I was using
* MacOS
* Tomcat 5.5.20
* Java 6.

I guess Java 6 was the problem. On MacOS it is not already a production grade official version of Java 6.
I now use Java 5 official Mac OS version and Tomcat 4.1.36.

I'm now able to deploy the servlet without problem.

Any succesfull use of Java 6 out there ?

JBB.

Cary Clark wrote:
Well, I use Eclipse.  Here's the few steps:

* Create a Dynamic Web Application
* Unwar the servlet-only version of the OL distribution into the filesystem. I use <root>/lps, <root>/WEB-INF/lib, <root>/WEB-INF/lps because I don't care to get the example stuff in WEB-INF/classes and other sample source code.
*  Refresh the project in Eclipse.
* Create a Tomcat app server and assign the project I just created to it. * Create my app (or include the copy-of-helloworld.lzx or whatever it's called)
*  Start the Tomcat instance
* Point browser to http://localhost:8080/<your app context, if any>/helloworld.lzx

That's the most simple version. I use the Spring framework and Hibernate, so I also pull the necessary jars out of their distributions and put in WEB-INF/lib, but that stuff is specific to the way I build my projects. The first steps should get you up and running with the basic OL distribution.

Cary


Jean-Baptiste BRIAUD wrote:
Did you unwar the war file downloaded from OL site or did you proceed differently (from the source, ...) ?
I'm using Tomcat 5.5.20 and OL 4.0.0.

Cary Clark wrote:
I have deployed to Tomcat using my own web app numerous times and have never once copied jing.jar to $TOMCAT_HOME/common/lib. I started deploying "way back" on Tomcat 3.3 IIRC and now have it running under version 5.5.

Did you try deploying without copying the jars?

Jean-Baptiste BRIAUD wrote:
Hi the list,

I had try to deploy the OL servlet with my own code so I got one .war file that contain both OL servlet + my servlet.

To do so, I follow the release notes that ask to copy one jar file, jing.jar, in the $TOMCAT_HOME/common/lib That didn't worked until, I also added isorelax.jar that I had to download from sourceforge.

I'm not sure if my case is too specific or not for a release note amendement, but it took my several hours to find that solution, so I'd like to share :-)

JBB.








Reply via email to