You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gabe Mahoney <ma...@pacbell.net> on 2001/04/01 23:16:59 UTC

Beginner question - revised

Hey all, I sent a mail earlier about having trouble with configuring tomcat
to handle extension types other than .jsp. The problem is not exactly as I
thought. I have modified web.xml so that type .rt is now handled by tomcat.
My .rt file is just a jsp page with a different extension. I get the error
below whenever I access a .rt file in my context, whether the .rt file
exists or not! Which seems really weird to me...Thoughts?

Error: 500
Location: /djmalloc/foo.rt
Internal Servlet Error:

java.lang.InstantiationException: malloc.servlet.PageGetter
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:237)
 at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:268)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
 at org.apache.tomcat.core.Handler.service(Handler.java:254)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.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:484)