users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Jun 2007 13:42:38 PDT

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.

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