Re: How to disable Tomcat Admin directory

2005-11-15 Thread David N. Smith
Ok.  This only makes sense if you have a connector like mod_jk or the
isapi_redirector mapping contexts from Apache or IIS back to tomcat.  In that
case, review your config and unmount the tomcat admin context from your
front-end web server.

--David

 Mark,

 The \conf\catalina\localhost directory is empty and there isn't an admin 
 folder
 at \server\webapps.

 The admin interface is not installed, I'm only trying to get Tomcat to stop
 responding when I hit the WEB_ROOT/admin folder from a web browser.  The 
 reason
 being Tomcat is keeping users from getting to the real /admin folder on our
 server.

 Thanks for your help.



 [EMAIL PROTECTED]  
 Bruno Georges wrote:
 Hi Jarrold

 If I understood your question correctly you will have to edit the
 conf/server.xml file and proceed as indicated:

  !-- Comment these entries out to disable JMX MBeans support used for the
 administration web application --
   Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
 /
   Listener
 className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
   Listener
 className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/

 Hope this helps.

 Bruno Georges

 This won't disable the admin application.

 Assuming Novell haven't messed about with the config too much, you
 will need to do the following:
 1. Delete %CATALINA_HOME%\conf\Catalina\localhost\admin.xml
 2. Delete %CATALINA_HOME%\server\webapps\admin
 3. Restart Tomcat

 2. isn't strictly necessary but it prevents any enthusiastic admins
 easily re-enabling it.

 Mark


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-15 Thread Mark Thomas

Jarrod Holder wrote:

Mark,

The \conf\catalina\localhost directory is empty and there isn't an admin folder 
at \server\webapps.

The admin interface is not installed, I'm only trying to get Tomcat to stop 
responding when I hit the WEB_ROOT/admin folder from a web browser.  The reason 
being Tomcat is keeping users from getting to the real /admin folder on our 
server.


Just found this. Whilst looking at something else entirely. Does the 
following file exist? If so delete it.


\webapps\ROOT\admin

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-15 Thread Jarrod Holder
Mark,

I found and deleted the admin folder you mentioned.  However, I'm still
not getting the real admin folder on my web server.  Tomcat is still
responding but with a 404 - The requested resource (/admin/) is not
available.

I even tried killing the entire webapps\ROOT folder, but that didn't
help either.  

Thanks again for your help on this.



 [EMAIL PROTECTED]  
Jarrod Holder wrote:
 Mark,
 
 The \conf\catalina\localhost directory is empty and there isn't an
admin folder at \server\webapps.
 
 The admin interface is not installed, I'm only trying to get Tomcat to
stop responding when I hit the WEB_ROOT/admin folder from a web browser.
 The reason being Tomcat is keeping users from getting to the real
/admin folder on our server.

Just found this. Whilst looking at something else entirely. Does the 
following file exist? If so delete it.

\webapps\ROOT\admin

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
We have just installed Novell's GroupWise WebAccess 7 on our server.  This new 
version uses Tomcat 5.5 to provide service to our users.  However, Tomcat tries 
to listen on WEB_ROOT/admin for a non existent admin interface.  The problem is 
our main website uses the /admin directory for it's portal admin files.  
Therefore, we can no longer access our admin files for our portal.

How can we have Tomcat no longer listen for requests to the /admin directory?

Thank you.

Jarrod


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-14 Thread Hassan Schroeder
Jarrod Holder wrote:

 How can we have Tomcat no longer listen for requests to the /admin directory?

Remove the admin.xml Context file for the host in question.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

  dream.  code.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-14 Thread Bruno Georges
Jarrold,

The latest versions of Tomcat do not include the admin webapp by default.
The /admin page displays:
Tomcat's administration web application is no longer installed by default.
Download and install the admin package to use it. 

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+---
| |   Jarrod Holder |
| |   [EMAIL PROTECTED]|
| |   .k12.ga.us |
| |   |
| |   14.11.05 22:41  |
| |   Please respond  |
| |   to Tomcat Users|
| |   List   |
| |   |
|-+---
  
--|
  | 
 |
  |To:  users@tomcat.apache.org   
 |
  |cc:  
 |
  |Subject: How to disable Tomcat Admin directory   
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
--|




We have just installed Novell's GroupWise WebAccess 7 on our server.  This
new version uses Tomcat 5.5 to provide service to our users.  However,
Tomcat tries to listen on WEB_ROOT/admin for a non existent admin
interface.  The problem is our main website uses the /admin directory for
it's portal admin files.  Therefore, we can no longer access our admin
files for our portal.

How can we have Tomcat no longer listen for requests to the /admin
directory?

Thank you.

Jarrod


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word misdirected as the message and delete this
e-mail from your system.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
Bruno,

Correct, we are getting the error you mention below.  However, we need to have 
Tomcat not respond to any request to the /admin directory at all.  In other 
words, if we go to the /admin directory, we get the actual /admin directory on 
our web server rather than Tomcat.

Hope that better explains our problem.

I made the change you mentioned to the server.xml file (actually, I made a 
backup of the file then removed the section in question entirely).  Yet I still 
get the Tomcat's administration web application... error.

One other point I should have mentioned, This is running on W2K server with IIS.

Thank you for your help.



 [EMAIL PROTECTED]  
Jarrold,

The latest versions of Tomcat do not include the admin webapp by default.
The /admin page displays:
Tomcat's administration web application is no longer installed by default.
Download and install the admin package to use it. 

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+---
| |   Jarrod Holder |
| |   [EMAIL PROTECTED]|
| |   .k12.ga.us |
| |   |
| |   14.11.05 22:41  |
| |   Please respond  |
| |   to Tomcat Users|
| |   List   |
| |   |
|-+---
  
--|
  | 
 |
  |To:  users@tomcat.apache.org   
 |
  |cc:  
 |
  |Subject: How to disable Tomcat Admin directory   
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
--|




We have just installed Novell's GroupWise WebAccess 7 on our server.  This
new version uses Tomcat 5.5 to provide service to our users.  However,
Tomcat tries to listen on WEB_ROOT/admin for a non existent admin
interface.  The problem is our main website uses the /admin directory for
it's portal admin files.  Therefore, we can no longer access our admin
files for our portal.

How can we have Tomcat no longer listen for requests to the /admin
directory?

Thank you.

Jarrod


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word misdirected as the message and delete this
e-mail from your system.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-14 Thread Mark Thomas

Bruno Georges wrote:

Hi Jarrold

If I understood your question correctly you will have to edit the
conf/server.xml file and proceed as indicated:

 !-- Comment these entries out to disable JMX MBeans support used for the
administration web application --
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
/
  Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
  Listener
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/

Hope this helps.

Bruno Georges


This won't disable the admin application.

Assuming Novell haven't messed about with the config too much, you 
will need to do the following:

1. Delete %CATALINA_HOME%\conf\Catalina\localhost\admin.xml
2. Delete %CATALINA_HOME%\server\webapps\admin
3. Restart Tomcat

2. isn't strictly necessary but it prevents any enthusiastic admins 
easily re-enabling it.


Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to disable Tomcat Admin directory

2005-11-14 Thread Jarrod Holder
Mark,

The \conf\catalina\localhost directory is empty and there isn't an admin folder 
at \server\webapps.

The admin interface is not installed, I'm only trying to get Tomcat to stop 
responding when I hit the WEB_ROOT/admin folder from a web browser.  The reason 
being Tomcat is keeping users from getting to the real /admin folder on our 
server.

Thanks for your help.



 [EMAIL PROTECTED]  
Bruno Georges wrote:
 Hi Jarrold
 
 If I understood your question correctly you will have to edit the
 conf/server.xml file and proceed as indicated:
 
  !-- Comment these entries out to disable JMX MBeans support used for the
 administration web application --
   Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
 /
   Listener
 className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
   Listener
 className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
 
 Hope this helps.
 
 Bruno Georges

This won't disable the admin application.

Assuming Novell haven't messed about with the config too much, you 
will need to do the following:
1. Delete %CATALINA_HOME%\conf\Catalina\localhost\admin.xml
2. Delete %CATALINA_HOME%\server\webapps\admin
3. Restart Tomcat

2. isn't strictly necessary but it prevents any enthusiastic admins 
easily re-enabling it.

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]