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@(protected)
>>>>To unsubscribe, e-mail: users-unsubscribe@(protected)
>>>>For additional commands, e-mail: users-help@(protected)
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To start a new topic, e-mail: users@(protected)
>>>To unsubscribe, e-mail: users-unsubscribe@(protected)
>>>For additional commands, e-mail: users-help@(protected)
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To start a new topic, e-mail: users@(protected)
>>To unsubscribe, e-mail: users-unsubscribe@(protected)
>>For additional commands, e-mail: users-help@(protected)
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@(protected)
>To unsubscribe, e-mail: users-unsubscribe@(protected)
>For additional commands, e-mail: users-help@(protected)
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)