users@glassfish.java.net

Re: How to access subdomain from same port

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Feb 2010 10:13:21 PST

Thanks Jan for your advice, but it doesn't work.

Here is my setup:

I have an enterprise app deployed to GF v2.1. The app has the following modules:

EJBmodule
abcModule -> is web app domain abc.com
xyzModule -> is web app subdomain xyz.abc.com

Virtual server: server
Hosts: abc.com
Http Listeners: http-listener-1, http-listener-2
Default Web Module: myapp#abc.war

Virtual server: myserver
Hosts: xyz.abc.com
Http Listeners: http-listener-1
Default Web Module: myapp#xyz.abc.war

Access abc.com serves abc.com welcome page.
Access xyz.abc.com serves an empty page, no messages in server.log.
Access xyz.abc.com:8080 serves Http Status 503 page.

What do I wrong?

Thanks.
Stephan
[Message sent by forum member 'bardubitzki' (stephan_at_bardubitzki.com)]

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