On 9/28/07, jpuro <[EMAIL PROTECTED]> 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)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Apache Geronimo - http://geronimo.apache.org/ Castor - http://castor.org/
