users@glassfish.java.net

Two domains in glassfish?

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Dec 2008 19:49:47 PST

So simple...

http://www.aaa.com for application A

http://www.bbb.com for application B

Can I have this in GlassFish V2 UR2?

All right guys, i know it sounds stupid... but i've been trying for a while and I can't get it right

All I want is to have to web applications on the same machine.

It is a commercial thing for the internet so i can't go with aaa.com:8080 or using directory stuff like

http://aaa.com/aaaa

nor

http://bbb.com/bbb

I configured as default web module application A for the virtual server "server"

and thankfully that gets me to http://www.aaa.com to my application A

I've tried creating a second virtual server "second-server" that takes "www.bbb.com" in the hosts list using http-listener-1 and default web module application B but i get a Server HTTP 500 error

Do you know how to do it?
[Message sent by forum member 'pablopina' (pablopina)]

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