> From: tenley ludewig [mailto:[EMAIL PROTECTED] 
> Subject: Cannot pass parameters to tomcat5.exe 
> //IS//MyService and a few other questions
> 
> 1.  I am using Tomcat 5.5 and JDK 1.5 and trying to install a 
> Windows service with the following command.

Why aren't you using the supplied .bat script or Tomcat's Windows
installer to create the service?  Rolling your own is rather risky.

> 2.  I have tried starting Tomcat with catalina.sh start

That would be a good trick on Windows.

> INFO: validateJarFile(C:\Program 
> Files\AOL\OPIS30\webapps\aimauth\WEB-INF\lib\javaee.jar) - 
> jar not loaded. See Servlet Spec 2.3, section 9.7.2. 
> Offending class: javax/servlet/Servlet.class

Do not ever, ever put javaee.jar inside your webapp.  Whatever container
you're using will supply the necessary EE classes to run in its
environment.

> 3.  Do I need to do anything special to start Tomcat with 
> just a JRE (instead of a JDK) as of Tomcat 5.5?  I have seen 
> conflicting messages regarding this.

You have to set the environment variable JRE_HOME rather than JAVA_HOME.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to