users@glassfish.java.net

Deploy to Specific Virtual Server in GF3.1

From: <forums_at_java.net>
Date: Sun, 13 Mar 2011 09:16:49 -0500 (CDT)

I'm using GF 3.1 (developer config) with more than one virtual server. I
deploy apps either in-place from NB 6.9.1 or via auto-deploy in the case
of the remote server. The default behavior for GF is to deploy apps to
all virtual servers, but I would like to deploy to specific ones. Haven't
found anything in the GF docs, and after some searching here the only
solution I've come across is the --virtualservers option in the asadmin
deploy command. Isn't there a way to specify the virtual server(s) via a
property in sun-web.xml?

As an aside, I've also noticed that the GF 3.1 admin gui does not appear to
allow you to change the virtual servers to which an app is deployed. In the
app definition window, I've deselected all but one of the virtual servers,
clicked save, but when the screen refreshes all virtual servers are again
selected. Anyone else observe this behavior?

 


--
[Message sent by forum member 'wbehymer']
View Post: http://forums.java.net/node/781142