users@glassfish.java.net

Re: Problems with listeners, hosts and multihoming

From: <glassfish_at_javadesktop.org>
Date: Sun, 13 Jul 2008 11:22:45 PDT

Hi Aniceto,

I can reproduce your problem on Linux and Mac OS X (sorry, no Windows here). Now having found a bit of time to look into it I noticed a misconfiguration in the domain.xml you posted a while back. Might be that you've spotted it already, I nevertheless post this here for completeness:

Your web-module entries for V31, V32 and V33 each contain the attribute context-root with a value of "/". Your virtual-server entries for S31, S32 and S33 each contain the attribute default-web-module with the values of "v31", "V32" and V33" respectively.

Now these are mutually exclusive. You can either define a default-web-module _or_ a context-root of "/". I recommend to keep the context-root and to drop the "default-web-module"-attributes.

I still have some trouble, though it already looks better. I will post more tomorrow evening (European time).

BTW: My name is Wolfram not Wolfgram ;-)

--
Wolfram Rittmeyer
[Message sent by forum member 'writtmeyer' (writtmeyer)]
http://forums.java.net/jive/thread.jspa?messageID=286276