Hi all,
I'm developing an application which will be release in
ASP(application service provider) mode, i.e. different customers will use
the same appserver and database to do their actions.
On the DB I'm already ok, but on the appserver I'm in trouble. The first
model I'm trying to implement is one application server instance with
different contexts, one for each customer. What I'd like to do is deploy
the jsp under each customer context, but deploy the servlets and business
objects to the shared\lib directory since they are always the same. the
problem I'm facing is classloaders sequence, since in the shared\lib I have
a class which loads a configuration file using the classloader(it is a 3rdy
part library and I cannot modify it), but the configuration file is under
WEB-INF since is specific for each customer.
If I try to put all the classes under WEB-INF I got a ClassCastException
when loading a class form a context and this class is already loaded from
another context. I read the classloader howto in order to understand how
classes are loaded and if I have well understood the document there is no
way to achieve what I want.
Can anyone help me?
I've already set up multiple tomcat instances using different
CATALINA_BASE, but that's not what I want in this phase of the project.
thanks in advance
Giovanni
----------------------------------------
Giovanni Cuccu
Sw [EMAIL PROTECTED]
Dianoema S.p.A.
Via de' Carracci 93 40131 Bologna
Tel: 051-4193911
e-mail:[EMAIL PROTECTED]
----------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: 2ND TRY: Developing ASP applications with tomcat Giovanni Cuccu
- Re: 2ND TRY: Developing ASP applications with to... Sriram N
- Re: 2ND TRY: Developing ASP applications wit... Giovanni Cuccu
- RE: 2ND TRY: Developing ASP applications with to... Turner, John
- RE: 2ND TRY: Developing ASP applications wit... Giovanni Cuccu
- RE: 2ND TRY: Developing ASP applications with to... Turner, John
- RE: 2ND TRY: Developing ASP applications wit... Giovanni Cuccu
- RE: 2ND TRY: Developing ASP applications with to... Turner, John
- RE: 2ND TRY: Developing ASP applications wit... Giovanni Cuccu
- RE: 2ND TRY: Developing ASP applications ... Craig R. McClanahan
- Re: 2ND TRY: Developing ASP applications wit... Rodrigo Ruiz