| Camel Application Type / Webmodeler [message #1066583] |
Wed, 03 July 2013 06:01  |
Florian Kammermann Messages: 11 Registered: October 2012 |
Junior Member |
|
|
I tryed to create a simple process with a generic camel endpoint.
Follwoing setup:
- start --> generic camel application --> end
- route: <to uri="bean:testbean?method=sayHello"/>
- Additional Bean Specification: <bean id="testbean" class="ch.admin.agis.rulesengine.camel.TestBean"/>
When I deploy the process I get the follwoing error:
- Cannot retrieve class 'org.eclipse.stardust.engine.extensions.camel.app.CamelProducerSpringBeanValidator' for validating. ; model: 'Modell1'; element oid: 34
I can't find this class anywhere in the source.
The only reference I see is in CamelApplicationBuilder as this:
AttributeUtil.setAttribute(applicationMetaType, "carnot:engine:accessPointProvider", "org.eclipse.stardust.engine.extensions.camel.app.CamelProducerSpringBeanAccessPointProvider");
Whats the point here?
|
|
|
|
|
|
|
| Re: Camel Application Type / Webmodeler [message #1067569 is a reply to message #1067345] |
Tue, 09 July 2013 07:31  |
Florian Kammermann Messages: 11 Registered: October 2012 |
Junior Member |
|
|
Quote:Can you share the complete stack trace?
Couldn't reproduce it.
Quote:Are you getting this exception at the time of model deployment?
It happened at execution time not deployment time.
Quote:Have you added more jars apart from ipp-camel-7.1.3.jar
No just this one. I putted it into the lib directory of the jboss. Perhaps this was the problem.
Quote:Along with ipp-camel-7.1.3.jar, default-camel-context.xml you also need to add following jar as a dependency in lib folder of WEB-INF of war
I added the newest version 2.11
While trying to force the exception again, I got a working setup now:
- put the ipp-camel-7.1.3.jar into the WEB-INF/lib of the portal war.
- add the the camel libraries in version 2.9.2
This works now for me.
I couldn't reproduce the ClassCast Exception.
[Updated on: Tue, 09 July 2013 07:41] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01845 seconds