No,
I don't think so.
It's just a matter of getting the name of the virtual host from the JBoss deployer
into the integration code, so
I can pass it to you.
Jules
Greg Wilkins wrote:
> The deployer per virtual host is a good idea and you should be
> able to support is simply in the jboss/jetty module.
>
> Virtual hosting is certainly not a WAR level thing - no more than
> the port and IP of the HTTP server is known to the WAR. Thus it
> should be a the level of deployment.
>
> But this does not prevent people using mechanisms such as
> web-jetty.xml to configure deployment details from within the WAR
> (eg creating listeners and registering with virtual hosts). But
> my attitude to that is while it can be done if needed - this really
> should be solved at the deployer level.
>
> Jetty allows a context to be registered against multiple hosts and
> it also allows host aliases to be created. So it makes sense to me
> to allow a deployer to represent a collection of virtual hosts names
> and aliases.
>
> However, your example of hosts 1,2,3 vs host 2,3,4 is not really a
> problem as some other mechanism (eg path) would be needed to separate
> the applications on hosts 2 & 3.
>
> Do you need anything from Jetty to change to support these multiple
> deployers in the jetty/jboss module? If so, yell quickly so it makes
> it into 3.1.0
>
> regards
>
> Julian Gosnell wrote:
>
> > There is a patch in the jboss patch list to do virtual host support.
> >
> > It seems to take the route of adding a virtual host attribute to the
> > J2EEDeployer - one deployer:one host. So the more virtual hosts you
> > want, the more J2EEDeployers you run.
> >
> > This is quite nice as it means you can do stuff like move an ear from
> > host1.deploy/foo.ear to host2.deploy/foo.ear and your app will be
> > hot-undeployed from one virtual host and hot-redeployed onto another
> > one.
> >
> > I did kick off a thread about this a while ago, but I want to approach
> > this from a different angle and get a consensus on how it should be
> > done, since I think it would be fun to have.
> >
> >
> > 1. Are virtual hosts an EAR or WAR level thang ? e.g. do they have any
> > relevance to EJBs ?
> >
> > 2. Is there any support for it in standard J2EE descriptors ?
> >
> > 3. If not, should it be configured in e.g. a proprietary descriptor, or
> > achieved in some other way (like multiple deployers) ?
> >
> >
> > I like the multiple deployer solution presented, however I see a couple
> > of problems.
> >
> > If this is a WAR level abstraction, then you could argue that changes to
> > accomodate it should only impact on the web-container.
> >
> > What happens if you want to say e.g. app1 runs on host1,2,3 and app2
> > runs on host2,3,4 ? You could do it by deploying multiple copies of the
> > apps, but I am sure i recall being shown a piece of configuration in
> > which a list of hosts was configured for a single app....
> >
> > Perhaps a single deployer could support a group of virtual hosts ? - or
> > is this just multiple deployers watching a single directory (No, because
> > you may want to talk to a single deployer via e.g. JMX)_..
> >
> > etc...
> >
> >
> >
> > Anyone interested ?
> >
> >
> > Jules
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> > Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE
>Guide, "Securing Your Web
> > site for Business" and learn all about serious security. Get it Now!
> > http://us.click.yahoo.com/r0k.gC/oT7CAA/yigFAA/CefplB/TM
> > ---------------------------------------------------------------------~->
> >
> > For the latest information about Jetty, please see http://jetty.mortbay.
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
>
> --
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development