users@glassfish.java.net

Re: Virtual server with subdomain

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 Apr 2010 19:13:32 PDT

Thanks for your response. Please see my inline responses to your questions.

> glassfish_at_javadesktop.org wrote:
> > - I used the admin console.
> > - Created a new virtual server with host name
> m.${com.sun.aas.hostName}. Deployed the new web
> app(as a war) to this virtual server.
> > - I am able to see m.${com.sun.aas.hostName} in the
> domain.xml as a virtual server.
> >
>
> When creating the new virtual server, can you resolve
>
> ${com.sun.aas.hostName} in its domain name?

How do I check this?

>
> What does the <application-ref> element for your app
> in domain.xml look
> like after you've deployed it?

  <servers>
    <server config-ref="server-config" lb-weight="100" name="server">
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="adminapp" virtual-servers="__asadmin"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="admingui" virtual-servers="__asadmin"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="JBIFramework"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTXServices"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTCPConnectorLCModule"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="MEjbApp" virtual-servers="server"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="__ejb_container_timer_app" virtual-servers="server"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="__JWSappclients" virtual-servers="server"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="myCompany" virtual-servers="server"/>
      <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="mobileApp" virtual-servers="mobileServer"/>
      <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
      <resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
      <resource-ref enabled="true" ref="jdbc/__default"/>
    </server>
  </servers>
>
> Are you accessing your app from a browser? If so, did
> you update your
> DNS configuration with the new domain name?

Yes. I didn't do it. I will talk to my network admin about it.
>
> Jan
>
> > [Message sent by forum member 'filboid_us']
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=3965
> 95
> >
> >
> ------------------------------------------------------
> ---------------
> > To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
> >
> >
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail:
> users-help_at_glassfish.dev.java.net
[Message sent by forum member 'filboid_us']

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