You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Angel Cabello <ac...@masterd.es> on 2000/05/19 18:34:08 UTC
Problems starting Tomcat 3.1 with Kaffe.
Hello :
My developer machine is a RedHat 6.0, and I can use Tomcat without
problems, using JDK 1.1.8
but my production envirotment is RedHat 5.2, I have a lot of thigs in
that machine and I want to avoid upgrating this machine. I can't install
any JVM but Kaffe 1.0.5 in that machine, is a hell machine.
It seems to works right, but when I try to run a jsp, I get that message
when tomcat tries to compile the source.
[root@intranet bin]# Unhandled error! You might want to consider
having
an error page to report such errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:314)
Can anyone tell me what's up?
It can be usefull information.
[root@intranet bin]# java -version
Kaffe Virtual Machine
Copyright (c) 1996-1999
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.5 Java Version: 1.1
[root@intranet bin]# javac -version
KOPI Java Compiler Version: 1.3C
By the way, I try to send a binary file as a response to a post form, in
CGI I put a extrange mime type as x-download/my-type and send the file
to standar output. I have tried to do the same, but I don't know how I
can send the binary with the jsp page. Where can I get the answer?
Thanks
Angel Cabello
Saludos desde España.
Odp: Problems starting Tomcat 3.1 with Kaffe.
Posted by Aleksander Grzebyta <ol...@talex.com.pl>.
The class sun.tools.javac.Main was not found. It is in classes.zip in JDK
1.1 and in tools.jar in JDK 1.2 if JDK is from Sun. Jasper must use Java
version of Java compier to compile JSP page to servlet class.
sincerely Olek
----- Original Message -----
From: Angel Cabello <ac...@masterd.es>
To: Lista usuarios tomcat <to...@jakarta.apache.org>
Sent: Friday, May 19, 2000 6:34 PM
Subject: Problems starting Tomcat 3.1 with Kaffe.
Hello :
My developer machine is a RedHat 6.0, and I can use Tomcat without
problems, using JDK 1.1.8
but my production envirotment is RedHat 5.2, I have a lot of thigs in
that machine and I want to avoid upgrating this machine. I can't install
any JVM but Kaffe 1.0.5 in that machine, is a hell machine.
It seems to works right, but when I try to run a jsp, I get that message
when tomcat tries to compile the source.
[root@intranet bin]# Unhandled error! You might want to consider
having
an error page to report such errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:314)
Can anyone tell me what's up?
It can be usefull information.
[root@intranet bin]# java -version
Kaffe Virtual Machine
Copyright (c) 1996-1999
Transvirtual Technologies, Inc. All rights reserved
Engine: Just-in-time v3 Version: 1.0.5 Java Version: 1.1
[root@intranet bin]# javac -version
KOPI Java Compiler Version: 1.3C
By the way, I try to send a binary file as a response to a post form, in
CGI I put a extrange mime type as x-download/my-type and send the file
to standar output. I have tried to do the same, but I don't know how I
can send the binary with the jsp page. Where can I get the answer?
Thanks
Angel Cabello
Saludos desde España.