Right,

The DOCTYPE tag was the problem. I still cannot run JBoss+Tomcat out of the 
box though.

I started from a clean room environment, i.e. did not have anything and 
installed JRE 1.3 from Sun and unziped JBoss_tomcat.

Installation of JRE 1.3 does not set the JAVA_HOME environment variable, 
which is used in jboss' run.bat . As a result, tools.jar is not included in 
the CLASSPATH and I have a NoClassDefFound exception thrown when I try to 
run a jsp.

Having solved this problem, I get another one when trying the 
/admin/contextAdmin/contextAdmin.jsp deployed from tomcat's admin.war (exact 
error displayed below). Has anybody come accross that? (Keep in mind I think 
Tomcat's root.war deploys in a funny way and I will have to look into it... 
just in case that is what triggers the problem.)

Error: 500
Location: /admin/contextAdmin/contextAdmin.jsp
Internal Servlet Error:

javax.servlet.ServletException
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
        at 
contextAdmin._0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0._jspService(_0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0.java:192)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        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(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:799)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Unknown Source)

Root cause:
java.lang.NullPointerException
        at ContextAdmin.init(ContextAdmin.java:46)
        at 
contextAdmin._0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0._jspService(_0002fcontextAdmin_0002fcontextAdmin_0002ejspcontextAdmin_jsp_0.java:112)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        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(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:799)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Unknown Source)



>From: Scot Bellamy <[EMAIL PROTECTED]>
>
>1.  The deployer was not working when the DOCTYPE tag was specified.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to