I was able to fix my original problem.  Based on the advice given here,
I realized that my problem was that my ROOT web app had a /admin
directory.  Once I renamed that directory,  everything worked fine. 

Thanks for all the help.
Michael

-----Original Message-----
From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Friday, September 25, 2009 4:17 PM
To: Tomcat Users List
Subject: RE: Using administration url in application


you mentioned admin? ..for the most part i would suggest using JMXBean
instead

with JMX you are installing a listener on a different port so there is
no 'conflict' with default webapp of Tomcat ROOT..you can pretty much
view available TC parameters with this tool
If you dont see a specific or group of parameters that you need to see
let us know

more information is available at
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html

hth
Martin Gainty 
______________________________________________ 
Please do not alter/modify or disrupt this transmission. Thank You




> From: mgai...@hotmail.com
> To: users@tomcat.apache.org
> Subject: RE: Using administration url in application
> Date: Fri, 25 Sep 2009 16:05:56 -0400
> 
> 
> one possible solution
> 
> $CATALINA_HOME/conf/[enginename]/[hostname]/ROOT.xml
> where
> <Context docBase="/my-path/applicationName.war " />
> /*docBase is "an absolute pathname for this directory or WAR file, or
a pathname
>         that is relative to the appBase directory of the
>         owning Host."*/
> 
> the reference for Context element and attribute documentation at
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
> 
> an example of configuring ROOT.xml is available at
>
http://benhutchison.wordpress.com/2008/07/30/how-to-configure-tomcat-roo
t-context/
> 
> the manager webappmyust be loaded before ROOT.war 
> manager must be working first
> use manager to upload ROOT.war
> 
> a howto on howto use Manager webapp to upload ROOT.war is available at
>
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Configuring%2
0Manager%20Application%20Access
> 
> this is only one proposal feel free to solicit other solutions
fromlist
> hth
> Martin Gainty 
> ______________________________________________ 
> Do not alter/modify or disrupt this transmission. Thank You
> 
> 
> 
> 
> > Subject: Using administration url in application
> > Date: Fri, 25 Sep 2009 15:00:33 -0400
> > From: michael.zeit...@usdoj.gov
> > To: users@tomcat.apache.org
> > 
> > Hello,
> > 
> >     I have configured a Tomcat 5.5 server on and deployed my
application
> > onto in the root context.   The application works successfully,
except
> > when I try to use anything with that starts with the  /admin url
> > pattern.  My guess is that Tomcat thinks I am trying to reach the
Web
> > Administration module and it throws up a 404 error.
> > 
> >    I would like to tell tomcat to use a different url for its web
> > administration module so I can use it on my application.  I have
tried
> > going into my admin.xml file and modifying the Context entry to use
a
> > different path:
> > 
> > <Context path="/admin1"
> > docBase="/usr/share/tomcat5.5/server/webapps/admin"     
> >          debug="0" privileged="true" allowLinking="true">
> > 
> >    I have also tried totally removing the admin.xml file.  Neither
has
> > worked.  
> > 
> >   Any help would be appreciated
> > 
> > Michael
> > 
>                                         
> _________________________________________________________________
> Hotmail(r) has ever-growing storage! Don't worry about storage limits.
>
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tut
orial_Storage_062009
                                          
_________________________________________________________________
Lauren found her dream laptop. Find the PC that's right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to