users@glassfish.java.net

Re: Newbie question - is it possible to deploy 2 contexts using same war file

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Feb 2010 08:26:48 PST

Thx, I know that this is the way to configure different data source for different contexts, but I still didn't get the answer if it is possible to use same war file for more than one context. As I understood, only way is to use symbolic links, but that way I think that glassfish will instantiate all classes times number of contexts/applications.

What I am trying to do is to have same app.war used in www.mysite.com/app1, www.mysite.com/app2,....

Thx
S.
[Message sent by forum member 'mudri' (stanislav.mudrinski_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=388028