tomcat5.5 and ubuntu hardy heron
I've installed tomcat 5.5 on ubuntu hardy heron. If I go to localhost:8180 I get the welcome screen. I can then click on Tomcat Administration on the left and go to the admin page and get in using the default user/password. However if I click on Tomcat Manager I get: HTTP Status 403 - Access to the requested resource has been denied type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Apache Tomcat/5.5 I have also added these to lines to /etc/tomcat5.5/tomcat-users.xml: role rolename=manager description=this is the manager/ user username=bob password=tomcat fullName=bob roles=manager/ In usr/share/tomcat5.5-webapps I don't see a manager subdirectory. I installed tomcat5.5 with the synaptic package manager. Why can't I get to a manager web page? A second question. I copied the sample.war file into usr/share/tomcat5.5-webapps. I read that if I go to localhost:8180/sample that sample.war would be unpacked, but it is not. I get HTTP Status 404 - /sample. I did restart tomcat and apache2. What am I doing wrong? thanks, William -- View this message in context: http://www.nabble.com/tomcat5.5-and-ubuntu-hardy-heron-tp19575202p19575202.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.5 and ubuntu hardy heron
John5342 wrote: I use fedora rather than ubuntu myself so the details may differ but the manager webapp may well be in a seperate package that may not be installed with tomcat automatically. Try looking in synaptic for that. In fedora its in tomcatversion-admin-webapps. The automatic deployment of wars depends on you setting autoDeploy to true which can be done in server.xml. Check the tomcat documentation for how to do that. Hope it helps. John5342 Synaptic only shows: tomcat5.5-admin tomcat5.5-webapps and both are installed. I edited /etc/tomcat5.5/server.xml and added this line: autoDeploy=true int the host/host section. I then restarted tomcat and apache2 and tried going to localhost:8180/sample. Still getting a 404 error. thanks, William -- View this message in context: http://www.nabble.com/tomcat5.5-and-ubuntu-hardy-heron-tp19575202p19577095.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.5 and ubuntu hardy heron
awarnier wrote: Quickly, before the official tomcat brigade arrives : try dropping your war file in /var/lib/tomcat5.5/webapps instead. I don't know yet why that is exactly, but I'm working on it ;-) The packagers of Tomcat 5.5 for various Linux distributions seem to have done a good job at spreading Tomcat and webapps all over the place, and covering up their tracks with a zillion clever symlinks. They probably had their reasons, but it makes it quite difficult to figure out what is happening. An alternative is to wait a couple more hours, until the first suggestion to de-install your Tomcat package and install the Tomcat from the official Tomcat site arrives. That worked. I moved sample.war to /var/lib/tomcat5.5/webapps and now localhost:8180/sample takes me to a valid page: Sample Hello, World Application and I see that the sample subdirectory has been unpacked there. I also was starting to not like tomcat because of all of the symlinks and lack of valid documentation (for ubuntu). I still have the problem of not knowing why the manager webapp isn't in the ubuntu installation. thanks, William -- View this message in context: http://www.nabble.com/tomcat5.5-and-ubuntu-hardy-heron-tp19575202p19579580.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]