sorry, post the answer to the wrong thread. -----Original Message----- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:51 AM To: Tomcat Users List Subject: RE: Manager options...
look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml file there that explains how to setup timeouts in your webapp. Just copy and paste into your webapp's web.xml. Remember the tag ordering is crucial in xml. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET Sent: Wednesday, February 20, 2002 10:22 AM To: Tomcat Users List Subject: Re: Manager options... Yoav Shapira a écrit : > Hi, > Sorry to bump in late in the thread, maybe this was already raised, > but in your server.xml, did you specify the privileged="true" > attribute for the Manager context? > > Yoav > > > If i enter http://myserver/managerstuff/list > > > > it then ask for login/password - OK > > > > and then generates an exeption below: > > > > javax.servlet.ServletException: Error allocating a servlet instance > > at > > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619) > > ../.. > > ----- Root Cause ----- > > java.lang.SecurityException: Servlet of class > > org.apache.catalina.servlets.ManagerServlet is privileged and cannot be > > loaded by this web application > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> Yes i did. The manager context seems to work fine on the standalone Tomcat ( ie for me port 8080 ) but fails with Apache through mod_webapp on port 80.... Sure the privileged="true" is set, as it appears in the eeption raised... Well i don't know what to do more.. JLB :0( -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>