-
1. Re: Can Fuse ESB 4.x deployed into an Appserver_
mielket Mar 22, 2011 4:21 AM (in response to smartybarty)Hello,
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.
For deploying FUSE ESB into Websphere I raised two bugs yesterday: ESB-1418 and ESB-1419.
Edited by: tmielke on Mar 22, 2011 8:21 AM
-
2. Re: Can Fuse ESB 4.x deployed into an Appserver_
smartybarty Mar 22, 2011 7:45 AM (in response to mielket)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
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
.....
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?
-
3. Re: Can Fuse ESB 4.x deployed into an Appserver_
mielket Mar 22, 2011 8:27 AM (in response to smartybarty)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.
-
4. Re: Can Fuse ESB 4.x deployed into an Appserver_
mielket Mar 22, 2011 8:38 AM (in response to smartybarty)Just double checked again, we currently don't have war distribution for ServiceMix 4. So this deployment model is not supported.
-
5. Re: Can Fuse ESB 4.x deployed into an Appserver_
smartybarty Mar 23, 2011 8:26 AM (in response to mielket)tanks, this coincide with my findings
-
6. Re: Can Fuse ESB 4.x deployed into an Appserver_
baleado Mar 9, 2012 11:50 AM (in response to mielket)Since then, there are any progress that allows ServiceMix 4 to be deployed in a J2EE Application Server?
-
7. Re: Can Fuse ESB 4.x deployed into an Appserver_
davsclaus Mar 10, 2012 3:37 AM (in response to baleado)See this discussion at the SMX mailing list
-
8. Re: Can Fuse ESB 4.x deployed into an Appserver_
davsclaus Mar 10, 2012 3:38 AM (in response to baleado)What J2EE App Server do you want to use?