Yes, FUSE ESB can be run inside a J2EE application server.
However this is a scenario that is not used very often (there generally isn't much benefit in deploying into an Appserver).
You could either use the war file that is generated from the servicemix-web example or if you download and build the source code, there is a distributions/apache-servicemix-web/target/.war file generated as well. The former deploys a few example endpoints, which you might not want/need in your own application.
Edited by: tmielke on Mar 22, 2011 8:21 AM
thanks for your reply, but if I try to deploy the war from fruse web-example to a Glassfish it hangs every time. Trying to deploy it into a tomcat I get the following exception:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource ; nested exception is java.io.FileNotFoundException: class path resource cannot be opened because it does not exist
I'm still not sure your comment includes the current 4.x version. The linked bug that describes problems with websphere integration covers the 3.4.0 version that has not the same architecture as the 4.x one.
Are you sure that the 4.x Fuse also runs in an App-Server?
Sorry, I based my answer on version FUSE ESB 3.x.
4.x will be different indeed.
Regarding your error, you seem to be missing some CXF jars in the generated war file. Try adding the corresponding jar files to the mvn dependency list and regenerate the war.
Just double checked again, we currently don't have war distribution for ServiceMix 4. So this deployment model is not supported.
tanks, this coincide with my findings
Since then, there are any progress that allows ServiceMix 4 to be deployed in a J2EE Application Server?
What J2EE App Server do you want to use?