RE: Help! Can't install Tomcat

2001-07-30 Thread Andrew Inggs

Hewko, Doug wrote:
 I dloaded the binary code and added my JAVA_HOME (to JRE 1.3.1) and
 TOMCAT_HOME paths. I have c:\jdk1.3.1\lib\tools.jar appended to my
 CLASSPATH. When I type http://localhost:8080;, I get the Tomcat default
 page. When I try to execute a JSP, I get the following error:
[...]

Tomcat ignores CLASSPATH (have a look at startup.bat to see what
I mean).  You can either change JAVA_HOME to point to the *JDK*
root directory (recommended), or manually change startup.bat to
include tools.jar in the CLASSPATH.

-- Andrew



Thanks! [WAS] RE: Help! Can't install Tomcat

2001-07-30 Thread Hewko, Doug

Andrew and Raphale,

Thanks for the help! I changed my JAVA_HOME from c:\jdk1.3.1\lib to
c:\jdk1.3.1 and now the JS scripts work. So I assume Tomcat is set up
properly...

-Original Message-
From: Andrew Inggs [mailto:[EMAIL PROTECTED]]
Sent: July 30, 2001 8:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Help! Can't install Tomcat


Hewko, Doug wrote:
 I dloaded the binary code and added my JAVA_HOME (to JRE 1.3.1) and
 TOMCAT_HOME paths. I have c:\jdk1.3.1\lib\tools.jar appended to my
 CLASSPATH. When I type http://localhost:8080;, I get the Tomcat default
 page. When I try to execute a JSP, I get the following error:
[...]

Tomcat ignores CLASSPATH (have a look at startup.bat to see what
I mean).  You can either change JAVA_HOME to point to the *JDK*
root directory (recommended), or manually change startup.bat to
include tools.jar in the CLASSPATH.

-- Andrew



Re: Help! Can't install Tomcat

2001-07-30 Thread Richard Draucker

The Tomcat home page comes with links to several example JSP and Servlets.  
Do those work? 

On Monday 30 July 2001 11:03 am, you wrote:
 This may or may not help, but I think you need to append
 c:\jdk1.3.1\jre\bin to your PATH.  It looks like it's missing the Runtime
 Environment.  Just make sure that somewhere in one of the PATHS you have
 the JRE.

 This is what My PATH looks like on a Windows 95 machine With Tomcat
 3.something installed
 PATH=C:\PROGRA~1\PERSON~1;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS\UTILS;C:
\PSM;C:\WNETFIN;C:\JDK13;C:\JDK13\BIN;C:\NOTES;C:\JDK13\JRE\BIN;C:\JAVASOFT\
JRE\BIN;

 Put the JRE in your path and restart Tomcat.
 This may or may not help you specifically, but it can't really hurt to try.

 On Mon, 30 Jul 2001 08:14:08 -0400, [EMAIL PROTECTED] wrote:
   Help! I'm having problems installing Tomcat 4 on a WinNT 4 machine.
 
   I dloaded the binary code and added my JAVA_HOME (to JRE 1.3.1) and
   TOMCAT_HOME paths. I have c:\jdk1.3.1\lib\tools.jar appended to my
   CLASSPATH. When I type http://localhost:8080;, I get the Tomcat default
   page. When I try to execute a JSP, I get the following error:
   A Servlet Exception Has Occurred
   Exception Report:
   javax.servlet.ServletException: sun/tools/javac/Main
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:464)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 
 
 
   What am I doing wrong? I am not a system administrator, so please be
   patient. I just want to install Tomcat so I can install Cocoon2 and do

 some

   XML programming. Help!

 ___
 Send a cool gift with your E-Card
 http://www.bluemountain.com/giftcenter/

-- 
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers