-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mario,
On 2/19/2010 2:39 AM, Mario Splivalo wrote: > Well, the proprietary library we're using to receive connection to some > proprietary -based service is awfully written - we can't get an > service-identifier (let's call it that way) within the library. That is > why we have dozen applications, and in configuration of the app we setup > the service-identifier string and each app 'listens' on its own url: I'm not sure if you're interested in pursuing this strategy, but you might be able to run multiple independent "copies" of that library if you use separate ClassLoaders within your application: just create a new ClassLoader for each instance of this proprietary library that you need, and configure accordingly. Of course, you'll need to put your .jar file somewhere outside of the WEB-INF/lib directory so you don't end up with weird conflicts, but that shouldn't be a problem. It also depends upon the way you have to configure the library in each "instance": does it use system properties or something like that? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt+rTcACgkQ9CaO5/Lv0PD7WgCgwSKNp/M1DerV6ru1J4JI2F8w YwUAoJHc4c0Td/FmJsRQOheRcMmdZYh7 =Kdab -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org