On Thu, 2002-02-21 at 00:07, Greg Wilkins wrote:
> 
> Virtual host support has been in Jetty from the day dot.
I know. It looks like the jboss-plugin also exposes this, but just
doesn't use it (expose it to users).

> It is simply that there is no J2ee standard deployment mechanism for
> them in JBoss.
Then there should be some jboss-standard then. (jboss-specific file).
Where is the best place to specify this until the J2ee spec. includes
this?


> 
> You are correct that the web-jetty.xml file can be used to setup a
> virtual host for a webapplication.  Something like:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.1//EN"
> "http://jetty.mortbay.org/configure_1_1.dtd";>
> <Configure class="org.mortbay.jetty.servlet.WebApplicationContext">
> 
> <Call name="registerHost"><Arg>YourVirtualHostName</Arg></Call>
> 
> </Configure>
> 
Thank you for this tip. I think it will solve my problem, but... i think
this was added after 16 jan. from wich I use jboss alpha from, then I
have to find a newer stable version (and that could be hard).



> 
> 
> Marius Kotsbak wrote:
> > I see that Virtual Host support is mentioned in the TODO-file in
> > jboss/jetty plugin. Does that mean that it isn't possible yet to set up
> > virtual hosts that each war should be bound to?
> > 
> > Is it possible to do this with WEB-INF/web-jetty.xml? I think this would
> > be best to specify in jboss-web.xml since it is common among different
> > web containers, together with the context root.
> > 
> > Does anyone know when this will be implemented?
> > 
> > Thanks
> > 
> > Marius
> > Boostcom.no
> > 
> 
> 
> 
> -- 
> Greg Wilkins<[EMAIL PROTECTED]>          GB  Phone: +44-(0)7092063462
> Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
> http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to