camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10274) examples using mvn:jetty-run do not work after log4j2 upgrade
Date Tue, 30 Aug 2016 10:17:20 GMT

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

Luca Burgazzoli resolved CAMEL-10274.
-------------------------------------
    Resolution: Fixed

> examples using mvn:jetty-run do not work after log4j2 upgrade
> -------------------------------------------------------------
>
>                 Key: CAMEL-10274
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10274
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>            Reporter: Claus Ibsen
>            Assignee: Luca Burgazzoli
>             Fix For: 2.18.0
>
>
> The examples such as camel-example-swagger-xml do not start with mvn jetty:run and fails
with some logging stuff.
> {code}
> Caused by: java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provider
org.eclipse.jetty.apache.jsp.JuliLog not a subtype
>        	at java.util.ServiceLoader.fail(ServiceLoader.java:239)
>        	at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
>        	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
>        	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
>        	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
>        	at org.apache.juli.logging.LogFactory.<init>(LogFactory.java:78)
>        	at org.apache.juli.logging.LogFactory.<clinit>(LogFactory.java:66)
>        	at org.apache.jasper.servlet.JasperInitializer.<clinit>(JasperInitializer.java:44)
>        	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>        	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>        	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
>        	at java.lang.Class.newInstance(Class.java:438)
>        	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
>        	... 50 more
> {code}
> This problem is likely in all the examples that uses the jetty plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message