users@glassfish.java.net
Re: Virtual Server with Glassfish
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Mon, 31 Mar 2008 09:47:33 PST
Thanks, whartung, for adding your comments.
The behaviour Patrick has been seeing when declaring his webapp as his virtual server's default-web-module is described at:
https://glassfish.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1916
See also
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3710
Patrick, in order to accomplish what you are trying to do, deploy your webapp to the root context of your virtual server, as follows:
asadmin deploy --virtualservers www.webapp1.com --contextroot "/" <location-of-your-war>
or bundle a sun-web.xml with your webapp, in which you declare "/" as your webapp's context root:
<sun-web-app>
<context-root>/</context-root>
</sun-web-app>
as whartung has suggested.
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=266825
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "glassfish + HSQLDB"
Previous message
:
Gopal Jorapur: "Re: Problem in starting GlassFish server"
In reply to
:
glassfish_at_javadesktop.org: "Re: Virtual Server with Glassfish"
Next in thread
:
glassfish_at_javadesktop.org: "Re: Virtual Server with Glassfish"
Reply
:
glassfish_at_javadesktop.org: "Re: Virtual Server with Glassfish"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]