You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Raj@nih" <yr...@gmail.com> on 2008/03/26 15:04:46 UTC

Reg:Camel example

Hi,
I tried running camel examples that comes with version 3.2.1.
We are trying to replace servicemix-eip with camel component so I was
looking into using it.
But while i am running,it gives null message instead of assigned message.
Here is my log.Thanks for any suggestions.

C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa>mvn jbi:servicemix
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO] org.apache.maven.plugins: checking for updates from internal
[INFO] org.apache.maven.plugins: checking for updates from apache.incubating
[INFO] org.apache.maven.plugins: checking for updates from apache-releases
[INFO] org.apache.maven.plugins: checking for updates from
servicemix-m2-repo
[INFO] org.apache.maven.plugins: checking for updates from apache-incubating
[INFO] org.codehaus.mojo: checking for updates from internal
[INFO] org.codehaus.mojo: checking for updates from apache.incubating
[INFO] org.codehaus.mojo: checking for updates from apache-releases
[INFO] org.codehaus.mojo: checking for updates from servicemix-m2-repo
[INFO] org.codehaus.mojo: checking for updates from apache-incubating
[INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
for updates from internal
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata
[INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
for updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
for updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
for updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
for updates from apache-incubating
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA
[INFO]    task-segment: [jbi:servicemix]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://wwww.ibiblio.org/repo/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://www.ibiblio.org/proxy/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://209.40.206.103:8080/archiva/repository/internal//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [jbi:servicemix]
[INFO] Cleaning ServiceMix root directory
[C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target/servicemix/rootDir]
[INFO] Starting Apache ServiceMix
2008-03-26 10:02:21,552 [main           ] WARN  EndpointRegistry              
- Disabled endpoint processor 'org.apache.servicemi
2008-03-26 10:02:21,724 [main           ] INFO  JBIContainer                  
- ServiceMix 3.2.1 JBI Container (ServiceMix) is st
2008-03-26 10:02:21,724 [main           ] INFO  JBIContainer                  
- For help or more informations please see: http://
2008-03-26 10:02:22,302 [main           ] INFO  ConnectorServerFactoryBean    
- JMX connector server started: javax.management.re
2008-03-26 10:02:22,302 [main           ] INFO  ConnectorServerFactoryBean    
- JMX connector available at: service:jmx:rmi:///jn
2008-03-26 10:02:22,505 [main           ] INFO  ComponentMBeanImpl            
- Initializing component: #SubscriptionManager#
2008-03-26 10:02:22,537 [main           ] INFO  DeploymentService             
- Restoring service assemblies
2008-03-26 10:02:22,568 [main           ] WARN  ClientFactory                 
- Cound not start ClientFactory: javax.naming.NoIni
2008-03-26 10:02:22,584 [main           ] INFO  JBIContainer                  
- ServiceMix JBI Container (ServiceMix) started
[WARNING] Attempting to build MavenProject instance for Artifact of type:
jar; constructing POM artifact instead.
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: SA has 2 child dependencies
[INFO]  - jbi-service-assembly : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\cam
[INFO]  - jbi-component : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\servicemix
[INFO]  - jbi-shared-library : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\3.2.1\serv
[INFO] -----------------------------------------------------------
[INFO] servicemix-shared is not deployed
[INFO] Deploying jbi-shared-library from C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\
[INFO] servicemix-camel is not deployed
[INFO] Deploying jbi-component from C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\
2008-03-26 10:02:25,380 [165.112.132.220] INFO  ComponentMBeanImpl            
- Starting component: servicemix-camel
2008-03-26 10:02:25,380 [165.112.132.220] INFO  ComponentMBeanImpl            
- Initializing component: servicemix-camel
[INFO] camel-sa is not deployed
[INFO] Deploying jbi-service-assembly from C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa
2008-03-26 10:02:26,334 [165.112.132.220] INFO  GenericApplicationContext     
- Refreshing org.springframework.context.support.Ge
2008-03-26 10:02:26,334 [165.112.132.220] INFO  GenericApplicationContext     
- Bean factory for application context [org.springf
2008-03-26 10:02:26,365 [165.112.132.220] INFO  DefaultListableBeanFactory    
- Pre-instantiating singletons in org.springframewo
2008-03-26 10:02:26,396 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSy
2008-03-26 10:02:26,443 [165.112.132.220] INFO  XBeanXmlBeanDefinitionReader  
- Loading XML bean definitions from file [C:\sm321\
2008-03-26 10:02:28,005 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Bean factory for application context
[org.apache.
2008-03-26 10:02:28,552 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Bean
'org.apache.servicemix.samples.MyRouteBuilde
2008-03-26 10:02:28,568 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Bean 'camelContext' is not eligible for
getting p
2008-03-26 10:02:28,568 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Bean 'camelContext' is not eligible for
getting p
2008-03-26 10:02:28,568 [165.112.132.220] INFO 
ileSystemXmlApplicationContext - Bean 'camelContext:beanPostProcessor' is
not elig
2008-03-26 10:02:28,568 [165.112.132.220] INFO  DefaultListableBeanFactory    
- Pre-instantiating singletons in org.springframewo
2008-03-26 10:02:29,037 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:29,037 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceAssemblyLifeCycle      
- Starting service assembly: camel-sa
2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceUnitLifeCycle          
- Initializing service unit: camel-simple-su
2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceUnitLifeCycle          
- Starting service unit: camel-simple-su
[INFO] Project deployed
2008-03-26 10:02:29,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:29,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:30,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:30,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:31,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:31,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:32,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:32,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:33,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:33,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:34,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:34,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:35,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:35,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:36,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:36,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:37,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:37,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:38,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:38,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:39,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:39,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:40,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:40,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:41,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:41,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:42,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:42,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:43,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:43,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:44,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:44,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:45,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:45,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:46,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:46,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:47,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:47,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:48,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:48,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:49,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:49,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:50,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:50,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:51,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:51,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:52,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:52,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:53,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:53,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:54,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:54,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:55,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:55,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:56,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:56,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:57,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:57,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:58,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:58,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:02:59,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:02:59,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:03:00,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:03:00,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:03:01,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:03:01,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:03:02,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:03:02,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
2008-03-26 10:03:03,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[null]
2008-03-26 10:03:03,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
- Exchange[Message: null]
-- 
View this message in context: http://www.nabble.com/Reg%3ACamel-example-tp16301353s12049p16301353.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Reg:Camel example

Posted by "Raj@nih" <yr...@gmail.com>.
Another approach is also failing.I started servicemix server and tried to
execute using command below then also its failing.I am getting null message
in servicemix server console



C:\sm321\apache-servicemix-3.2.1\examples\camel> mvn install
jbi:projectDeploy
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   ServiceMix :: Samples :: Camel
[INFO]   ServiceMix :: Samples :: Camel :: Simple SU
[INFO]   ServiceMix :: Samples :: Camel :: SA
[INFO]   ServiceMix :: Samples :: Camel :: SA :: iTest
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from apache-incubating
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for
updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for
updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for
updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for
updates from apache-incubating
[INFO] [build:copy {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] [assembly:single {execution: src}]
[INFO] Building tar :
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.tar.gz
[INFO] Building zip:
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.zip
[INFO] [install:install]
[INFO] Installing C:\sm321\apache-servicemix-3.2.1\examples\camel\pom.xml to
C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.2.1.pom
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.tar.gz
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.zip
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.2.1
[INFO] [jbi:projectDeploy]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel has -1 child dependencies
[INFO] -----------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: Simple SU
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from apache-incubating
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for
updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for
updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for
updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for
updates from apache-incubating
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for
updates from apache.incubating
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for
updates from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for
updates from servicemix-m2-repo
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for
updates from apache-incubating
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://wwww.ibiblio.org/repo/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://www.ibiblio.org/proxy/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\classes\META-INF\maven\dependencies.properties
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\classes
[INFO] [jbi:generate-jbi-service-unit-descriptor]
[INFO] Generating jbi.xml
[INFO] generated : consumes [] provides []
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.jar
[INFO] [jbi:jbi-service-unit]
[INFO] Resolving org.springframework:spring-remoting:jar:2.0.6:compile
[INFO] Resolving org.springframework:spring-beans:jar:2.0.6:compile
[INFO] Resolving org.apache.ws.commons:XmlSchema:jar:1.1:compile
[WARNING] Attempting to build MavenProject instance for Artifact of type:
jar; constructing POM artifact instead.
[INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.1:compile
[INFO] Resolving wss4j:wss4j:jar:1.5.1:compile
[INFO] Resolving stax:stax-api:jar:1.0.1:compile
[INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
[INFO] Resolving log4j:log4j:jar:1.2.13:compile
[INFO] Resolving org.springframework:spring-context:jar:2.0.6:compile
[INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
[INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
[INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.2:compile
[INFO] Resolving com.sun.xml.bind:jaxb-impl:jar:2.0.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.1:compile
[INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
[INFO] Resolving org.apache.camel:camel-core:jar:1.2.0:compile
[INFO] Resolving org.apache.camel:camel-spring:jar:1.2.0:compile
[INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
[INFO] Resolving org.springframework:spring-core:jar:2.0.6:compile
[INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.1:compile
[INFO] Resolving wsdl4j:wsdl4j:jar:1.6.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-camel:jar:3.2.1:compile
[INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.1:compile
[INFO] Resolving javax.xml:jaxb-api:jar:2.0:compile
[INFO] Including: org.springframework:spring-context:jar:2.0.6:compile
[INFO] Including: org.springframework:spring-beans:jar:2.0.6:compile
[INFO] Including: commons-logging:commons-logging:jar:1.1:compile
[INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
[INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Including: org.springframework:spring-core:jar:2.0.6:compile
[INFO] Including: stax:stax-api:jar:1.0.1:compile
[INFO] Including: log4j:log4j:jar:1.2.13:compile
[INFO] Generating service unit
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
[INFO] [install:install]
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.jar
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\c
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\c
[INFO] [jbi:projectDeploy]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: Simple SU has -1 child dependencies
[INFO] -----------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [jbi:generate-jbi-service-assembly-descriptor]
[INFO] Generating jbi.xml
[INFO] Determining component name for service unit camel-simple-su
[INFO] Project org.apache.maven.project.MavenProject@8e9a5f14 packaged
jbi-component
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\classes\META-INF\maven\dependencies.properties
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jbi:jbi-service-assembly]
[INFO] [jar:jar]
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\camel-sa-3.2.1.jar
[INFO] [install:install]
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\camel-sa-3.2.1.jar
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\
[INFO] [jbi:projectDeploy]
[WARNING] Attempting to build MavenProject instance for Artifact of type:
jar; constructing POM artifact instead.
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: SA has 2 child dependencies
[INFO]  - jbi-service-assembly : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\camel-sa-3.2.1.zip
[INFO]  - jbi-component : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\servicemix-camel-3.2.1-installer.zip
[INFO]  - jbi-shared-library : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\3.2.1\servicemix-shared-3.2.1-installer.zip
[INFO] -----------------------------------------------------------
[INFO] servicemix-shared is deployed
[INFO] servicemix-camel is deployed
[INFO] camel-sa is not deployed
[INFO] Deploying jbi-service-assembly from C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\camel-sa-3.2.1.zip
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA :: iTest
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\classes\META-INF\maven\dependencies.properties
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 3 source files to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.servicemix.test.SpringWithNoVersionsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.938 sec
<<< FAILURE!

Results :

Tests in error:
  testDeploy(org.apache.servicemix.test.SpringWithNoVersionsTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 minutes 46 seconds
[INFO] Finished at: Wed Mar 26 10:21:59 EDT 2008
[INFO] Final Memory: 24M/44M
[INFO]
------------------------------------------------------------------------

C:\sm321\apache-servicemix-3.2.1\examples\camel> mvn -e install
jbi:projectDeploy
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   ServiceMix :: Samples :: Camel
[INFO]   ServiceMix :: Samples :: Camel :: Simple SU
[INFO]   ServiceMix :: Samples :: Camel :: SA
[INFO]   ServiceMix :: Samples :: Camel :: SA :: iTest
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [build:copy {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] [assembly:single {execution: src}]
[INFO] Building tar :
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.tar.gz
[INFO] Building zip:
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.zip
[INFO] [install:install]
[INFO] Installing C:\sm321\apache-servicemix-3.2.1\examples\camel\pom.xml to
C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.2.1.pom
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.tar.gz
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\target\camel-3.2.1-src.zip
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel\3.2.1\camel-3.2.1
[INFO] [jbi:projectDeploy]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel has -1 child dependencies
[INFO] -----------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: Simple SU
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://wwww.ibiblio.org/repo/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://www.ibiblio.org/proxy/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\classes\META-INF\maven\dependencies.properties
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jbi:generate-jbi-service-unit-descriptor]
[INFO] Generating jbi.xml
[INFO] generated : consumes [] provides []
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.jar
[INFO] [jbi:jbi-service-unit]
[INFO] Resolving org.springframework:spring-beans:jar:2.0.6:compile
[INFO] Resolving org.springframework:spring-remoting:jar:2.0.6:compile
[INFO] Resolving org.apache.ws.commons:XmlSchema:jar:1.1:compile
[WARNING] Attempting to build MavenProject instance for Artifact of type:
jar; constructing POM artifact instead.
[INFO] Resolving xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.1:compile
[INFO] Resolving wss4j:wss4j:jar:1.5.1:compile
[INFO] Resolving stax:stax-api:jar:1.0.1:compile
[INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile
[INFO] Resolving log4j:log4j:jar:1.2.13:compile
[INFO] Resolving org.springframework:spring-context:jar:2.0.6:compile
[INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile
[INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile
[INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.2:compile
[INFO] Resolving com.sun.xml.bind:jaxb-impl:jar:2.0.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.1:compile
[INFO] Resolving commons-logging:commons-logging:jar:1.1:compile
[INFO] Resolving org.apache.camel:camel-spring:jar:1.2.0:compile
[INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile
[INFO] Resolving org.apache.camel:camel-core:jar:1.2.0:compile
[INFO] Resolving org.springframework:spring-core:jar:2.0.6:compile
[INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-camel:jar:3.2.1:compile
[INFO] Resolving wsdl4j:wsdl4j:jar:1.6.1:compile
[INFO] Resolving org.opensaml:opensaml:jar:1.1:compile
[INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.1:compile
[INFO] Resolving javax.xml:jaxb-api:jar:2.0:compile
[INFO] Including: org.springframework:spring-context:jar:2.0.6:compile
[INFO] Including: org.springframework:spring-beans:jar:2.0.6:compile
[INFO] Including: commons-logging:commons-logging:jar:1.1:compile
[INFO] Including: xerces:xercesImpl:jar:2.8.1:compile
[INFO] Including: xml-apis:xml-apis:jar:1.3.04:compile
[INFO] Including: org.springframework:spring-core:jar:2.0.6:compile
[INFO] Including: stax:stax-api:jar:1.0.1:compile
[INFO] Including: log4j:log4j:jar:1.2.13:compile
[INFO] Generating service unit
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
[INFO] [install:install]
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.jar
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\c
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-simple-su\target\camel-simple-su-3.2.1.zip
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\c
[INFO] [jbi:projectDeploy]
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: Simple SU has -1 child dependencies
[INFO] -----------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [jbi:generate-jbi-service-assembly-descriptor]
[INFO] Generating jbi.xml
[INFO] Determining component name for service unit camel-simple-su
[INFO] Project org.apache.maven.project.MavenProject@8e9a5f14 packaged
jbi-component
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\classes\META-INF\maven\dependencies.properties
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jbi:jbi-service-assembly]
[INFO] [jar:jar]
[INFO] Building jar:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\camel-sa-3.2.1.jar
[INFO] [install:install]
[INFO] Installing
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target\camel-sa-3.2.1.jar
to C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\
[INFO] [jbi:projectDeploy]
[WARNING] Attempting to build MavenProject instance for Artifact of type:
jar; constructing POM artifact instead.
[INFO] ------------------ Deployment Analysis --------------------
[INFO] ServiceMix :: Samples :: Camel :: SA has 2 child dependencies
[INFO]  - jbi-service-assembly : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\camel-sa-3.2.1.zip
[INFO]  - jbi-component : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\servicemix-camel-3.2.1-installer.zip
[INFO]  - jbi-shared-library : C:\Documents and
Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\3.2.1\servicemix-shared-3.2.1-installer.zip
[INFO] -----------------------------------------------------------
[INFO] servicemix-shared is deployed
[INFO] servicemix-camel is deployed
[INFO] camel-sa is deployed
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Camel :: SA :: iTest
[INFO]    task-segment: [install, jbi:projectDeploy]
[INFO]
----------------------------------------------------------------------------
[INFO] [jbi:generate-depends-file]
[INFO] Created:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\classes\META-INF\maven\dependencies.properties
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.servicemix.test.SpringWithNoVersionsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.25 sec
<<< FAILURE!

Results :

Tests in error:
  testDeploy(org.apache.servicemix.test.SpringWithNoVersionsTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports
for the individual test results.
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

Please refer to
C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa-itest\target\surefire-reports
for the individual test results.
        at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 8 seconds
[INFO] Finished at: Wed Mar 26 10:25:23 EDT 2008
[INFO] Final Memory: 22M/40M
[INFO]
------------------------------------------------------------------------

C:\sm321\apache-servicemix-3.2.1\examples\camel>




Raj@nih wrote:
> 
> Hi,
> I tried running camel examples that comes with version 3.2.1.
> We are trying to replace servicemix-eip with camel component so I was
> looking into using it.
> But while i am running,it gives null message instead of assigned message.
> Here is my log.Thanks for any suggestions.
> 
> C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa>mvn
> jbi:servicemix
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'jbi'.
> [INFO] org.apache.maven.plugins: checking for updates from internal
> [INFO] org.apache.maven.plugins: checking for updates from
> apache.incubating
> [INFO] org.apache.maven.plugins: checking for updates from apache-releases
> [INFO] org.apache.maven.plugins: checking for updates from
> servicemix-m2-repo
> [INFO] org.apache.maven.plugins: checking for updates from
> apache-incubating
> [INFO] org.codehaus.mojo: checking for updates from internal
> [INFO] org.codehaus.mojo: checking for updates from apache.incubating
> [INFO] org.codehaus.mojo: checking for updates from apache-releases
> [INFO] org.codehaus.mojo: checking for updates from servicemix-m2-repo
> [INFO] org.codehaus.mojo: checking for updates from apache-incubating
> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
> for updates from internal
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata
> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
> for updates from apache.incubating
> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
> for updates from apache-releases
> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
> for updates from servicemix-m2-repo
> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin: checking
> for updates from apache-incubating
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: Camel :: SA
> [INFO]    task-segment: [jbi:servicemix]
> [INFO]
> ----------------------------------------------------------------------------
> Downloading:
> http://wwww.ibiblio.org/repo/maven2//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://www.ibiblio.org/proxy/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://209.40.206.103:8080/archiva/repository/internal//xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> [INFO] [jbi:servicemix]
> [INFO] Cleaning ServiceMix root directory
> [C:\sm321\apache-servicemix-3.2.1\examples\camel\camel-sa\target/servicemix/rootDir]
> [INFO] Starting Apache ServiceMix
> 2008-03-26 10:02:21,552 [main           ] WARN  EndpointRegistry              
> - Disabled endpoint processor 'org.apache.servicemi
> 2008-03-26 10:02:21,724 [main           ] INFO  JBIContainer                  
> - ServiceMix 3.2.1 JBI Container (ServiceMix) is st
> 2008-03-26 10:02:21,724 [main           ] INFO  JBIContainer                  
> - For help or more informations please see: http://
> 2008-03-26 10:02:22,302 [main           ] INFO  ConnectorServerFactoryBean    
> - JMX connector server started: javax.management.re
> 2008-03-26 10:02:22,302 [main           ] INFO  ConnectorServerFactoryBean    
> - JMX connector available at: service:jmx:rmi:///jn
> 2008-03-26 10:02:22,505 [main           ] INFO  ComponentMBeanImpl            
> - Initializing component: #SubscriptionManager#
> 2008-03-26 10:02:22,537 [main           ] INFO  DeploymentService             
> - Restoring service assemblies
> 2008-03-26 10:02:22,568 [main           ] WARN  ClientFactory                 
> - Cound not start ClientFactory: javax.naming.NoIni
> 2008-03-26 10:02:22,584 [main           ] INFO  JBIContainer                  
> - ServiceMix JBI Container (ServiceMix) started
> [WARNING] Attempting to build MavenProject instance for Artifact of type:
> jar; constructing POM artifact instead.
> [INFO] ------------------ Deployment Analysis --------------------
> [INFO] ServiceMix :: Samples :: Camel :: SA has 2 child dependencies
> [INFO]  - jbi-service-assembly : C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa\3.2.1\cam
> [INFO]  - jbi-component : C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\servicemix
> [INFO]  - jbi-shared-library : C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\3.2.1\serv
> [INFO] -----------------------------------------------------------
> [INFO] servicemix-shared is not deployed
> [INFO] Deploying jbi-shared-library from C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-shared\
> [INFO] servicemix-camel is not deployed
> [INFO] Deploying jbi-component from C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\servicemix-camel\3.2.1\
> 2008-03-26 10:02:25,380 [165.112.132.220] INFO  ComponentMBeanImpl            
> - Starting component: servicemix-camel
> 2008-03-26 10:02:25,380 [165.112.132.220] INFO  ComponentMBeanImpl            
> - Initializing component: servicemix-camel
> [INFO] camel-sa is not deployed
> [INFO] Deploying jbi-service-assembly from C:\Documents and
> Settings\khanaly\.m2\repository\org\apache\servicemix\samples\camel-sa
> 2008-03-26 10:02:26,334 [165.112.132.220] INFO  GenericApplicationContext     
> - Refreshing org.springframework.context.support.Ge
> 2008-03-26 10:02:26,334 [165.112.132.220] INFO  GenericApplicationContext     
> - Bean factory for application context [org.springf
> 2008-03-26 10:02:26,365 [165.112.132.220] INFO  DefaultListableBeanFactory    
> - Pre-instantiating singletons in org.springframewo
> 2008-03-26 10:02:26,396 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Refreshing
> org.apache.xbean.spring.context.FileSy
> 2008-03-26 10:02:26,443 [165.112.132.220] INFO 
> XBeanXmlBeanDefinitionReader   - Loading XML bean definitions from file
> [C:\sm321\
> 2008-03-26 10:02:28,005 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Bean factory for application context
> [org.apache.
> 2008-03-26 10:02:28,552 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Bean
> 'org.apache.servicemix.samples.MyRouteBuilde
> 2008-03-26 10:02:28,568 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Bean 'camelContext' is not eligible for
> getting p
> 2008-03-26 10:02:28,568 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Bean 'camelContext' is not eligible for
> getting p
> 2008-03-26 10:02:28,568 [165.112.132.220] INFO 
> ileSystemXmlApplicationContext - Bean 'camelContext:beanPostProcessor' is
> not elig
> 2008-03-26 10:02:28,568 [165.112.132.220] INFO  DefaultListableBeanFactory    
> - Pre-instantiating singletons in org.springframewo
> 2008-03-26 10:02:29,037 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:29,037 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceAssemblyLifeCycle      
> - Starting service assembly: camel-sa
> 2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceUnitLifeCycle          
> - Initializing service unit: camel-simple-su
> 2008-03-26 10:02:29,177 [165.112.132.220] INFO  ServiceUnitLifeCycle          
> - Starting service unit: camel-simple-su
> [INFO] Project deployed
> 2008-03-26 10:02:29,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:29,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:30,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:30,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:31,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:31,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:32,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:32,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:33,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:33,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:34,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:34,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:35,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:35,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:36,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:36,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:37,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:37,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:38,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:38,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:39,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:39,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:40,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:40,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:41,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:41,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:42,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:42,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:43,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:43,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:44,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:44,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:45,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:45,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:46,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:46,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:47,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:47,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:48,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:48,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:49,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:49,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:50,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:50,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:51,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:51,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:52,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:52,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:53,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:53,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:54,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:54,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:55,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:55,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:56,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:56,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:57,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:57,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:58,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:58,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:02:59,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:02:59,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:03:00,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:03:00,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:03:01,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:03:01,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:03:02,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:03:02,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 2008-03-26 10:03:03,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[null]
> 2008-03-26 10:03:03,896 [myTimerEvent   ] INFO  ExampleCamelRoute             
> - Exchange[Message: null]
> 

-- 
View this message in context: http://www.nabble.com/Reg%3ACamel-example-tp16301353s12049p16301537.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.