git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubles upgrading from 2.20.2 to 2.21.0


Hi

I think you should ask the Apache Syncope team as its their
integration with Camel.
It sounds like some classpath problem.

On Wed, Mar 21, 2018 at 1:04 PM, Francesco Chicchiriccò
<ilgrosso@xxxxxxxxxx> wrote:
> Hi all,
> in Syncope we have a Camel-based extension, whose initialization has been working fine so far (up until Camel 2.20.2) but fails with the recent Camel 2.21.0.
>
> In particular, the following exception is raised during Syncope Core webapp initialization [1]:
>
> org.apache.camel.RuntimeCamelException: java.util.NoSuchElementException
>         at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1830) ~[camel-core-2.21.0.jar:2.21.0]
>         at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:136) ~[camel-spring-2.21.0.jar:2.21.0]
>         at org.apache.syncope.core.provisioning.camel.SyncopeCamelContext.getContext(SyncopeCamelContext.java:75) ~[syncope-ext-camel-provisioning-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
>
> As you can see, the CamelContext is fed with route definitions by the loadContext() method, which parses some XML snippets as [2] for example.
>
> Any idea about why the exception above is raised with 2.21.0?
>
> TIA
> Regards.
>
> [1] https://github.com/apache/syncope/blob/master/ext/camel/provisioning-camel/src/main/java/org/apache/syncope/core/provisioning/camel/SyncopeCamelContext.java#L75
> [2] https://github.com/apache/syncope/blob/master/ext/camel/provisioning-camel/src/main/resources/userRoutes.xml



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03172.html on line 104
Call Stack
#TimeMemoryFunctionLocation
10.0008364568{main}( ).../msg03172.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03172.html on line 104
Call Stack
#TimeMemoryFunctionLocation
10.0008364568{main}( ).../msg03172.html:0