You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fran Varin <FV...@AMICA.com> on 2007/01/03 14:54:28 UTC
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:michael.hencin@edm-concepts.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Martin Gainty [mailto:mgainty@hotmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: installing the admin on 5.5
Posted by Martin Gainty <mg...@hotmail.com>.
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" <FV...@AMICA.com>
To: <us...@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:michael.hencin@edm-concepts.com]
>>> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: installing the admin on 5.5
Posted by Donal <do...@YAHOO.CO.UK>.
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:FVARIN@AMICA.com]
>>> 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: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by Fran Varin <FV...@AMICA.com>.
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:FVARIN@AMICA.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Fran Varin [mailto:FVARIN@AMICA.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by Fran Varin <FV...@AMICA.com>.
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:FVARIN@AMICA.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Fran Varin [mailto:FVARIN@AMICA.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by Fran Varin <FV...@AMICA.com>.
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:FVARIN@AMICA.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Fran Varin [mailto:FVARIN@AMICA.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by Fran Varin <FV...@AMICA.com>.
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:FVARIN@AMICA.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Fran Varin [mailto:FVARIN@AMICA.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by Fran Varin <FV...@AMICA.com>.
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:FVARIN@AMICA.com]
>> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: installing the admin on 5.5
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Fran Varin [mailto:FVARIN@AMICA.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org