Hi I just wonder would you please tell me how I should configure the Manager App. There is no any problem of using Manager App when Tomcat is running as a stand alone server. But when I run it behind Apache and using MOD_WEBAPP as connnector. I got some inner problem. These are the error messages when I run the Manager App.
java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:836) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:518) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand ler.java:215) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19 4) at java.lang.Thread.run(Thread.java:484) Many thanks for any help you can give. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 1:32 PM To: Tomcat Users List Subject: RE: getting init params without restarting tomcat 4.0.1 I know about the Manager App. You're correct in saying that you can reload particular webapps. I use it fairly frequently. However, this only reloads class files, and not web.xml, at least from what I've seen thus far. Are you saying that when you reload a webapp, it also reloads the web.xml file? In order for changes made in web.xml to be picked up, I have to restart Tomcat. I am looking for a way around restarting Tomcat, and still getting changes that were made to the initial paramaters I've declared within web.xml. "Charles N. Harvey III" To: Tomcat Users List <[EMAIL PROTECTED]> <charlieh cc: @alloy.com> Subject: RE: getting init params without restarting tomcat 4.0.1 01/30/2002 02:45 PM Please respond to Tomcat Users List If you check out the Manager App you will see that you can "reload" particular apps by name. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html It works. I've used it. On windows it is just a blank screen that you send url commands to. But under a unix environ you get a nice looking screen with the list of names of apps and commands to perform. And I am quite certain that a really nice shell is being worked on for a future release. Charlie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: getting init params without restarting tomcat 4.0.1 Here is my situation. I've inherited a bunch of servlets that used to be deployed under JWS. We are transitioning to Tomcat 4.0.1 on a Linux platform. Tomcat is run at the root level, where I do not have (and should not have) access. Many of my servlets, make use of initial parameters, which to my understanding are placed in the local web.xml. Unfortunately when changes are made to web.xml files, they are not recognized until Tomcat is restarted. This means, I must bug the system administrator to restart Tomcat, and for that matter Apache, which Tomcat runs under. Besides, restarting web servers is not an ideal sort of situation anyway. Is there another way around this? I've been researching, because it seems like this would be a fairly common issue, but to date have found nothing to help me. Have I completely missed some important documentation or some basic servlet concept? Thank you in advance for any help you can give. [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]> -- 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]>