Tomcat on IRIX6.5

2001-11-27 Thread Mouneer M Rabie

hi all:

I ran Tomcat on IRIX 6.5 , the servlets work fine ..but any request for a
JSP page produce a Java Exception:

Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal Servlet Error:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
at org.apache.jasper.compiler.SunJavaCompiler.compile(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484, Compiled Code)

What could be the reason?
thanks
Mouneer



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: STARTING TOMCAT: JAVA_HOME ERROR

2001-11-27 Thread Mouneer M Rabie

make sure your env variable  named

JAVA_HOME={your installation directory}  exmp  /usr/java on UNIX
exmp
c:\jdk1.3  on windows

make sure the env variable is set for the system in windows 2000
if you are using win95 or 98 then you should check the env var is set using
the command  echo $JAVA_HOME$
in DOS shell. use the set JAVA_HOME=={your installation directory}   in the
autoexec.bat

hope this will work..
plz mention what OS you are using


- Original Message -
From: Daliso Zuze [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 4:58 PM
Subject: STARTING TOMCAT: JAVA_HOME ERROR


 Hello all,

 I have a small problem starting up tomcat 4.0.1. I followed the
 instructions for installing the jdk, and I extracted tomcat to a
 directory. Then as required, I set environment variables for JAVA_HOME
 and CATALINA_HOME. When it comes to starting up tomcat the following
 message is displayed:

 Must set java_home to point to the jdk installation directory (or
 something like that)

 If anyone could help me out, I'd really appreciate it.

 Thanks,

 Daliso

 Daliso Zuze
 University of Namibia
 +264 81 248 4931








 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat on IRIX6.5

2001-11-27 Thread Mouneer M Rabie

thanks guys!
it works...
only after  running my own shell script which contained only one line :

java -cp ../lib/tomcat.jar:../lib/tools.jar org.apache.tomcat.startup.Main
start

that's it ..

thanks again

Mouneer M

- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 3:47 PM
Subject: RE: Tomcat on IRIX6.5


 The solution below appears to be for Tomcat 3.2.x.
 However, the stacktrace indicates Tomcat 3.3.

 The tomcat.sh script sets your CLASSPATH to contain just
 tomcat.jar.  Tomcat internally tries to add tools.jar,
 which contains the missing class, using the java.home
 system property.

 The simplest way to cause this error is to use a JRE
 (which doesn't include a tools.jar), instead of a JDK.
 Another way is was discovered by David Morsberger, who
 found that using a link in the JAVA_HOME path caused
 problems.

 Hope this helps,

 Cheers,
 Larry

  -Original Message-
  From: Marius Matei [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, November 27, 2001 5:54 AM
  To: Tomcat Users List
  Subject: Re: Tomcat on IRIX6.5
 
 
  One possible solution could be this :
 
  You must put the archive tools.jar in $TOMCAT_HOME/lib and set your
  CLASSPATH=$TOMCAT_HOME/lib/tools.jar.
  You'll find this archive in your JDK distribution.
 
  Hope this will be useful for you.
 
 
  - Original Message -
  From: Mouneer M Rabie [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, November 27, 2001 11:34 AM
  Subject: Tomcat on IRIX6.5
 
 
   hi all:
  
   I ran Tomcat on IRIX 6.5 , the servlets work fine ..but any
  request for a
   JSP page produce a Java Exception:
  
   Error: 500
   Location: /examples/jsp/num/numguess.jsp
   Internal Servlet Error:
  
   java.lang.NoClassDefFoundError: sun/tools/javac/Main
   at
  org.apache.jasper.compiler.SunJavaCompiler.compile(Unknown Source)
   at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
   at
  org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
   at
  org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
   at
  org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
   at
  org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
   at org.apache.tomcat.core.ContextManager.service(Unknown Source)
   at
  
  org.apache.tomcat.modules.server.Http10Interceptor.processConn
  ection(Unknown
   Source)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
   at
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
   Source)
   at java.lang.Thread.run(Thread.java:484, Compiled Code)
  
   What could be the reason?
   thanks
   Mouneer
  
  
  
   --
   To unsubscribe:
  mailto:[EMAIL PROTECTED]
   For additional commands:
  mailto:[EMAIL PROTECTED]
   Troubles with the list:
  mailto:[EMAIL PROTECTED]
  
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]