List Info

Thread: ServiceMix Deployment - Standalone Vs. JBoss




ServiceMix Deployment - Standalone Vs. JBoss
country flaguser name
United States
2007-09-28 13:29:39
What are the inherent benefits/detriments of deploying
ServiceMix as a
standalone product versus deploying it as a SAR or WAR under
JBoss or some
other application server?  From my experience using JBoss
there are
potential issues or questions that arise:

1)  Class Loading - I have experienced many class loading
issues running
ServiceMix under JBoss's universal class sharing system. 
For example,
Hibernate is included in JBoss's lib directory as one
version, but your
Service Unit may need a higher version of it.  Seems that
ServiceMix ends up
picking up the top most version (JBoss's).

2)  Clustering - Using standard load balanced clustering
with Apache and
JBoss seems to not give the most reliability in terms of
internal ServiceMix
message communications between services.  It would seem that
using JMSFlow
would be a more reliable way of achieving clustering with
ServiceMix.  But
how do you marry the two when deploying ServiceMix under
JBoss?  Would this
suggest that a standalone deployment is in order?

Thanks,

-Jeff
-- 
View this message in context: http://www.nabb
le.com/ServiceMix-Deployment---Standalone-Vs.-JBoss-tf453609
3s12049.html#a12946007
Sent from the ServiceMix - User mailing list archive at
Nabble.com.


Re: ServiceMix Deployment - Standalone Vs. JBoss
user name
2007-10-03 03:08:56
On 9/28/07, jpuro <jpurosterlingtesting.com>
wrote:
>
> What are the inherent benefits/detriments of deploying
ServiceMix as a
> standalone product versus deploying it as a SAR or WAR
under JBoss or some
> other application server?  From my experience using
JBoss there are
> potential issues or questions that arise:
>
> 1)  Class Loading - I have experienced many class
loading issues running
> ServiceMix under JBoss's universal class sharing
system.  For example,
> Hibernate is included in JBoss's lib directory as one
version, but your
> Service Unit may need a higher version of it.  Seems
that ServiceMix ends up
> picking up the top most version (JBoss's).

Have you configured inverse classloading via the SU
configuration?

http://incubator.apache.org/servicemix/classloaders.html


> 2)  Clustering - Using standard load balanced
clustering with Apache and
> JBoss seems to not give the most reliability in terms
of internal ServiceMix
> message communications between services.  It would seem
that using JMSFlow
> would be a more reliable way of achieving clustering
with ServiceMix.  But
> how do you marry the two when deploying ServiceMix
under JBoss?  Would this
> suggest that a standalone deployment is in order?

I suppose you could configure ServiceMix to only use the JMS
flow with
a vm:// transport URI so that it's the only flow available.
But this
only addresses ServiceMix. I hazard a guess that your flow
through
these various components to look like this:

HTTP -> JBoss/Tomcat -> ServiceMix

Am I to assume that you're using the servicemix-http
component to
accept HTTP requests? If so, this component uses Jetty
internally but
there are two flavors; the http:endpoint and
http:consumer/http:provider combination. Which one are you
using?

Bruce
Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V44VYY9&5R"F)R=6-E+G-N>61E<D!G;6%I;&q
uot;YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.or
g/
Castor - http://castor.org/

Re: ServiceMix Deployment - Standalone Vs. JBoss
user name
2007-10-03 04:26:12
Note that if you deploy servicemix as a web application (for
example
using the default web app distribution), servicemix-http
will reuse
the existing web server to accept incoming requests and
won't start a
embedded jetty server.

On 10/3/07, Bruce Snyder <bruce.snydergmail.com> wrote:
> On 9/28/07, jpuro <jpurosterlingtesting.com>
wrote:
> >
> > What are the inherent benefits/detriments of
deploying ServiceMix as a
> > standalone product versus deploying it as a SAR or
WAR under JBoss or some
> > other application server?  From my experience
using JBoss there are
> > potential issues or questions that arise:
> >
> > 1)  Class Loading - I have experienced many class
loading issues running
> > ServiceMix under JBoss's universal class sharing
system.  For example,
> > Hibernate is included in JBoss's lib directory as
one version, but your
> > Service Unit may need a higher version of it. 
Seems that ServiceMix ends up
> > picking up the top most version (JBoss's).
>
> Have you configured inverse classloading via the SU
configuration?
>
> http://incubator.apache.org/servicemix/classloaders.html

>
> > 2)  Clustering - Using standard load balanced
clustering with Apache and
> > JBoss seems to not give the most reliability in
terms of internal ServiceMix
> > message communications between services.  It would
seem that using JMSFlow
> > would be a more reliable way of achieving
clustering with ServiceMix.  But
> > how do you marry the two when deploying ServiceMix
under JBoss?  Would this
> > suggest that a standalone deployment is in order?
>
> I suppose you could configure ServiceMix to only use
the JMS flow with
> a vm:// transport URI so that it's the only flow
available. But this
> only addresses ServiceMix. I hazard a guess that your
flow through
> these various components to look like this:
>
> HTTP -> JBoss/Tomcat -> ServiceMix
>
> Am I to assume that you're using the servicemix-http
component to
> accept HTTP requests? If so, this component uses Jetty
internally but
> there are two flavors; the http:endpoint and
> http:consumer/http:provider combination. Which one are
you using?
>
> Bruce
> Bruce
> --
> perl -e 'print
unpack("u30","D0G)U8V44VYY9&5R"F)R=6-E+G-N>61E<D!G;6%I;&q
uot;YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.or
g/
> Castor - http://castor.org/
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.co
m/

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )