users@glassfish.java.net

Re: GF2 Virtual Server stopped working and is showing wrong content.

From: <Jan.Luehe_at_Sun.COM>
Date: Thu, 14 Jun 2007 07:49:00 -0700

glassfish_at_javadesktop.org wrote:

>Right here ...
>
>[code]
> <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="intranet" virtual-servers=""/>
> <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="cms" virtual-servers=""/>
>[/code]
>
>It appears to me that these two "applications" intranet" and "cms" are available on no virtual-servers :) Jan Luehe should confirm, but in this situation, either all virtual servers will get
>the resources from these application or none. Basically, this is a misconfiguration.
>
>

Kedar is right:

A virtual-servers attribute with an empty value is treated the same way
as if the
virtual-servers attribute was missing from <application-ref>, in which
case the
web-module is deployed to all virtual servers minus the virtual server named
"__asadmin".


Jan

>And it might be related to your redeployment activity, where you did not specify the virtual
>servers where you wanted to deploy the applications.
>
>Fix is simple: Just edit the domain.xml to have the virtual-servers="myhost, myotherhost"
>or the case may be. In short, put the ID's of the virtual servers that you want these applications
>be served from.
>
>Hope this helps.
>
>Kedar
>[Message sent by forum member 'km' (km)]
>
>http://forums.java.net/jive/thread.jspa?messageID=222025
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>