Hi, I'm trying to deploy tutorial application (from "Using Maven to develop JBI applications") that's using servicemix-file component. The deployment process fails and I cannot figure out what's wrong. Any help appreciated. Below log file from startup phase and deployment itself.
Regards, lkkl 11:40:02,046 | INFO | main | nnectorServerFactoryBean | jmx.ConnectorServerFactoryBean 191 | JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi 11:40:05,750 | INFO | main | JBIContainer | mix.jbi.container.JBIContainer 531 | ServiceMix 3.1.2 JBI Container (ServiceMix) is starting 11:40:05,750 | INFO | main | JBIContainer | mix.jbi.container.JBIContainer 534 | For help or more informations please see: http://incubator.apache.org/servicemix/ 11:40:05,750 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=ManagementContext 11:40:05,859 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=EnvironmentContext 11:40:05,890 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=ClientFactory 11:40:05,890 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.monitoring.StatisticsService$2 11:40:05,906 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.monitoring.StatisticsService$1 11:40:05,906 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=StatisticsService 11:40:05,921 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=Registry 11:40:05,937 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=SecuredBroker 11:40:05,937 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow$1 11:40:05,953 | DEBUG | main | JMSFlow | cemix.jbi.nmr.flow.jms.JMSFlow 212 | ServiceMix: Initializing jms flow 11:40:05,968 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow$1 11:40:05,968 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow$2 11:40:06,156 | DEBUG | main | JCAFlow | cemix.jbi.nmr.flow.jca.JCAFlow 190 | ServiceMix: Initializing jca flow 11:40:06,156 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow$1 11:40:06,156 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.nmr.flow.jca.JCAFlow$2 11:40:06,187 | INFO | main | JBIContainer | mix.jbi.container.JBIContainer 1097 | Activating component for: [container=ServiceMix,name=#SubscriptionManager#] with service: null component: [EMAIL PROTECTED] 11:40:06,203 | INFO | main | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 191 | Initializing component: #SubscriptionManager# 11:40:06,218 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=InstallationService 11:40:06,234 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService 11:40:06,281 | INFO | main | DeploymentService | bi.framework.DeploymentService 684 | Restoring service assemblies 11:40:06,281 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AutoDeploymentService 11:40:06,312 | DEBUG | main | AutoDeploymentService | ramework.AutoDeploymentService 705 | State file doesn't exist: C:\java15\sm312\data\smx\install.xml 11:40:06,312 | DEBUG | main | AutoDeploymentService | ramework.AutoDeploymentService 705 | State file doesn't exist: C:\java15\sm312\data\smx\deploy.xml 11:40:06,312 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AdminCommandsService 11:40:06,328 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.monitoring.StatisticsService$3 11:40:06,328 | DEBUG | main | JMSFlow | cemix.jbi.nmr.flow.jms.JMSFlow 274 | ServiceMix: Starting jms flow 11:40:06,437 | INFO | main | JBIContainer | mix.jbi.container.JBIContainer 610 | ServiceMix JBI Container (ServiceMix) started 11:40:06,453 | INFO | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 644 | Directory: install: Archive changed: processing servicemix-file-3.1.2-installer.zip ... 11:40:06,500 | DEBUG | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 586 | Unpacked archive C:\java15\sm312\install\servicemix-file-3.1.2-installer.zip to C:\java15\sm312\data\smx\tmp\servicemix-file-3.1.2-installer.0.tmp 11:40:06,734 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,734 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,734 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,734 | DEBUG | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 261 | Component dependencies: [servicemix-shared] 11:40:06,734 | WARN | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 281 | Shared libraries servicemix-shared are not installed yet: the componentservicemix-file installation is suspended and will be resumed once the listed shared libraries are installed 11:40:06,734 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:06,734 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:06,734 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:06,734 | INFO | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 647 | Directory: install: Finished installation of archive: servicemix-file-3.1.2-installer.zip 11:40:06,859 | INFO | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 644 | Directory: install: Archive changed: processing servicemix-shared-3.1.2-installer.zip ... 11:40:06,937 | DEBUG | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 586 | Unpacked archive C:\java15\sm312\install\servicemix-shared-3.1.2-installer.zip to C:\java15\sm312\data\smx\tmp\servicemix-shared-3.1.2-installer.0.tmp 11:40:06,953 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,953 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,968 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:06,968 | DEBUG | Timer-4 | InstallationService | .framework.InstallationService 395 | Moved C:\java15\sm312\data\smx\tmp\servicemix-shared-3.1.2-installer.0.tmp to C:\java15\sm312\data\smx\sharedlibs\servicemix-shared\version_1 11:40:07,187 | DEBUG | Timer-4 | InstallationService | .framework.InstallationService 425 | Moved C:\java15\sm312\data\smx\tmp\servicemix-file-3.1.2-installer.0.tmp to C:\java15\sm312\data\smx\components\servicemix-file\version_1 11:40:07,203 | DEBUG | Timer-4 | InstallerMBeanImpl | i.framework.InstallerMBeanImpl 346 | Component class loader: [org.apache.xbean.classloader.JarFileClassLoader: name=Component ClassLoader urls=[file:/C:/java15/sm312/data/smx/components/servicemix-file/version_1/lib/servicemix-file-3.1.2.jar] [EMAIL PROTECTED] 11:40:07,218 | DEBUG | Timer-4 | InstallerMBeanImpl | i.framework.InstallerMBeanImpl 346 | Component class loader: [org.apache.xbean.classloader.JarFileClassLoader: name=Component ClassLoader urls=[file:/C:/java15/sm312/data/smx/components/servicemix-file/version_1/lib/servicemix-file-3.1.2.jar] parents=[[org.apache.xbean.classloader.JarFileClassLoader: name=servicemix-shared urls=[file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/servicemix-shared-3.1.2.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/servicemix-common-3.1.2.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/opensaml-1.1.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/servicemix-soap-3.1.2.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/xmlsec-1.3.0.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/bcprov-jdk14-124.jar, file:/C:/java15/sm312/data/smx/sharedlibs/servicemix-shared/version_1/lib/wss4j-1.5.0.jar] [EMAIL PROTECTED] 11:40:07,281 | INFO | Timer-4 | JBIContainer | mix.jbi.container.JBIContainer 1097 | Activating component for: [container=ServiceMix,name=servicemix-file] with service: null component: [EMAIL PROTECTED] 11:40:07,296 | INFO | Timer-4 | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 214 | Starting component: servicemix-file 11:40:07,296 | INFO | Timer-4 | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 191 | Initializing component: servicemix-file 11:40:07,296 | DEBUG | Timer-4 | FileComponent | emix.common.AsyncBaseLifeCycle 131 | Initializing component 11:40:07,296 | DEBUG | Timer-4 | FileComponent | emix.common.AsyncBaseLifeCycle 144 | Component initialized 11:40:07,296 | DEBUG | Timer-4 | FileComponent | emix.common.AsyncBaseLifeCycle 232 | Starting component 11:40:07,296 | DEBUG | Timer-4 | FileComponent | emix.common.AsyncBaseLifeCycle 238 | Component started 11:40:07,359 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:07,359 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:07,359 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:07,359 | INFO | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 647 | Directory: install: Finished installation of archive: servicemix-shared-3.1.2-installer.zip 11:40:08,796 | INFO | main | JDBCAdapterFactory | icemix.jdbc.JDBCAdapterFactory 42 | Database driver recognized: [apache_derby_embedded_jdbc_driver] 11:40:08,859 | DEBUG | main | DefaultJDBCAdapter | dbc.adapter.DefaultJDBCAdapter 96 | Executing SQL: CREATE TABLE SM_AUDIT(ID VARCHAR(48) NOT NULL, DATA BLOB, PRIMARY KEY ( ID ) ) 11:40:08,921 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=JdbcAuditor 11:40:08,937 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1252 | Removing listener: class org.apache.servicemix.jbi.audit.jdbc.JdbcAuditor 11:40:08,937 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DotViewService 11:40:08,953 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.view.DotViewEndpointListener 11:40:08,953 | DEBUG | main | JBIContainer | mix.jbi.container.JBIContainer 1226 | Adding listener: class org.apache.servicemix.jbi.view.DotViewFlowListener 11:40:08,953 | DEBUG | main | ManagementContext | i.management.ManagementContext 592 | Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=LogService 11:40:08,968 | DEBUG | main | LogService | vicemix.jbi.logging.LogService 193 | Located logging configuration: file:/C:/java15/sm312/conf/log4j.xml 11:40:09,000 | INFO | main | LogTask | servicemix.jbi.logging.LogTask 58 | Logging system reconfigured using file: file:/C:/java15/sm312/conf/log4j.xml 11:40:41,421 | INFO | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 644 | Directory: deploy: Archive changed: processing tutorial-sa-1.0-SNAPSHOT.jar ... 11:40:41,437 | DEBUG | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 586 | Unpacked archive C:\java15\sm312\deploy\tutorial-sa-1.0-SNAPSHOT.jar to C:\java15\sm312\data\smx\tmp\tutorial-sa-1.0-SNAPSHOT.0.tmp 11:40:41,453 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:41,453 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:41,453 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 137 | Called Flow suspend 11:40:41,453 | DEBUG | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 319 | SA dependencies: [servicemix-file] 11:40:41,453 | DEBUG | Timer-4 | DeploymentService | bi.framework.DeploymentService 459 | Moving C:\java15\sm312\data\smx\tmp\tutorial-sa-1.0-SNAPSHOT.0.tmp to C:\java15\sm312\data\smx\service-assemblies\tutorial-sa\version_1\install 11:40:41,468 | DEBUG | Timer-4 | DeploymentService | bi.framework.DeploymentService 509 | Unpack service unit archive C:\java15\sm312\data\smx\service-assemblies\tutorial-sa\version_1\install\tutorial-file-su-1.0-SNAPSHOT.zip to C:\java15\sm312\data\smx\service-assemblies\tutorial-sa\version_1\sus\servicemix-file\tutorial-file-su 11:40:41,484 | DEBUG | Timer-4 | FileComponent | .common.BaseServiceUnitManager 61 | Deploying service unit 11:40:41,484 | DEBUG | Timer-4 | FileComponent | on.xbean.AbstractXBeanDeployer 53 | Looking for C:\java15\sm312\data\smx\service-assemblies\tutorial-sa\version_1\sus\servicemix-file\tutorial-file-su\xbean.xml: false 11:40:41,593 | ERROR | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 348 | Failed to update Service Assembly: tutorial-sa java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-file</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>Unable to find suitable deployer for Service Unit 'tutorial-file-su'</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </component-task-result-details> </component-task-result> </jbi-task-result> </jbi-task> at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121) at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107) at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:563) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:335) at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646) at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62) at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 11:40:41,593 | DEBUG | Timer-4 | SedaFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:41,593 | DEBUG | Timer-4 | JMSFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:41,593 | DEBUG | Timer-4 | JCAFlow | emix.jbi.nmr.flow.AbstractFlow 149 | Called Flow resume 11:40:41,593 | WARN | Timer-4 | AutoDeploymentService | ramework.AutoDeploymentService 650 | Directory: deploy: Automatic install of C:\java15\sm312\deploy\tutorial-sa-1.0-SNAPSHOT.jar failed javax.jbi.management.DeploymentException: Failed to update Service Assembly: tutorial-sa at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:349) at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:646) at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62) at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:609) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-file</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>Unable to find suitable deployer for Service Unit 'tutorial-file-su'</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </component-task-result-details> </component-task-result> </jbi-task-result> </jbi-task> at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121) at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107) at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:563) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:335) ... 5 more -- View this message in context: http://www.nabble.com/-servicemix-file--tutorial-deployment-problem-tf4639276s12049.html#a13250303 Sent from the ServiceMix - User mailing list archive at Nabble.com.
