users@glassfish.java.net

Re: Deployment of an EAR with multiple WARs to different HTTP listeners

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Tue, 26 Jan 2010 15:07:19 +0100

You could try using the new integrated osgi support in glassfish v3.

Check this out:
http://www.javapassion.com/handsonlabs/glassfish_osgi
(especially the service & client example!)

this worked for me with the simple example given there... don't know however
how good it will work with ejbs etc. but it might be worth a try.



On Tue, Jan 26, 2010 at 2:49 PM, Witold Szczerba <pljosh.mail_at_gmail.com> wrote:
> 2010/1/26  <glassfish_at_javadesktop.org>:
>> Hi,
>>
>> I have an application EAR that consists of two WARs and a single EJB JAR.
>>
>> For security reasons (let's say, different SSL trust stores), the web applications must use different HTTP listeners, and each web application must only be accessible by one of the listeners, e.g.:
>>
>> https://myhost:8443/webapp1  --> OK
>> https://myhost:8443/webapp2  --> FAIL
>>
>> https://myhost:9443/webapp1  --> FAIL
>> https://myhost:9443/webapp2  --> OK
>>
>
> I think all you can do now is to hide Glassfish behind something else
> like Apache HTTP server and configure it as a proxy for Glassfish.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Dominik Dorn
http://dominikdorn.com