Starting Apache ServiceMix ESB: 3.0-incubating Loading Apache ServiceMix from servicemix.xml on the CLASSPATH INFO - ConnectorServerFactoryBean - JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi INFO - JBIContainer - ServiceMix 3.0-incubating JBI Container (ServiceMix) is starting INFO - JBIContainer - For help or more informations please see: http://incubator.apache.org/servicemix/ INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager# INFO - DeploymentService - Restoring service assemblies INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) started INFO - AutoDeploymentService - Directory: install: Archive changed: processing ode-jbi-install-2.0-SNAPSHOT.zip ... INFO - ComponentMBeanImpl - Starting component: OdeBpelEngine INFO - ComponentMBeanImpl - Initializing component: OdeBpelEngine INFO - Environment - Hibernate 3.1.2 INFO - Environment - hibernate.properties not found INFO - Environment - using CGLIB reflection optimizer INFO - Environment - using JDK 1.4 java.sql.Timestamp handling INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HProcess.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HProcess -> BPEL_PROCESS INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HProcessProperty.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HProcessProperty -> BPEL_PROCESS_PROPERTY INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HProcessInstance.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HProcessInstance -> BPEL_INSTANCE INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelator.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelator -> BPEL_CORRELATOR INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelatorSelector.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelatorSelector -> BPEL_CORRELATOR_SELECTOR INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelatorMessage.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelatorMessage -> BPEL_CORRELATOR_MESSAGE INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelatorMessageKey.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelatorMessageKey -> BPEL_CORRELATOR_MESSAGE_CKEY INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelationProperty.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelationProperty -> BPEL_CORRELATION_PROP INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HMessageExchange.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HMessageExchange -> BPEL_MESSAGE_EXCHANGE INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HMessageExchange.properties -> BPEL_MEX_PROPS INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HMessage.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HMessage -> BPEL_MESSAGE INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HPartnerLink.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HPartnerLink -> BPEL_PLINK_VAL INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HScope.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HScope -> BPEL_SCOPE INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HCorrelationSet.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HCorrelationSet -> BPEL_CORRELATION_SET INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HXmlData.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HXmlData -> BPEL_XML_DATA INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HVariableProperty.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HVariableProperty -> VAR_PROPERTY INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HBpelEvent.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HBpelEvent -> BPEL_EVENT INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HFaultData.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HFaultData -> BPEL_FAULT INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/bpel/hobj/HActivityRecovery.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.bpel.hobj.HActivityRecovery -> BPEL_ACTIVITY_RECOVERY INFO - Configuration - Reading mappings from resource: org/apache/ode/daohib/hobj/HLargeData.hbm.xml INFO - HbmBinder - Mapping class: org.apache.ode.daohib.hobj.HLargeData -> LARGE_DATA INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.messageExchanges -> BPEL_MESSAGE_EXCHANGE INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.correlators -> BPEL_CORRELATOR INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.instances -> BPEL_INSTANCE INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.properties -> BPEL_PROCESS_PROPERTY INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.events -> BPEL_EVENT INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcess.deploymentPartnerLinks -> BPEL_PLINK_VAL INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcessInstance.events -> BPEL_EVENT INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcessInstance.correlatorSelectors -> BPEL_CORRELATOR_SELECTOR INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcessInstance.scopes -> BPEL_SCOPE INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcessInstance.correlationSets -> BPEL_CORRELATION_SET INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HProcessInstance.activityRecoveries -> BPEL_ACTIVITY_RECOVERY INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HCorrelator.messageCorrelations -> BPEL_CORRELATOR_MESSAGE INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HCorrelator.selectors -> BPEL_CORRELATOR_SELECTOR INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HCorrelatorMessage.correlationHashKeys -> BPEL_CORRELATOR_MESSAGE_CKEY INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HScope.correlationSets -> BPEL_CORRELATION_SET INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HScope.variables -> BPEL_XML_DATA INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HScope.partnerLinks -> BPEL_PLINK_VAL INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HCorrelationSet.properties -> BPEL_CORRELATION_PROP INFO - HbmBinder - Mapping collection: org.apache.ode.daohib.bpel.hobj.HXmlData.properties -> VAR_PROPERTY INFO - ConnectionProviderFactory - Initializing connection provider: org.apache.ode.daohib.DataSourceConnectionProvider INFO - SettingsFactory - RDBMS: Apache Derby, version: 10.1.1.0 INFO - SettingsFactory - JDBC driver: Apache Derby Embedded JDBC Driver, version: 10.1.1.0 INFO - Dialect - Using dialect: org.hibernate.dialect.DerbyDialect INFO - TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions) INFO - TransactionManagerLookupFactory - instantiating TransactionManagerLookup: org.apache.ode.daohib.HibernateTransactionManagerLookup INFO - TransactionManagerLookupFactory - instantiated TransactionManagerLookup INFO - SettingsFactory - Automatic flush during beforeCompletion(): disabled INFO - SettingsFactory - Automatic session close at end of transaction: disabled INFO - SettingsFactory - Scrollable result sets: enabled INFO - SettingsFactory - JDBC3 getGeneratedKeys(): disabled INFO - SettingsFactory - Connection release mode: auto INFO - SettingsFactory - Default batch fetch size: 1 INFO - SettingsFactory - Generate SQL with comments: disabled INFO - SettingsFactory - Order SQL updates by primary key: disabled INFO - SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory INFO - ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory INFO - SettingsFactory - Query language substitutions: {} INFO - SettingsFactory - Second-level cache: enabled INFO - SettingsFactory - Query cache: disabled INFO - SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider INFO - SettingsFactory - Optimize cache for minimal puts: disabled INFO - SettingsFactory - Structured second-level cache entries: disabled INFO - SettingsFactory - Statistics: disabled INFO - SettingsFactory - Deleted entity synthetic identifier rollback: disabled INFO - SettingsFactory - Default entity-mode: pojo INFO - SessionFactoryImpl - building session factory WARN - Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/servers/apache-servicemix-3.0-incubating/data/smx/components/OdeBpelEngine/version_1/lib/ehcache.jar!/ehcache-failsafe.xml INFO - SessionFactoryObjectFactory - Factory name: jta INFO - NamingHelper - JNDI InitialContext properties:{} INFO - SessionFactoryObjectFactory - Bound factory to JNDI name: jta WARN - SessionFactoryObjectFactory - InitialContext did not implement EventContext INFO - QuartzScheduler - Quartz Scheduler v.1.5.1 created. ERROR - OdeLifeCycle - Failed to initialize JCA connector. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI class loader disabled) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at org.apache.ode.jca.server.rmi.RmiTransportServerImpl.start(RmiTransportServerImpl.java:91) at org.apache.ode.bpel.connector.BpelServerConnector.start(BpelServerConnector.java:44) at org.apache.ode.jbi.OdeLifeCycle.initConnector(OdeLifeCycle.java:330) at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:130) at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:196) at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:283) at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:212) at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:325) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:247) at org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:592) at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:595) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI class loader disabled) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) ... 1 more Caused by: java.lang.ClassNotFoundException: org.apache.ode.ra.transports.rmi.OdeRemote (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1500) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1463) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) ... 9 more INFO - QuartzScheduler - Scheduler ODEScheduler_$_ODE started. INFO - AutoDeploymentService - Directory: install: Finished installation of archive: ode-jbi-install-2.0-SNAPSHOT.zip ERROR - BpelC - C:\servers\apache-servicemix-3.0-incubating\data\smx\service-assemblies\trading-assembly\version_1\sus\OdeBpelEngine\trading-bpe\TradeProcess.bpel:4: error: [UndeclaredPartnerLink] Attempt to reference undeclared partner link "null". ERROR - OdeServiceUnit - Error deploying process described by deployment descriptor "C:\servers\apache-servicemix-3.0-incubating\data\smx\service-assemblies\trading-assembly\version_1\sus\OdeBpelEngine\trading-bpe" for service unit "trading-bpe". org.apache.ode.bpel.iapi.BpelEngineException: Compilation failure! at org.apache.ode.bpel.deploy.DeploymentUnitImpl.loadProcessDefinitions(DeploymentUnitImpl.java:145) at org.apache.ode.bpel.deploy.DeploymentUnitImpl.getProcesses(DeploymentUnitImpl.java:223) at org.apache.ode.bpel.engine.BpelServerImpl.deploy(BpelServerImpl.java:626) at org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:61) at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:59) at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:527) at org.apache.servicemix.jbi.framework.DeploymentService.deploy(DeploymentService.java:203) at org.apache.servicemix.jbi.framework.AdminCommandsService.deployServiceAssembly(AdminCommandsService.java:220) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) at org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:316) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) ERROR - OdeSUManager - Error deploying service unit "trading-bpe". INFO - ServiceAssemblyLifeCycle - Starting service assembly: trading-assembly INFO - ServiceUnitLifeCycle - Initializing service unit: trading-bpe INFO - ServiceUnitLifeCycle - Starting service unit: trading-bpe