Deploying orbeon in an EAR

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploying orbeon in an EAR

Antoine.DE-TROOSTEMBERGH
Deploying orbeon in an EAR

Hi,

I would like to deploy several orbeon applications in one ear. I tried to put the libs on ear level but this does not work for all jars.

What are the jars that need to be located in the war and what are the 3th party libs that I can put on ear level.

I would like not to have to deploy the whole 50 Mb for earch web module inside my ear.

Thanks,

Antoine



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Deploying orbeon in an EAR

Erik Bruchez
Administrator
Without trying, I wouldn't know. It seems that it should just works  
and that you should be able to share all the JAR files.

What error are you getting?

-Erik

> Hi,
>
> I would like to deploy several orbeon applications in one ear. I  
> tried to put the libs on ear level but this does not work for all  
> jars.
>
> What are the jars that need to be located in the war and what are  
> the 3th party libs that I can put on ear level.
>
> I would like not to have to deploy the whole 50 Mb for earch web  
> module inside my ear.
>
> Thanks,
>
> Antoine
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Deploying orbeon in an EAR

Antoine.DE-TROOSTEMBERGH
Hi,

When I put all the jars at ear level, I can only access one of the web modules in the ear.
It must be a classloader problem; it is declared static, so we have only one instance of the servlet and it always points to the same application instead of having one classloader per war.

I'll try to make you a small example.


Thanks,

Antoine

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Wednesday, October 15, 2008 4:40 AM
To: [hidden email]
Subject: [ops-users] Re: Deploying orbeon in an EAR

Without trying, I wouldn't know. It seems that it should just works  
and that you should be able to share all the JAR files.

What error are you getting?

-Erik

> Hi,
>
> I would like to deploy several orbeon applications in one ear. I  
> tried to put the libs on ear level but this does not work for all  
> jars.
>
> What are the jars that need to be located in the war and what are  
> the 3th party libs that I can put on ear level.
>
> I would like not to have to deploy the whole 50 Mb for earch web  
> module inside my ear.
>
> Thanks,
>
> Antoine
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Deploying orbeon in an EAR

Alessandro Vernet
Administrator
In reply to this post by Antoine.DE-TROOSTEMBERGH
On Thu, Oct 16, 2008 at 8:57 AM,  <[hidden email]
 > wrote:
> When I put all the jars at ear level, I can only access one of the  
> web modules in the ear.
> It must be a classloader problem; it is declared static, so we have  
> only one instance of the servlet and it always points to the same  
> application instead of having one classloader per war.

Alternatively, would it be possible to deploy those different  
applications inside the same orbeon.war? In general this is the way to  
go, unless you have different applications which use different version  
of Orbeon Forms. But if that is the case, you won't be able to share  
jar files anyway.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws