Re: tomcat5.5 and ubuntu hardy heron
wwuster wrote: In usr/share/tomcat5.5-webapps I don't see a manager subdirectory. You need the tomcat5.5-admin package. Cheers, Marcus - 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
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 2008/9/19 wwuster [EMAIL PROTECTED] 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
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. wwuster wrote: 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 - 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]
Re: tomcat5.5 and ubuntu hardy heron
On Fri, Sep 19, 2008 at 10:41 PM, André Warnier [EMAIL PROTECTED] wrote: 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. actually, that would be my suggestion. however, I would not recommend to *purtge* the ubunto-tomcat-installation but manually delete it except for the scripts in /etc/init.d: just download tomcat fro tomcat.apache org, install it into a directory of your choice and adapt the /etc/init.d - script, and you're fine. hth gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - 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
From: wwuster [mailto:[EMAIL PROTECTED] Subject: Re: tomcat5.5 and ubuntu hardy heron I also was starting to not like tomcat because of all of the symlinks and lack of valid documentation (for ubuntu). Further evidence to support running away from the 3rd-party repackaged versions and instead installing a real Tomcat from tomcat.apache.org. Besides actually operating the way it was intended, you'll also get a more current version, the documentation will match, and you'll get the manager app. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]