tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nic Ferrier <>
Subject using extension mapping with 3.2.3
Date Sun, 14 Oct 2001 18:38:25 GMT
Hi people...

I'm getting pretty frustrated with Tomcat and path mappings.

I'm using 3.2.3 (client requirement - sorry) and I've had several
problems most of which I've managed to work round in one way or

However, I've got a problem with extension mapping that I just can't
get to the bottom of. 

I've got a webapp mapped to "/colman". The webapp is just some
servlets and JSPs. Nothing particulary complicated except that the
default mapping (/*) is mapped to a webapp servlet instead of being
left to tomcat (this is to fix tomcat's welcome file -> servlet
dispatch problem).

Here's my web.xml extract:




So call the servlet from a browser with the path:


should work right? Not with tomcat... I get the following:

  2001-10-14 18:19:26 - Ctx( /colman ): 
	   Exception in: R( /colman +  + /new.upload) 
	      - java.lang.NullPointerException
  at perception.colman.ColServer.doGet(
  at javax.servlet.http.HttpServlet.service(
  at javax.servlet.http.HttpServlet.service(
  at org.apache.tomcat.core.ServletWrapper.doService(
  at org.apache.tomcat.core.Handler.service(
  at org.apache.tomcat.core.ServletWrapper.service(
  at org.apache.tomcat.core.ContextManager.internalService(
  at org.apache.tomcat.core.ContextManager.service(
  at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
  at org.apache.tomcat.service.TcpWorkerThread.runIt(
  at org.apache.tomcat.util.ThreadPool$

It looks to me like Tomcat is just broken... but then I can't really
believe that...

Anyone got an idea?

Nic Ferrier

View raw message