Stephan Sch?ffel wrote:
> the problem is easy: i have to distribute the tomcat with preinstalled
> apps. i havae to make sure the tomcat only loads apps that i delivered
> with it. now im trying to delete all ways loading apps. only apps in
> dir-structures should be loaded (ie with the deployDirectory() method,
> which i altered to verify the apps).
Why do you want to do this? You distribute your app bundled with tomcat.
It works for sure ;-) Why do you want to prevent running other apps
withing the same tomcat? You can always put a sentence in readme/license
file that you don't support modified installations, etc.
Have you tried to run embedded tomcat version? You can deploy an app
using API, by hand.
--
Mikolaj Rydzewski <miki@(protected)>

Attachment:
smime.p7s