You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/04/15 07:36:16 UTC

[jira] [Assigned] (CAMEL-6278) camel-example-reportincident-wssecurity failed

     [ https://issues.apache.org/jira/browse/CAMEL-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-6278:
-----------------------------------

    Assignee: Willem Jiang
    
> camel-example-reportincident-wssecurity failed
> ----------------------------------------------
>
>                 Key: CAMEL-6278
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6278
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.11.0
>            Reporter: Christian Müller
>            Assignee: Willem Jiang
>             Fix For: 2.11.1, 2.12.0
>
>
> If I deploy this example into Karaf 2.3.1 as described, I get the following exception and the service is not available:
> {noformat}
> karaf@root> osgi:install -s mvn:org.apache.camel/camel-example-reportincident-wssecurity/2.11.0
> Bundle ID: 173
> karaf@root> Exception in thread "SpringOsgiExtenderThread-2" org.apache.camel.RuntimeCamelException: java.io.FileNotFoundException: target/custom.properties (No such file or directory)
> 	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1338)
> 	at org.apache.camel.component.cxf.CxfEndpoint.resolvePropertyPlaceholders(CxfEndpoint.java:609)
> 	at org.apache.camel.component.cxf.CxfEndpoint.getAddress(CxfEndpoint.java:871)
> 	at org.apache.camel.component.cxf.CxfEndpoint.setupServerFactoryBean(CxfEndpoint.java:219)
> 	at org.apache.camel.component.cxf.CxfSpringEndpoint.createServerFactoryBean(CxfSpringEndpoint.java:186)
> 	at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:63)
> 	at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:206)
> 	at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)
> 	at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)
> 	at org.apache.camel.impl.RouteService.warmUp(RouteService.java:133)
> 	at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:2023)
> 	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1953)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1741)
> 	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1616)
> 	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1477)
> 	at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)
> 	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
> 	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1445)
> 	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)
> 	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)
> 	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285)
> 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
> 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)
> 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)
> 	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
> 	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
> 	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
> 	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.io.FileNotFoundException: target/custom.properties (No such file or directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:120)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:79)
> 	at org.apache.camel.component.properties.DefaultPropertiesResolver.loadPropertiesFromFilePath(DefaultPropertiesResolver.java:73)
> 	at org.apache.camel.component.properties.DefaultPropertiesResolver.resolveProperties(DefaultPropertiesResolver.java:50)
> 	at org.apache.camel.component.properties.PropertiesComponent.parseUri(PropertiesComponent.java:134)
> 	at org.apache.camel.component.properties.PropertiesComponent.parseUri(PropertiesComponent.java:120)
> 	at org.apache.camel.impl.DefaultCamelContext.resolvePropertyPlaceholders(DefaultCamelContext.java:1068)
> 	at org.apache.camel.component.cxf.CxfEndpoint.resolvePropertyPlaceholders(CxfEndpoint.java:604)
> 	... 28 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira