RE: installing the admin on 5.5
I had similar difficulty setting up the admin package. My issue was that I was starting tomcat as user tomcat, but after unzipping the admin files were owned by root. Once I did chown -R tomcat:tomcat CATALINA_HOME/server/webapps/admin/ I was able to login to the admin (after clearing the browser cache). Fran Varin wrote: Thanks for all of your help...it is much appreciated! It just goes to show you that you can get too close to a problem and not consider possible causes that seem somewhat abstract. You're comments about the browser cache are most reasonable. It could very well be the case. Thanks again, Fran Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 So, it appears that the issue has been resolved but, I must admit I'm uncomfortable with the resolution, specifically in not knowing what actually addressed the issue. I have seen problems with the admin not installed page being displayed because the browser insists on using its cached copy rather than actually submitting a new request. If that were the case here, the real error may have been fixed for some time, but masked by browser behavior. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a9389059 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: installing the admin on 5.5
Well...that worked but, I have no idea why. The directory structure looks exactly as it did before. I also started Tomcat from within Eclipse and tested, that worked as well. So, it appears that the issue has been resolved but, I must admit I'm uncomfortable with the resolution, specifically in not knowing what actually addressed the issue. Unfortunately, given its nature, the cause is likely to remain unknown, discounting some probable human error on my part. Fran Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 I ran Tomcat using the .bat and I experience the same issue. O.k., let's try the following: 1) Shut down any existing Tomcat instances. 2) If it exists, delete C:\apache-tomcat-5.5.20 and everything under it. 3) Download and install a fresh, clean copy of Tomcat using the .zip distribution into the default Tomcat directory - don't rename or move anything around. 4) Download and expand a fresh, clean copy of the admin.zip package into the default Tomcat directory structure. 5) Update C:\apache-tomcat-5.5.20\conf\tomcat-users.xml with a userid having an admin role. 6) From a command promptr, run the C:\apache-tomcat-5.5.20\bin\startup.bat script. 7) From a browser, try running the admin app: http://localhost:8080/admin If the above works, do a directory/file comparison between the clean install and your regular Tomcat one and see what the differences are. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8177502 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: installing the admin on 5.5
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 So, it appears that the issue has been resolved but, I must admit I'm uncomfortable with the resolution, specifically in not knowing what actually addressed the issue. I have seen problems with the admin not installed page being displayed because the browser insists on using its cached copy rather than actually submitting a new request. If that were the case here, the real error may have been fixed for some time, but masked by browser behavior. - 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]
RE: installing the admin on 5.5
Thanks for all of your help...it is much appreciated! It just goes to show you that you can get too close to a problem and not consider possible causes that seem somewhat abstract. You're comments about the browser cache are most reasonable. It could very well be the case. Thanks again, Fran Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 So, it appears that the issue has been resolved but, I must admit I'm uncomfortable with the resolution, specifically in not knowing what actually addressed the issue. I have seen problems with the admin not installed page being displayed because the browser insists on using its cached copy rather than actually submitting a new request. If that were the case here, the real error may have been fixed for some time, but masked by browser behavior. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8182495 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: installing the admin on 5.5
I ran Tomcat using the .bat and I experience the same issue. Yes, it is the version that I believe it to be as the version number is reported in the manager console and I'm not running a distro of Eclipse that bundles any server. Fran Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 Hi, thanks for responding...I'll address your questions based on my original step numbers: The one you didn't answer is this: What happens if you start Tomcat from a command prompt with bin\startup.bat, rather than indirectly, via Eclipse? Are you sure you're running the Tomcat you think you are, versus one that might be bundled with Eclipse? - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8158859 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: installing the admin on 5.5
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 I ran Tomcat using the .bat and I experience the same issue. O.k., let's try the following: 1) Shut down any existing Tomcat instances. 2) If it exists, delete C:\apache-tomcat-5.5.20 and everything under it. 3) Download and install a fresh, clean copy of Tomcat using the .zip distribution into the default Tomcat directory - don't rename or move anything around. 4) Download and expand a fresh, clean copy of the admin.zip package into the default Tomcat directory structure. 5) Update C:\apache-tomcat-5.5.20\conf\tomcat-users.xml with a userid having an admin role. 6) From a command promptr, run the C:\apache-tomcat-5.5.20\bin\startup.bat script. 7) From a browser, try running the admin app: http://localhost:8080/admin If the above works, do a directory/file comparison between the clean install and your regular Tomcat one and see what the differences are. - 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]
RE: installing the admin on 5.5
Hi, I've read through all of the post material I can find on this topic and still cannot seem to get the admin app deployed correctly. I have unzipped the content to the directories as described in this post. When I start tomcat and try to access the admin application I received the following Message in the browser: Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. Additionally, I do not see any reference to admin in the console log or when I view the server through the manager. At this point I'm at a bit of a loss...I don't see what I'm missing here. Is there some other configuration step that I have missed perhaps? Caldarale, Charles R wrote: From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: installing the admin on 5.5 I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. That's all you need to do - if you expand it into the standard Tomcat installation directory, like you're supposed to do. If you're using some 3rd-party repackaged Tomcat that scatters pieces of Tomcat all over, I'd strongly suggest throwing that in the junk pile and downloading and installing the real one. Then using the tomcat manager application deployed the files OK. Well, that's made a mess of things. You need to undeploy it from there, and just unzip properly. Don't forget to to update conf/tomcat-users.xml with an appropriate userid, password, and the admin role. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8141083 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: installing the admin on 5.5
Good Morning Fran /***obtain admin distro / download jakarta-tomcat-5.5.7-admin.zip from http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.7/bin/ to a $TEMP folder /*** get commons-modeler***/ http://jakarta.apache.org/site/downloads/downloads_commons-modeler.cgi and copy to $TEMP/admin/WEB-INF/lib /***create the war***/ cd admin jar -cvf admin.war ./*.* /deploy***/ http://localhost:8080/manager/html (go to bottom and browse and select warfile to deploy) Browse/Deploy admin.war Hope this helps.. Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Fran Varin [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, January 03, 2007 8:54 AM Subject: RE: installing the admin on 5.5 Hi, I've read through all of the post material I can find on this topic and still cannot seem to get the admin app deployed correctly. I have unzipped the content to the directories as described in this post. When I start tomcat and try to access the admin application I received the following Message in the browser: Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. Additionally, I do not see any reference to admin in the console log or when I view the server through the manager. At this point I'm at a bit of a loss...I don't see what I'm missing here. Is there some other configuration step that I have missed perhaps? Caldarale, Charles R wrote: From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: installing the admin on 5.5 I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. That's all you need to do - if you expand it into the standard Tomcat installation directory, like you're supposed to do. If you're using some 3rd-party repackaged Tomcat that scatters pieces of Tomcat all over, I'd strongly suggest throwing that in the junk pile and downloading and installing the real one. Then using the tomcat manager application deployed the files OK. Well, that's made a mess of things. You need to undeploy it from there, and just unzip properly. Don't forget to to update conf/tomcat-users.xml with an appropriate userid, password, and the admin role. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8141083 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: installing the admin on 5.5
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: installing the admin on 5.5 /***obtain admin distro / download jakarta-tomcat-5.5.7-admin.zip from http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.7/bin/ to a $TEMP folder Please use a current Tomcat level, not one that's two years old. Get the current one (5.5.20) from: http://tomcat.apache.org/download-55.cgi Note that prior to obtaining the admin app, you must install the core Tomcat from its .zip or .tar.gz download, not the .exe version, in order to get directory naming compatible with the admin app download. Do not unzip the admin app to a temp folder - unzip it directly to where you installed Tomcat. Note that the admin app expects to be deployed into $CATALINA_BASE/server/webapps, not $CATALINA_BASE/webapps in the 5.5 levels of Tomcat - that's why using the manager app to deploy admin isn't appropriate. /*** get commons-modeler***/ http://jakarta.apache.org/site/downloads/downloads_commons-modeler.cgi and copy to $TEMP/admin/WEB-INF/lib The above step is completely unnecessary for installing or running the admin app and should be skipped. The commons-modeler.jar is already in server/lib in the standard Tomcat distribution. /***create the war***/ cd admin jar -cvf admin.war ./*.* /deploy***/ http://localhost:8080/manager/html (go to bottom and browse and select warfile to deploy) Browse/Deploy admin.war Both of the above steps are unnecessary and will end up with admin deployed in the incorrect location. Also, the above will fail to put the correct admin.xml into conf/Catalina/localhost - it will be missing the privileged attribute in its Context element. - 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]
RE: installing the admin on 5.5
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 Hi, I've read through all of the post material I can find on this topic and still cannot seem to get the admin app deployed correctly. The usual problem is starting with the Windows .exe download of the Tomcat core rather than the .zip or .tar.gz version. The .exe download creates a directory structure not compatibile with the one that admin.zip expects. If you have already installed the .exe version of the Tomcat core and want to keep using it, you can copy the unzipped admin files to the proper locations with the following. If you unzipped admin into C:, it will have created a directory structure starting at C:\apache-tomcat-5.5.20; take everything under that location and drag/drop it into C:\Program Files\Apache Software Foundation\Tomcat 5.5 (that's where the .exe puts things by default). You'll get a couple of overwrite warnings, and it doesn't matter how you answer them as long as you don't click cancel. After that, all you need to do is update conf/tomcat-users.xml with an appropriate userid and admin role. - 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]
RE: installing the admin on 5.5
Here are the steps that I have taken: 1) Download the zip for Tomcat 5.5.20 2) Download the zip for Java SE 1.4 compatibility (5.5.20) 3) Download the zip for the Admin tool (5.5.20) 4) Unzip Tomcat to -- c:\CMA_Dev\Servers\Tomcat - Base directory renamed from apache-tomcat-5.5.20 to tomcat-5.5.20 5) Unzip and install compatibility zip file (seems to work fine...tomcat starts) 6) Unzip admin tool - copied admin directory and all of its contents to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\server\webapps (same location as manager and host-manager - copied admin.xml to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\conf\Catalina\localhost 7) modified tomcat-users.xml to include the following line: user username=admin password=admin roles=standard, manager, admin / 8) Start Tomcat via Eclipse - Observe console...no mention of admin anywhere 9) Launch the following url http://localhost:8080; ... received the Tomcat initial page - Select manager and authenticate with admin/admin ... works fine. - Note that /admin is listed as an application 10) Return to initial tomcat page and select administration - the following message is reported Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it This is basically everything I know about the admin application at this point. I followed the above steps to install the feature ... still cannot get it to work. The only slight deviation to the process in this post is that the directory name change I mentioned above caused the unzip to create a new base directory. I just copied the content to their appropriate places (i.e. server\webapps) figuring that this is all that the unzip would have done anyway. I also manually copied the admin.xml to the conf location mentioned above as well. I'm at a loss to understand what I have missed here. Fran Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 Hi, I've read through all of the post material I can find on this topic and still cannot seem to get the admin app deployed correctly. The usual problem is starting with the Windows .exe download of the Tomcat core rather than the .zip or .tar.gz version. The .exe download creates a directory structure not compatibile with the one that admin.zip expects. If you have already installed the .exe version of the Tomcat core and want to keep using it, you can copy the unzipped admin files to the proper locations with the following. If you unzipped admin into C:, it will have created a directory structure starting at C:\apache-tomcat-5.5.20; take everything under that location and drag/drop it into C:\Program Files\Apache Software Foundation\Tomcat 5.5 (that's where the .exe puts things by default). You'll get a couple of overwrite warnings, and it doesn't matter how you answer them as long as you don't click cancel. After that, all you need to do is update conf/tomcat-users.xml with an appropriate userid and admin role. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8143041 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: installing the admin on 5.5
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 snip Steps 1 - 5 looked o.k. 6) Unzip admin tool - copied admin directory and all of its contents to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\server\webapps (same location as manager and host-manager In the above, does admin directory refer to apache-tomcat-5.5.20\server\webapps\admin? Did you maintain the directory structure under that? There should be 11 subdirectories under server\webapps\admin, although 9 of them are empty; only images and WEB-INF have content, and WEB-INF has two .xml files, a .tld file, and a lib directory under it containing five jars. Is that what you've got now? - copied admin.xml to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\conf\Catalina\localhost Note that there are two admin.xml files in the .zip, but they are identical, so it doesn't really matter which one you chose. 7) modified tomcat-users.xml to include the following line: user username=admin password=admin roles=standard, manager, admin / The spaces after the commas should be o.k., but they're normally not used. 8) Start Tomcat via Eclipse - Observe console...no mention of admin anywhere What happens if you start Tomcat from a command prompt with bin\startup.bat, rather than indirectly, via Eclipse? - Note that /admin is listed as an application Is it marked as running? 10) Return to initial tomcat page and select administration - the following message is reported Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it Do you have any Context elements in conf/server.xml? Eclipse may have erroneously inserted something in there. For Tomcat 5 and above, Context elements should not be placed in server.xml. Do you have an admin directory under the regular webapps directory by any chance? (Possibly left over from previous attempts.) If so, it should be removed. Note that the admin directory under webapps\ROOT is o.k. - it is overridden by the servlet mappings in server\webapps\admin\WEB-INF\web.xml. - 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]
RE: installing the admin on 5.5
Hi, thanks for responding...I'll address your questions based on my original step numbers: 6) Yes, I simply copied the admin directory to the server\webapps directory. So, all of the subordinate content came along as well. I did not modify anything underneath it. 8) I receive the same result...that is to say a page with the message about installing admin separately appears. Yes, running in the manager application is set to true. 10) there are no context elements in server.xml. There is no admin directory in the normal webapps directory. Caldarale, Charles R wrote: From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 snip Steps 1 - 5 looked o.k. 6) Unzip admin tool - copied admin directory and all of its contents to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\server\webapps (same location as manager and host-manager In the above, does admin directory refer to apache-tomcat-5.5.20\server\webapps\admin? Did you maintain the directory structure under that? There should be 11 subdirectories under server\webapps\admin, although 9 of them are empty; only images and WEB-INF have content, and WEB-INF has two .xml files, a .tld file, and a lib directory under it containing five jars. Is that what you've got now? - copied admin.xml to c:\CMA_Dev\Servers\Tomcat\tomcat-5.5.20\conf\Catalina\localhost Note that there are two admin.xml files in the .zip, but they are identical, so it doesn't really matter which one you chose. 7) modified tomcat-users.xml to include the following line: user username=admin password=admin roles=standard, manager, admin / The spaces after the commas should be o.k., but they're normally not used. 8) Start Tomcat via Eclipse - Observe console...no mention of admin anywhere What happens if you start Tomcat from a command prompt with bin\startup.bat, rather than indirectly, via Eclipse? - Note that /admin is listed as an application Is it marked as running? 10) Return to initial tomcat page and select administration - the following message is reported Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it Do you have any Context elements in conf/server.xml? Eclipse may have erroneously inserted something in there. For Tomcat 5 and above, Context elements should not be placed in server.xml. Do you have an admin directory under the regular webapps directory by any chance? (Possibly left over from previous attempts.) If so, it should be removed. Note that the admin directory under webapps\ROOT is o.k. - it is overridden by the servlet mappings in server\webapps\admin\WEB-INF\web.xml. - 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] -- View this message in context: http://www.nabble.com/installing-the-admin-on-5.5-tf2542730.html#a8147015 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: installing the admin on 5.5
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 Hi, thanks for responding...I'll address your questions based on my original step numbers: The one you didn't answer is this: What happens if you start Tomcat from a command prompt with bin\startup.bat, rather than indirectly, via Eclipse? Are you sure you're running the Tomcat you think you are, versus one that might be bundled with Eclipse? - 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]
installing the admin on 5.5
I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. Then using the tomcat manager application deployed the files OK. But when I try to access the admin app, I get this error. HTTP Status 503 - Servlet admin.login_jsp is currently unavailable _ type Status report message Servlet admin.login_jsp is currently unavailable description The requested service (Servlet admin.login_jsp is currently unavailable) is not currently available. Is there a war file for the admin application I could use? Rather then the directory in the zip? I ask this not only for my own ease of use, but also since our clients all have tomcat installed (currently 5.0.28) and I want to be able to tell them to upgrade up to 5.5. However since the admin app is not installed by default I will need to instruct them as to how to install the admin app. A war file would be easier, as the many users I have are not at all tomcat savvy. Michael Hencin Enginuity Development 815-505-5028
RE: installing the admin on 5.5
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: installing the admin on 5.5 I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. That's all you need to do - if you expand it into the standard Tomcat installation directory, like you're supposed to do. If you're using some 3rd-party repackaged Tomcat that scatters pieces of Tomcat all over, I'd strongly suggest throwing that in the junk pile and downloading and installing the real one. Then using the tomcat manager application deployed the files OK. Well, that's made a mess of things. You need to undeploy it from there, and just unzip properly. Don't forget to to update conf/tomcat-users.xml with an appropriate userid, password, and the admin role. - 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]
RE: installing the admin on 5.5
I did use all the apache org tomcat distributions. Nothing third part. I never did edit the tomcat-users.xml. During the 5.5 install I did create an admin users and password. I can use this to access the tomcat manager application just fine. But I cannot gain access to any sort of login page at all for the admin app. And perhaps I am confused as to how to deploy an application from a directory. I am using the manager application to enter the directory path, admin.xml context file and the context path. Then using the deploy button. This seemed to work fine and results in my admin application being listed in the list of applications above that listed as running. Are you suggesting I simply extract the contents of the zip file into my webapps directory? Mike -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 5:24 PM To: Tomcat Users List Subject: RE: installing the admin on 5.5 From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: installing the admin on 5.5 I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. That's all you need to do - if you expand it into the standard Tomcat installation directory, like you're supposed to do. If you're using some 3rd-party repackaged Tomcat that scatters pieces of Tomcat all over, I'd strongly suggest throwing that in the junk pile and downloading and installing the real one. Then using the tomcat manager application deployed the files OK. Well, that's made a mess of things. You need to undeploy it from there, and just unzip properly. Don't forget to to update conf/tomcat-users.xml with an appropriate userid, password, and the admin role. - 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] - 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: installing the admin on 5.5
Excellent, thank you that all worked fine. I was not aware, nor was able to find any documentation Easily available to instruct me as to where and how to put those files. The structure in the zip did look very much like the tomcat install, but there is no Read me in the zip to instruct as so. The verbage about the admin being a Webapp immediately made me think of standard deployment methods. Thanks Mike -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 5:44 PM To: Tomcat Users List Subject: RE: installing the admin on 5.5 From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: installing the admin on 5.5 I did use all the apache org tomcat distributions. Nothing third part. Good. I never did edit the tomcat-users.xml. During the 5.5 install I did create an admin users and password. I can use this to access the tomcat manager application just fine. O.k., check the conf/tomcat-users.xml to make sure that your admin userid has roles of admin and manager (at least the latter should already be there). Update as needed, while Tomcat is not running. But I cannot gain access to any sort of login page at all for the admin app. That's because it's not installed properly. If you just unzip the admin package, most of it will drop into server/webapps, where the manager and host-manager apps are already installed. Normal apps go into the regular webapps directory, but these three require special handling in 5.5 and below. And perhaps I am confused as to how to deploy an application from a directory. What you did is fine for normal apps, but not this one. Are you suggesting I simply extract the contents of the zip file into my webapps directory? No, the paths are already set up in the admin zip file to go right on top of the Tomcat installation. There are pieces that have to go into several different directories, none of them the standard webapps. Look at the structure inside the admin zip file and notice how it matches up to your already installed Tomcat. - 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] - 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: installing the admin on 5.5
Good Evening Michael- download admin.zip from here http://tomcat.apache.org/download-55.cgi be sure to put commons-modeler.jar into $TOMCAT_HOME/webapps/admin/WEB-INF/lib HTH, M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Michael Hencin [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Monday, October 30, 2006 6:02 PM Subject: installing the admin on 5.5 I am having a bear of a time installing the admin application for 5.5. I downloaded and unzipped the apache-tomcat-5.5.20-admin.zip, expanded the contents. Then using the tomcat manager application deployed the files OK. But when I try to access the admin app, I get this error. HTTP Status 503 - Servlet admin.login_jsp is currently unavailable _ type Status report message Servlet admin.login_jsp is currently unavailable description The requested service (Servlet admin.login_jsp is currently unavailable) is not currently available. Is there a war file for the admin application I could use? Rather then the directory in the zip? I ask this not only for my own ease of use, but also since our clients all have tomcat installed (currently 5.0.28) and I want to be able to tell them to upgrade up to 5.5. However since the admin app is not installed by default I will need to instruct them as to how to install the admin app. A war file would be easier, as the many users I have are not at all tomcat savvy. Michael Hencin Enginuity Development 815-505-5028
RE: installing the admin on 5.5
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: installing the admin on 5.5 download admin.zip from here http://tomcat.apache.org/download-55.cgi Martin, please pay attention to the threads. He already did that, and it's successfully installed. be sure to put commons-modeler.jar into $TOMCAT_HOME/webapps/admin/WEB-INF/lib There is absolutely no reason to do that, and you've given the wrong location for the admin webapp. Please stop posting irrelevant and erroneous information. - 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]