Re: .jsp error after install

2001-01-03 Thread Derek Mc Connon

where abouts do you set up the Java Home variable


- Original Message -
From: Randy Layman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 03, 2001 6:27 AM
Subject: RE: .jsp error after install



 You didn't set JAVA_HOME to include the jdk.

 Randy

 -Original Message-
 From: Gary Lyons [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 03, 2001 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: .jsp error after install


 Hi,

 I just installed tomcat3.2.1 on Solaris 8 on a SPARC Ultra. The install
 went well and after starting the stand alone server I tried to run the
 exaples included with the distribution from the
 http://myhost:8080/examples/jsp/index.html page. The servlet examples
 ran well but the .jsp examples all return the error below. I have poured

 through my conf files and can't find anything obvious. Any help
 appreciated.

 Gary Lyons

 Error: 500

 Location: /examples/jsp/num/numguess.jsp

 Internal Servlet Error:

 javax.servlet.ServletException: sun/tools/javac/Main
 at java.lang.Throwable.fillInStackTrace(Native Method)
 at java.lang.Throwable.fillInStackTrace(Compiled Code)
 at java.lang.Throwable.(Compiled Code)
 at java.lang.Exception.(Compiled Code)
 at javax.servlet.ServletException.(ServletException.java:161)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at
 org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
 led

 Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
 Code)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)

 Root cause:

 java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at

org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)

 at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
 at
 org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
 at
 org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)

 at
 org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
 rvlet.java:152)

 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:164)

 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)

 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at
 org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
 led

 Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
 Code)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: .jsp error after install

2001-01-03 Thread Michael Wentzel

the script files in TOMCAT_HOME/bin/ setup all of your
environment params.

 where abouts do you set up the Java Home variable
 


--
Michael Wentzel
Software Developer
Software As We Think

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: .jsp error after install

2001-01-03 Thread Randy Layman


In your environment before you launch the shell script, or add it to
the shell script explicitly.

On NT this would be:
set JAVA_HOME=c:\jdk1.2
tomcat start

On UNIX under a bash shell (I believe, its been a while):
export JAVA_HOME=/usr/local/jdk1.2
tomcat start

Randy

-Original Message-
From: Derek Mc Connon [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 03, 2022 8:33 PM
To: [EMAIL PROTECTED]
Subject: Re: .jsp error after install


where abouts do you set up the Java Home variable


- Original Message -
From: Randy Layman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 03, 2001 6:27 AM
Subject: RE: .jsp error after install



 You didn't set JAVA_HOME to include the jdk.

 Randy

 -Original Message-
 From: Gary Lyons [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 03, 2001 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: .jsp error after install


 Hi,

 I just installed tomcat3.2.1 on Solaris 8 on a SPARC Ultra. The install
 went well and after starting the stand alone server I tried to run the
 exaples included with the distribution from the
 http://myhost:8080/examples/jsp/index.html page. The servlet examples
 ran well but the .jsp examples all return the error below. I have poured

 through my conf files and can't find anything obvious. Any help
 appreciated.

 Gary Lyons

 Error: 500

 Location: /examples/jsp/num/numguess.jsp

 Internal Servlet Error:

 javax.servlet.ServletException: sun/tools/javac/Main
 at java.lang.Throwable.fillInStackTrace(Native Method)
 at java.lang.Throwable.fillInStackTrace(Compiled Code)
 at java.lang.Throwable.(Compiled Code)
 at java.lang.Exception.(Compiled Code)
 at javax.servlet.ServletException.(ServletException.java:161)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at
 org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
 led

 Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
 Code)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)

 Root cause:

 java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at

org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)

 at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
 at
 org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
 at
 org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)

 at
 org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
 rvlet.java:152)

 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:164)

 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)

 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at
 org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
 led

 Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
 Code)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]