You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/07/10 06:04:00 UTC

[jira] Commented: (SMX4-53) camel-nmr example does not deploy correctly

    [ https://issues.apache.org/activemq/browse/SMX4-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44135#action_44135 ] 

Freeman Fang commented on SMX4-53:
----------------------------------

[1]CAMEL-688 and [2]CAMEL-689 will address this issue
[1]https://issues.apache.org/activemq/browse/CAMEL-688
[2]https://issues.apache.org/activemq/browse/CAMEL-689



> camel-nmr example does not deploy correctly 
> --------------------------------------------
>
>                 Key: SMX4-53
>                 URL: https://issues.apache.org/activemq/browse/SMX4-53
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m2
>            Reporter: Edell Nolan
>            Assignee: Freeman Fang
>
> 14:46:50,138 | INFO  | Thread-38        | features:install                 | shell.support.OsgiCommandSupport  113 | Executing w/args: [examples-camel-nmr]
> 14:46:51,888 | INFO  | lixDispatchQueue | camel-core                       | ?                                   ? | BundleEvent INSTALLED
> 14:46:51,966 | INFO  | lixDispatchQueue | camel-core                       | ?                                   ? | BundleEvent RESOLVED
> 14:46:51,997 | INFO  | lixDispatchQueue | camel-core                       | ?                                   ? | BundleEvent STARTED
> 14:46:52,247 | INFO  | lixDispatchQueue | camel-spring                     | ?                                   ? | BundleEvent INSTALLED
> 14:46:52,263 | INFO  | lixDispatchQueue | camel-spring                     | ?                                   ? | BundleEvent RESOLVED
> 14:46:52,263 | INFO  | lixDispatchQueue | camel-spring                     | ?                                   ? | BundleEvent STARTED
> 14:46:52,466 | INFO  | lixDispatchQueue | camel-osgi                       | ?                                   ? | BundleEvent INSTALLED
> 14:46:52,482 | INFO  | lixDispatchQueue | camel-osgi                       | ?                                   ? | BundleEvent RESOLVED
> 14:46:52,482 | INFO  | lixDispatchQueue | camel-osgi                       | ?                                   ? | BundleEvent STARTED
> 14:46:53,810 | INFO  | lixDispatchQueue | component                        | ?                                   ? | BundleEvent INSTALLED
> 14:46:53,826 | INFO  | lixDispatchQueue | component                        | ?                                   ? | BundleEvent RESOLVED
> 14:46:53,826 | INFO  | lixDispatchQueue | component                        | ?                                   ? | BundleEvent STARTED
> 14:46:53,997 | INFO  | lixDispatchQueue | camel-nmr                        | ?                                   ? | BundleEvent INSTALLED
> 14:46:54,013 | INFO  | lixDispatchQueue | camel-nmr                        | ?                                   ? | BundleEvent RESOLVED
> 14:46:54,013 | INFO  | Thread-38        | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator   67 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix Example :: Camel NMR (camel-nmr)]
> 14:46:54,060 | INFO  | lixDispatchQueue | camel-nmr                        | ?                                   ? | BundleEvent STARTED
> 14:46:54,107 | INFO  | xtenderThread-25 | OsgiBundleXmlApplicationContext  | pport.AbstractApplicationContext  412 | Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@15aedce: display name [OsgiBundleXmlApplicationContext(bundle=camel-nmr, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Wed Jul 09 14:46:54 BST 2008]; root of context hierarchy
> 14:46:54,107 | INFO  | xtenderThread-25 | XmlBeanDefinitionReader          | tory.xml.XmlBeanDefinitionReader  323 | Loading XML bean definitions from URL [bundle://117.0:0/META-INF/spring/beans.xml]
> 14:46:54,294 | INFO  | xtenderThread-25 | XmlBeanDefinitionReader          | tory.xml.XmlBeanDefinitionReader  323 | Loading XML bean definitions from URL [bundle://116.0:1/org/apache/servicemix/camel/camel-nmr.xml]
> 14:46:54,982 | INFO  | xtenderThread-25 | OsgiBundleXmlApplicationContext  | pport.AbstractApplicationContext  427 | Bean factory for application context [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@15aedce]: org.springframework.beans.factory.support.DefaultListableBeanFactory@a78af0
> 14:46:55,044 | INFO  | xtenderThread-25 | OsgiBundleXmlApplicationContext  | Context$BeanPostProcessorChecker 1197 | Bean 'camelContext' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 14:46:55,044 | INFO  | xtenderThread-25 | OsgiBundleXmlApplicationContext  | Context$BeanPostProcessorChecker 1197 | Bean 'camelContext' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 14:46:55,044 | INFO  | xtenderThread-25 | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor  252 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=camel-nmr, config=osgibundle:/META-INF/spring/*.xml)
> 14:46:55,044 | INFO  | xtenderThread-26 | DefaultListableBeanFactory       | pport.DefaultListableBeanFactory  414 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a78af0: defining beans [org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean#0,nmr,camelContext:beanPostProcessor,camelContext,myTransform]; root of factory hierarchy
> 14:46:55,060 | WARN  | xtenderThread-26 | SpringCamelContext               | .camel.spring.SpringCamelContext  116 | No eventEndpoint enabled for event: org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitStartingEvent[source=org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean@1af751c]
> 14:46:55,060 | WARN  | xtenderThread-26 | SpringCamelContext               | .camel.spring.SpringCamelContext  116 | No eventEndpoint enabled for event: org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitEndedEvent[source=org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean@1af751c]
> 14:46:59,310 | ERROR | xtenderThread-26 | ResolverUtil                     | g.apache.camel.util.ResolverUtil  452 | Could not search jar file '\org\apache\camel\converter' for classes matching criteria: annotated with @Converter due to an IOException: \org\apache\camel\converter (The system cannot find the path specified)
> java.io.FileNotFoundException: \org\apache\camel\converter (The system cannot find the path specified)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:106)
> 	at org.apache.camel.util.ResolverUtil.loadImplementationsInJar(ResolverUtil.java:439)
> 	at org.apache.camel.util.ResolverUtil.find(ResolverUtil.java:343)
> 	at org.apache.camel.util.ResolverUtil.find(ResolverUtil.java:277)
> 	at org.apache.camel.util.ResolverUtil.findAnnotated(ResolverUtil.java:253)
> 	at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:57)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.checkLoaded(DefaultTypeConverter.java:218)
> 	at org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:64)
> 	at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:216)
> 	at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:194)
> 	at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:167)
> 	at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:181)
> 	at org.apache.camel.component.timer.TimerComponent.createEndpoint(TimerComponent.java:54)
> 	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:81)
> 	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:253)
> 	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:52)
> 	at org.apache.camel.model.RouteType.resolveEndpoint(RouteType.java:100)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:102)
> 	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108)
> 	at org.apache.camel.model.FromType.resolveEndpoint(FromType.java:73)
> 	at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:77)
> 	at org.apache.camel.model.RouteType.addRoutes(RouteType.java:214)
> 	at org.apache.camel.model.RouteType.addRoutes(RouteType.java:90)
> 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:520)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:512)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:149)
> 	at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:103)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
> 	at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.finishRefresh(AbstractDelegatedExecutionApplicationContext.java:306)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:279)
> 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145)
> 	at java.lang.Thread.run(Thread.java:595)
> 14:46:59,701 | WARN  | xtenderThread-26 | SpringCamelContext               | .camel.spring.SpringCamelContext  116 | No eventEndpoint enabled for event: org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitStartingEvent[source=org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean@1af751c]
> 14:46:59,701 | WARN  | xtenderThread-26 | SpringCamelContext               | .camel.spring.SpringCamelContext  116 | No eventEndpoint enabled for event: org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitEndedEvent[source=org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean@1af751c]
> 14:46:59,716 | INFO  | xtenderThread-26 | ManagementEndpointRegistry       | ement.ManagementEndpointRegistry   67 | Registering endpoint: org.apache.servicemix.nmr.core.InternalEndpointWrapper@7a4291b3 with properties {NAME=ExampleRouter, objectClass=[Ljava.lang.String;@1a66240, service.id=217}
> 14:46:59,716 | INFO  | xtenderThread-26 | osgi                             | ?                                   ? | ServiceEvent REGISTERED
> 14:46:59,841 | INFO  | xtenderThread-26 | OsgiBundleXmlApplicationContext  | ractOsgiBundleApplicationContext  315 | Publishing application context as OSGi service with properties {org.springframework.context.service.name=camel-nmr, Bundle-SymbolicName=camel-nmr, Bundle-Version=4.0.0.m2-SNAPSHOT}
> 14:46:59,841 | INFO  | xtenderThread-26 | camel-nmr                        | ?                                   ? | ServiceEvent REGISTERED
> 14:46:59,857 | INFO  | pool-29-thread-1 | MyTransform                      | cemix.examples.camel.MyTransform   37 | >>>> MyTransform set body:  Wed Jul 09 14:46:59 BST 2008
> 14:46:59,857 | ERROR | pool-29-thread-1 | DeadLetterChannel                | rg.apache.camel.processor.Logger  189 | Failed delivery for exchangeId: ID-EnolanD820/2865-1215611219732/0-0. On delivery attempt: 0 caught: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:112)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:69)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:155)
> 	at org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:91)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
> 	at org.apache.camel.processor.Pipeline.process(Pipeline.java:85)
> 	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:57)
> 	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:39)
> 	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
> 	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
> 	at org.apache.servicemix.camel.ServiceMixConsumer.process(ServiceMixConsumer.java:66)
> 	at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:78)
> 	at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:205)
> 	at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:176)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.