users@glassfish.java.net

web application for a particular virtual server only

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 May 2009 22:07:25 PDT

Hello,

I just started to play with Glassfish. After installation, I noticed there is a virtual server which name is "server". I created another virtual server server2. After I uploaded a hello.war file, I found that hello app could be accessed from both http://server1/hello and http://server2/hello.

How can I restricted the hello application to a particular virtual server? In my case, I wish http://server1/hello should NOT work and http://server2/hello should work.

Thanks,
Kevin
[Message sent by forum member 'zhangyongjiang' (zhangyongjiang)]

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