Re: Directories under "webapps" showing up

2004-10-04 Thread QM
On Mon, Oct 04, 2004 at 02:46:39PM -0700, Jeff Faath wrote:
: However, what bugs me is the subdirectories under the
: "webapps" directory can still be accessed even though
: I can't find the configuration information for them. 

Perhaps they're being automatically deployed on startup?
Please post your server.xml.


: Can someone give me an explanation as to why these
: URLs  of subdirectories beneath "webapps" are
: resolving?

Related to the above, it's likely a deployOnStartup tag in server.xml.
I believe it's on by default, as a convenience for people who want to
drop a set of apps/WARs into the webapps dir and have the changes picked
up on Tomcat restart.

Another solution -- though admittedly similar to your idea of deleting
the other dirs -- is to use the $CATALINA_HOME vs $CATALINA_BASE setups
to have one set of Tomcat binaries and several independent Tomcat
instances.  That way, the only webapps that exist for that instance are
the ones you put there; any defaults/samples that ship with Tomcat are
out of the picture.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Directories under "webapps" showing up

2004-10-05 Thread Jeff Faath
Thanks for the response QM.  I've attached the
server.xml file, but I can tell you that I haven't
changed it at all.  It is the default file from Tomcat
5.0.28.  I deploy my app using a context configuration
file located in: 
$CATALINA_HOME/conf/[enginename]/[hostname]/

I did notice that autoDeploy is set to "true".  So,
maybe that is the issue?

--- QM <[EMAIL PROTECTED]> wrote:

> On Mon, Oct 04, 2004 at 02:46:39PM -0700, Jeff Faath
> wrote:
> : However, what bugs me is the subdirectories under
> the
> : "webapps" directory can still be accessed even
> though
> : I can't find the configuration information for
> them. 
> 
> Perhaps they're being automatically deployed on
> startup?
> Please post your server.xml.
> 
> 
> : Can someone give me an explanation as to why these
> : URLs  of subdirectories beneath "webapps" are
> : resolving?
> 
> Related to the above, it's likely a deployOnStartup
> tag in server.xml.
> I believe it's on by default, as a convenience for
> people who want to
> drop a set of apps/WARs into the webapps dir and
> have the changes picked
> up on Tomcat restart.
> 
> Another solution -- though admittedly similar to
> your idea of deleting
> the other dirs -- is to use the $CATALINA_HOME vs
> $CATALINA_BASE setups
> to have one set of Tomcat binaries and several
> independent Tomcat
> instances.  That way, the only webapps that exist
> for that instance are
> the ones you put there; any defaults/samples that
> ship with Tomcat are
> out of the picture.
> 
> -QM
> 
> -- 
> 
> software  -- http://www.brandxdev.net
> tech news -- http://www.RoarNetworX.com
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 







  
  
  
  

  
  








  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  


  

  

  
  






	
	













 
 



  
  

  
  

  

  
  

  
  

  

  

  

  

  
  

 















  



  




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