Hello:

Has anyone seen this problem????

Thanks,
        Neil.

--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases


Hello:

I am trying to set-up Tomcat 3.2.1 as a standalone servlet container
for virtual hosts.

I downloaded the tomcat 3.2.1 binary distribution, dearchived it,
and then made these modifications to server.xml:

1. Changed the HttpContentHandler to port 80 so that it
        would repond to normal web requests.
2. In the ContextManager section, I added these lines:
        <Host name="xxx.xxx.xxx.xxx" >
            <Context path=""
                debug="1"
                docbase="webapps/host1" />
        </Host>

After starting tomcat, I tried to visit http://xxx.xxx.xxx.xxx
and I got this error message:
Error: 500

Location: /

Internal Servlet Error:

java.lang.NullPointerException
        at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289)
        at
org.apache.tomcat.core.Context.getAbsolutePath(Context.java:257)
        at org.apache.tomcat.core.Context.getRealPath(Context.java:791)
        at
org.apache.tomcat.request.StaticInterceptor.requestMap(StaticInterceptor.java:191)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:820)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:771)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:498)


Any ideas what is causing this?

Thanks,
        Neil.

--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases



Reply via email to