Re: Manager App in 4.0
Hi, I was looking thru the archives and see your suggestion below. I am also using Apache/Tomcat. I added your configuration to my server.xml file. Now I get the following exception in the apache_log file when starting up Apache to install the web applications: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Did you ever get this ? Thanks, Charlie On Thursday 14 March 2002 02:25 am, you wrote: Scott Shorter a écrit : I would speculate that that was a typo for $CATALINA_HOME/conf/tomcat-users.xml - Scott -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:00 PM To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 thank you for the quick response. yes, i did change the default port to 8100. I made the change and restarted but i still get same thing: 404 Page Not Found Any other suggestions? My file is called tomcat-users.xml should it be conf.tomcat-users.xml? thanks again. -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:25 PM To: Tomcat Users List Subject: Re: Manager App in 4.0 go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- 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] I paste the answer i did to somebody else. It is for the Tomcat_Apache Engine, but it works the same for the Tomcat_Standalone part. It had been such a mess all around it ! I give yu my code: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8025 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache appBase=webapps defaulthost=MyServer.com DefaultContext reloadable=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=Logs prefix=local_access_log. suffix=.txt pattern=common / !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / Host name=MyServer.com debug=10 appBase=webapps unpackWARs=true !-- Tomcat Manager Context -- Context path=/manager docBase=manager privileged=true/ /Host /Engine /Service The best way is via the manager facilities. To do so yu DO have to declare the Host, like in the code below, so that it is available thru the warp connector via: WebAppDeploy manager conn /manager/ Hope this help. Jean-Luc B :O) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Manager App in 4.0
Scott Shorter a écrit : I would speculate that that was a typo for $CATALINA_HOME/conf/tomcat-users.xml - Scott -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:00 PM To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 thank you for the quick response. yes, i did change the default port to 8100. I made the change and restarted but i still get same thing: 404 Page Not Found Any other suggestions? My file is called tomcat-users.xml should it be conf.tomcat-users.xml? thanks again. -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:25 PM To: Tomcat Users List Subject: Re: Manager App in 4.0 go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- 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] I paste the answer i did to somebody else. It is for the Tomcat_Apache Engine, but it works the same for the Tomcat_Standalone part. It had been such a mess all around it ! I give yu my code: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8025 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache appBase=webapps defaulthost=MyServer.com DefaultContext reloadable=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=Logs prefix=local_access_log. suffix=.txt pattern=common / !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / Host name=MyServer.com debug=10 appBase=webapps unpackWARs=true !-- Tomcat Manager Context -- Context path=/manager docBase=manager privileged=true/ /Host /Engine /Service The best way is via the manager facilities. To do so yu DO have to declare the Host, like in the code below, so that it is available thru the warp connector via: WebAppDeploy manager conn /manager/ Hope this help. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
Title: RE: Manager App in 4.0 still struggling to get the manager working. have followed all suggestions, don't get 404 any more but now it just hangs when i try to access the manager http://jbrpc:8025/manager/list Can someone take a look @ my server.xml and tomcat-users.xml and see if there are any glaring mistakes? -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 2:26 AM To: Tomcat Users List Subject: Re: Manager App in 4.0 Scott Shorter a écrit : I would speculate that that was a typo for $CATALINA_HOME/conf/tomcat-users.xml - Scott -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:00 PM To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 thank you for the quick response. yes, i did change the default port to 8100. I made the change and restarted but i still get same thing: 404 Page Not Found Any other suggestions? My file is called tomcat-users.xml should it be conf.tomcat-users.xml? thanks again. -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:25 PM To: Tomcat Users List Subject: Re: Manager App in 4.0 go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- 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] I paste the answer i did to somebody else. It is for the Tomcat_Apache Engine, but it works the same for the Tomcat_Standalone part. It had been such a mess all around it ! I give yu my code: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8025 minProcessors=5 maxProcessors=75 enableLookups=true appBase=webapps acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache appBase=webapps defaulthost=MyServer.com DefaultContext reloadable=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=Logs prefix=local_access_log. suffix=.txt pattern=common / !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / Host name=MyServer.com debug=10 appBase=webapps unpackWARs=true !-- Tomcat Manager Context -- Context path=/manager docBase=manager privileged=true/ /Host /Engine /Service The best way is via the manager facilities. To do so yu DO have to declare the Host, like in the code below, so that it is available thru the warp connector via: WebAppDeploy manager conn /manager/ Hope this help. Jean-Luc B :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] server.xml Description: Binary data tomcat-users.xml Description: Binary data -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
Not on that URL, buddy! That's your internal address. -Original Message- From: John Regan [ mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 17:29 To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 still struggling to get the manager working. have followed all suggestions, don't get 404 any more but now it just hangs when i try to access the manager http://jbrpc:8025/manager/list Can someone take a look @ my server.xml and tomcat-users.xml and see if there are any glaring mistakes? *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
It works right out of the box. Install Tomcat and just modify tomcat-users.xml and then start Tomcat. Try http://localhost:8080/manager/list and it will work. you can also replace localhost with the name of your computer in the network. You can then change the port and other stuff later. What is your platform and version of Tomcat? -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
thanks. somewhere along the line i must have screwed up my server.xml. works fine now. NT and 4.0. thanks again -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 11:24 AM To: Tomcat Users List Subject: RE: Manager App in 4.0 It works right out of the box. Install Tomcat and just modify tomcat-users.xml and then start Tomcat. Try http://localhost:8080/manager/list and it will work. you can also replace localhost with the name of your computer in the network. You can then change the port and other stuff later. What is your platform and version of Tomcat? -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Manager App in 4.0
I have been running an application in 4.0 for several months and want to use the manager application. I can't seem to get to the manager application. When i try a simple command like: http://localhost:8100/manager/list I get 404 page not found. Does anybody have any suggestions? Under the manager folder there is only a web.xml file, is that right? Thanks in advance for any help!
Re: Manager App in 4.0
go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
thank you for the quick response. yes, i did change the default port to 8100. I made the change and restarted but i still get same thing: 404 Page Not Found Any other suggestions? My file is called tomcat-users.xml should it be conf.tomcat-users.xml? thanks again. -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:25 PM To: Tomcat Users List Subject: Re: Manager App in 4.0 go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Manager App in 4.0
I would speculate that that was a typo for $CATALINA_HOME/conf/tomcat-users.xml - Scott -Original Message- From: John Regan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:00 PM To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 thank you for the quick response. yes, i did change the default port to 8100. I made the change and restarted but i still get same thing: 404 Page Not Found Any other suggestions? My file is called tomcat-users.xml should it be conf.tomcat-users.xml? thanks again. -Original Message- From: Ashutosh Aman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:25 PM To: Tomcat Users List Subject: Re: Manager App in 4.0 go to $CATALINE_HOME/conf.tomcat-users.xml file where CATALINA_HOME is the directory where you have installed Tomcat. Add one line user name=Me myself password=and Tomcat roles=manager / or you can insert the role manager in one of the existing role. shutdown and start Tomcat and then http://localhost:8100/manager/list I see you are using port 8100. Default is 8080 unless you have changed it. Good luck Aman -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -- 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]