tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyril Bouteille <CyrilBoutei...@yahoo.com>
Subject starting tomcat with a different context home
Date Wed, 08 Nov 2000 17:48:17 GMT
Hi,

I'm trying to setup tomcat to use a separate context home and webapp
directory but I run into 2 problems:
[1] Error: 500 Internal Servlet Error: java.lang.NullPointerException
when trying to access files in the context
[2] XmlMapper: Can't find method addTaglib in Ctx errors because of
<env-entry> in my web.xml file

Here's the output:
Setting environment for Hotwire 2.0:
        Java 1.3
        Apache 1.3.14
        Tomcat 3.1
        Ant 1.2
        WebLogic 5.1 (SP 6)
Searching for build.xml ...
Buildfile: /home/cyril/p4/hotwire/2.0/build/build.xml
tomcat:
Copying 1 files to /home/cyril/p4/hotwire/2.0/deploy/dev/tomcat/conf
Copying 1 files to /home/cyril/p4/hotwire/2.0/webapp/WEB-INF
Setting home to /home/cyril/p4/hotwire/2.0/deploy/dev/tomcat
Starting tomcat. Check logs/tomcat.log for error messages 
No webapps/ directory
/home/cyril/p4/hotwire/2.0/deploy/dev/tomcat/webapps
XmlMapper: Can't find method addTaglib in
Ctx(,/home/cyril/p4/hotwire/2.0/webapp) CLASS class
org.apache.tomcat.core.Context
XmlMapper: Can't find method addTaglib in
Ctx(,/home/cyril/p4/hotwire/2.0/webapp) CLASS class
org.apache.tomcat.core.Context
XmlMapper: Can't find method addTaglib in
Ctx(,/home/cyril/p4/hotwire/2.0/webapp) CLASS class
org.apache.tomcat.core.Context
XmlMapper: Can't find method addTaglib in
Ctx(,/home/cyril/p4/hotwire/2.0/webapp) CLASS class
org.apache.tomcat.core.Context

The URL requested displays:
Error: 500
Location: /jsp/index.jsp
Internal Servlet Error:
java.lang.NullPointerException
        at
org.apache.tomcat.request.SimpleMapper.getPathMatch(SimpleMapper.java:352)
        at
org.apache.tomcat.request.SimpleMapper.findContainer(SimpleMapper.java:239)
        at
org.apache.tomcat.request.SimpleMapper.requestMap(SimpleMapper.java:188)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:594)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:552)
        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:484)

My server.xml and web.xml conf file are attached.

Any help would be appreciated! :)

Thanks,
--
 Cyril Bouteille - Senior J2EE Software Engineer 
 Hotwire - San Francisco, California
 http://www.hotwire.com
Mime
View raw message