L.S.,

The error indicates that you haven't specified targetInterface/targetService/targetUri on a <file:poller/> endpoint definition in the file SU. It was in your original post though... Did you perhaps remove it in an attempt to solve the other problems?


Gert
depstei2 wrote:
Setting the useJmx to false fixed the error where it said that the ":"
character was invalid,
but I am still getting this:
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Unable to parse result string</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>targetInterface, targetService or targetUri should be
specified</lo
c-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException:
targetInterface, targetService or targetUri should be specified
        at
org.apache.servicemix.common.endpoints.ConsumerEndpoint.validate(ConsumerEndpoint.java:176)
        at
org.apache.servicemix.file.FilePollerEndpoint.validate(FilePollerEndpoint.java:82)
        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:96)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
]]></stack-trace>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>
</jbi-task-result>
</jbi-task>

My camel su contains the router class and the camel-context.xml.



James.Strachan wrote:
On 10/10/2007, depstei2 <[EMAIL PROTECTED]> wrote:
Hi
Thank you for your help, I created the camel context and a myRouter class
like you showed me, but I am getting this error:
WARN  - InstrumentationProcessor       - Could not register Route MBean
javax.management.MalformedObjectNameException: Could not create
ObjectName
from:
org.apache.camel:context=DF224MD1/camelContext,group=routeBuilder,routeType=routeType,route=[endpoint]urn:servicemix:tutorial:wiretap:endpoint,name=route.
Reason: javax.management.MalformedObjectNameException: Invalid character
':'
in value part of property
That looks like the JMX stuff not having unique mbean names; you might
wanna disable JMX for now on the camel context...

<camelContext useJmx="false"> ...


And then some errors like these:
<loc-message>targetInterface, targetService or targetUri should be
specified</loc-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException:
targetInterface,
 targetService or targetUri should be specified

I am using the 3.2 snapshots of service mix and camel from 10/9/07
Not sure on this one - got a full stack trace?

--
James
-------
http://macstrac.blogspot.com/

Open Source SOA
http://open.iona.com




Reply via email to