The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

maku (1) [Avatar] Offline

i tried to deploy chapter 3 exapmle to servicemix and I get following exception:

org.apache.xbean.kernel.ServiceRegistrationException: org.springframework.bean
s.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:esbinactionesbapache-servicemix-3.2.1data
smxservice-assembliesChapter3-JMSBindingServiceversion_1susservicemix-beanSU-BEANxbean.xml]; nested exception is org.springframework
.beans.FatalBeanException: Unable to resolve classpath location bcel.jar
at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(
at org.apache.xbean.kernel.standard.StandardKernel.registerService(
at org.apache.xbean.server.spring.loader.SpringLoader.load(
at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(
at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(
at org.apache.servicemix.common.BaseServiceUnitManager.deploy(
at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(
at org.apache.servicemix.jbi.framework.AutoDeploymentService$
at java.util.TimerThread.mainLoop(

In the serviceassembly are no libs. Isn't it necessary to deploy all libs uses in the SE's?

tijs.rademakers (494) [Avatar] Offline
Re: Chapter 3 - error on servicemix deployment
Hi Martin,

Are your sure you've the latest version of the source code? Because you should have a xbean.xml file in the resources/chapter3/bean directory which defines a number of libraries to include and these libraries are stored in the sub-directory resources. If this doesn't work please post a reply.

Best regards,