I'm a little puzzled still by classloading when using the servicemix-web war
inside tomcat.  It seems as though classes cannot be found unless they are
in the servicemix-web war WEB-INF/lib directory, which seems strange to me
when they are included in the service engine.  An example of this is the
servicemix-jms (the jms jars).  I created a new service-engine today since
one of my services was outgrowing the servicemix-bean component.  The
service-engine works perfectly until it runs in the servicemix-web
distribution.  At that point, my service units won't start because various
classes cannot be found, even though they are present in my service-engine,
as they should be.  The only way around this, as with all the other
service-engine components is to copy all the jar files from the
service-engine to the servicemix-web/WEB-INF/lib directory.  This seems a
little silly to me since you can run a service-engine as is from the
standalone servicemix.  I'm a little puzzled why service-engines do not
classload correctly from the servicemix-web WAR.... am I just deploying it
incorrectly?  I can't imagine that you have to manually copy all the jars
from any service engine that you are deploying.  Does anyone use
servicemix-web that has a way of using it that is similar to the standlone,
where you can deploy SEs and SUs without any modifications?

Thanks for any help!

Ryan

Reply via email to