tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Schöffel <stephan.schoef...@gmx.net>
Subject Re: disable war deployment
Date Wed, 03 Jan 2007 11:25:06 GMT
i had a look at those already and tried out different combinations. yet 
there is no way (obvious to me) to prevent tomcat from starting war 
files. i could use the deployOnStartup attribute but then i would 
prevent tomcat from starting apps that are not packed in a war, too. i 
had to start them all manually which is impossible.

i guess it would be easiest to use the deployXML flag (since this set to 
false for my concerns) in the deployWar() method as well.


David Delbecq wrote:

>See http://tomcat.apache.org/tomcat-5.5-doc/config/host.html, the
>deployOnStartup, autoDeploy and deployXML properties are probably what
>you need to play with.
>
>En l'instant précis du 01/03/07 12:01, Stephan Schöffel s'exprimait dans
>toute sa noblesse:
>  
>
>>i do need the write access to the tomcat dirs. but i need tomcat to
>>not start apps i dont want it to.
>>
>>
>>David Delbecq wrote:
>>
>>    
>>
>>>Is the purpose to prevent users having access to file system from adding
>>>wars to tomcat? If yes, just use the OS to forbid write access to
>>>appBase for any user and also protect work directory from all users but
>>>tomcat.
>>>
>>>En l'instant précis du 01/03/07 11:22, Stephan Schöffel s'exprimait dans
>>>toute sa noblesse:
>>> 
>>>
>>>      
>>>
>>>>hi,
>>>>
>>>>is there a way to disable deployment of war files dropped into the
>>>>appBase? i dont mean the autoDeploy attribute. i need tomcat to not
>>>>deploy any war files at all...
>>>>
>>>>gtx
>>>>stephan
>>>>
>>>>---------------------------------------------------------------------
>>>>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
>>>>
>>>>  
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>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
>>>
>>> 
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>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
>
>  
>


---------------------------------------------------------------------
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


Mime
View raw message