jboss3[CVS]-jetty integration problems
xmart Sep 16, 2001 1:55 PMI'm trying to integrate jboss 3.0 (from CVS) with jetty. After dealing with differences in configuration, I almost make it work except for JSP.
First jetty not found javac, but after adding 'tools.jar' in jboss-service.xml's classpath tag that's ok. After that when I call a jsp page jetty throws an exception about no founding javax.servlet.* package.
The jar file is correctly included in jboss-service.xml and jboss seams to load library ok:
[Default] Libraries adding URLClassLoader -519713112 URL file:/data/xavi/jboss-3.0.0alpha/lib/ext/javax.servlet.jar
Well, I've got no clue about how to solve this, any comment would be appreciated...
Thanks
Xavi.
-----------------------------------------------------------------------------------------------------------------------------
[Default] Libraries adding URLClassLoader -519713112 URL file:/data/xavi/jboss-3.0.0alpha/lib/ext/javax.servlet.jar
[Jetty] Servlet Exception for /demo/jsp/hello.jsp
org.apache.jasper.JasperException: JASPER: No se puede compilar la clase para JSP/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:3: Package javax.servlet not found in import.
import javax.servlet.*;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:4: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:5: Package javax.servlet.jsp not found in import.
import javax.servlet.jsp.*;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:6: Package javax.servlet.jsp.tagext not found in import.
import javax.servlet.jsp.tagext.*;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:12: Package org.apache.jasper.runtime not found in import.
import org.apache.jasper.runtime.*;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:14: Class org.apache.jasper.JasperException not found in import.
import org.apache.jasper.JasperException;
^
/tmp/JettyContext40375.tmp/_0002fjsp_0002fhello_0002ejsphello_jsp_0.java:17: Superclass jsp.HttpJspBase of class jsp._0002fjsp_0002fhello_0002ejsphello_jsp_0 not found.
public class _0002fjsp_0002fhello_0002ejsphello_jsp_0 extends HttpJspBase {
^
7 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:249)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:448)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:419)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:151)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:163)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:307)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:488)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1027)
at org.mortbay.http.HandlerContext.handle(HandlerContext.java:982)
at org.mortbay.http.HttpServer.service(HttpServer.java:674)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:732)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:889)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:746)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:146)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
at org.mortbay.util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
at java.lang.Thread.run(Thread.java:484)
getRootCause():