You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Winer, Matthew" <Ma...@medec.com> on 2001/06/11 20:11:34 UTC
Tomcat as a service.
I have Tomcat running as a service successfully however I have one issue.
When I run it as a service I am able to access:
http://localhost/examples/jsp and everything in there. However when I try
to access http://localhost/uwi/com.ups.uoi.servlets.LoginServlet I get:
Error 500:
Location: /uwi/com.ups.uoi.servlets.LoginServlet
Internal Servlet Error:
java.util.MissingResourceException: Can't find bundle for base name
UtilBundle, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:7
12)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
at com.ups.uoi.core.Util.(Util.java:16)
at com.ups.uoi.UoiServletFrame.(UoiServletFrame.java:37)
at com.ups.uoi.servlets.LoginServlet.(LoginServlet.java:35)
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:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
If I run tomcat manually (start it by hand) then this works. I added:
/uwi/servlet/*=ajp12
/uwi/*.jsp=ajp12
/uwi/*=ajp12
to my uriworkermap.properties. I don't know why it works this way, I mean I
thought the only difference was the wrapper.properties file which has
nothing to do with the workers and contexts.
Thank you
-Matt Winer