|
Replies:
10
-
Last Post:
Aug 21, 2008 3:10 AM
by: drdeniro
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 23, 2007 9:54 AM
in response to: everflux
|
|
|
Would using a deploymentplan help?
See https://glassfish.dev.java.net/javaee5/docs/ADG/beact.html
I admit that this is not as good a solution as the one that you are looking for, but it is one thing that it in the product, now.
I will file an enhancement request for this.
vbk
|
|
|
|
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 23, 2007 1:40 PM
in response to: everflux
|
|
|
Hi everflux,
I've just blogged [1] about context.xml support in GlassFish.
[1]http://weblogs.java.net/blog/amyroh/archive/2007/05/context_webapp_1.html
Hope this helps, Amy
glassfish@javadesktop.org wrote: > Hi, > I would like to switch from tomcat to glassfish, mainly using it as a servlet container. I read here > http://forums.java.net/jive/thread.jspa?messageID=206772𲞴 > that there is ongoing work to support deployment specific configuration of web applications (without repackageing them). > But as I read here: > http://forums.java.net/jive/thread.jspa?messageID=85039&tstart=0 > http://forums.java.net/jive/thread.jspa?threadID=19592 > http://forum.java.sun.com/thread.jspa?threadID=5020966 > there is still missing support for setting configuration parameters for each deployment. (Seriously, repackaging is not a real option) > > Did I miss the place where I can configure the JNDI context for each deployment without hassling around with config files in the war? > > Or am I completely misguided and this is not the way to go for configuring bootstrap values for web applications? (In fact it's part of the tomcat tutorial http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Environment%20Entries ) > > Any feedback or ideas are very appreciated! > [Message sent by forum member 'everflux' (everflux)] > > http://forums.java.net/jive/thread.jspa?messageID=218092 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 24, 2007 3:28 AM
in response to: Amy Roh
|
|
|
Hi Amy, nice to see that there is progress in this issue. The vhost solution is a mangeable workaround, in my point of view it would still be great to have the possibility to configure the context for each web application without the hassle of repackageing it or having to configure a vhost. As I stated earlier the lack of this is a big point which avoids a greater adoption of glassfish as a replacement for tomcat. (And I really like glassfish a lot more, even if a comparison is quite unfair since tomcat is only a servlet container and glassfish offers much more.) I would be really happy if this could get addressed in a smart way.
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 24, 2007 10:51 AM
in response to: everflux
|
|
|
> Hi Amy, > nice to see that there is progress in this issue. > The vhost solution is a mangeable workaround, in my
The blog also mentions webapp specific configuration using meta-inf/context.xml.
> point of view it would still be great to have the > possibility to configure the context for each web > application without the hassle of repackageing it or > having to configure a vhost. > As I stated earlier the lack of this is a big point > which avoids a greater adoption of glassfish as a > replacement for tomcat. (And I really like glassfish > a lot more, even if a comparison is quite unfair > since tomcat is only a servlet container and > glassfish offers much more.) > I would be really happy if this could get addressed > in a smart way.
Which way are you thinking of other than using context.xml?
Thanks, Amy
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 24, 2007 4:39 PM
in response to: amyroh
|
|
|
> The blog also mentions webapp specific configuration > using meta-inf/context.xml.
doesn't that require repacking the war?
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
May 28, 2007 1:00 AM
in response to: amyroh
|
|
|
I would love to see a way to configure it without the need to use an editor and especially without the need to repackage the war file of the application. Like the database ressources it would be great to be able to assign environment properties to web applications or context paths.
|
|
|
|
|
|
|
|
Re: Environment per Webapplication deployment
Posted:
Aug 21, 2008 2:55 AM
in response to: everflux
|
|
|
23132
Message was edited by: drdeniro
|
|
|
|
|