You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Tomohisa Igarashi <tm...@gmail.com> on 2017/09/25 04:57:53 UTC

Revisit with 2.20.0-SNAPSHOT (Sep 23 2017) Re: running all the examples

Hi,

I have run through examples again with current upstream master (Sep 23 2017).
Filed 9 issues as subtasks of this ticket.
> https://issues.apache.org/jira/browse/CAMEL-11294

As I won't have much time to look into them this week, it would be great if you guys could look at them, maybe some of them are just missing a few steps to follow, or even I just made a mistake when running.

Thanks,
Tomo


On Thu, 2017-05-18 at 10:35 +0900, Tomohisa Igarashi wrote:
> OK done!
> https://issues.apache.org/jira/browse/CAMEL-11294
> 
> 
> On 05/17/2017 08:06 PM, Claus Ibsen wrote:
> > Hi Tomo
> > 
> > Can you log a JIRA so we wont forget, and can get the examples fully
> > working for the 2.20 release. And also cleanup and remove deprecated
> > examples etc so we don't carry those forward.
> > 
> > On Wed, May 10, 2017 at 2:48 PM, Tomohisa Igarashi
> > <tm...@gmail.com> wrote:
> > > Hi,
> > > 
> > > I just finished to run rest of the examples (except a few), here is what I
> > > got, hope it helps for something:
> > > 
> > > kafka, kotlin, loan-broker-cxf, loan-broker-jms, management, mybatis,
> > > opentracing, pojo-messaging, reactive-streams, reload, rest-producer,
> > > restlet-jdbc, servlet-rest-blueprint, servlet-tomcat,
> > > servlet-tomcat-no-spring, simplejirabot, spark-rest, spring, spring-boot,
> > > spring-boot-geocoder, spring-boot-live-reload, spring-boot-metrics,
> > > spring-boot-rest-swagger, spring-boot-servicecall, spring-cloud-servicecall,
> > > spring-javaconfig, spring-jms, spring-ws, spring-xquery, sql-blueprint,
> > > swagger-cdi, swagger-xml, transformer-blueprint, transformer-cdi,
> > > transformer-demo, validator-spring-boot, widget-gadget-cdi
> > > -> OK
> > > 
> > > 
> > > ssh, ssh-security, twitter-salesforce, zipkin
> > > -> SKIP
> > > 
> > > 
> > > loadbalancing, route-throttling
> > > -> it seems like Spring does load the XML, but camel context is not
> > > starting. Stop here
> > > ----------
> > > INFO: Loading XML bean definitions from class path resource
> > > [META-INF/spring/camel-context-mina1.xml]
> > > ----------
> > > 
> > > 
> > > netty-http
> > > -> netty-myapp-cdi doesn't work(already marked as deprecated), should be
> > > removed from README instruction
> > > -> https://github.com/apache/camel/pull/1683
> > > 
> > > 
> > > rest-swagger
> > > -> failed to run
> > > ----------
> > > java.lang.IllegalStateException: Failed to execute ApplicationRunner
> > >          at
> > > org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:770)
> > > [spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
> > > ...
> > > Caused by: org.apache.camel.CamelExecutionException: Exception occurred
> > > during execution on the exchange:
> > > Exchange[ID-localhost-localdomain-33075-1494340340660-0-2]
> > >          at
> > > org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1772)
> > > ~[camel-core-2.19.0.jar!/:2.19.0]
> > > ...
> > > Caused by: java.nio.channels.ClosedChannelException: null
> > >          at
> > > io.undertow.client.http.HttpClientConnection$5.handleEvent(HttpClientConnection.java:189)
> > > ~[undertow-core-1.4.13.Final.jar!/:1.4.13.Final]
> > > ...
> > > ----------
> > > 
> > > 
> > > servlet-tomcat-no-spring
> > > -> finalName is missing in POM
> > > -> https://github.com/apache/camel/pull/1683
> > > 
> > > 
> > > splunk
> > > -> no progress after "SLF4J: Defaulting to no-operation (NOP) logger
> > > implementation"
> > > 
> > > 
> > > spring-boot-rest-jpa
> > > -> tests fail
> > > ----------
> > > Failed tests:
> > > org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest.newOrderTest(org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest)
> > >    Run 1: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]>
> > >    Run 2: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]>
> > >    Run 3: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]>
> > > 
> > > Tests in error:
> > > org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest.booksTest(org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest)
> > >    Run 1: ApplicationTest.booksTest:73 » HttpMessageNotReadable Could not
> > > read JSON docu...
> > >    Run 2: ApplicationTest.booksTest:73 » HttpMessageNotReadable Could not
> > > read JSON docu...
> > >    Run 3: ApplicationTest.booksTest:73 » HttpMessageNotReadable Could not
> > > read JSON docu...
> > > ----------
> > > 
> > > 
> > > spring-security
> > > -> context path in the readme is not correct, and even correct path in the
> > > log returns 404 not found
> > > 
> > > 
> > > sql
> > > -> camel:run is OK
> > > -> on karaf, 4.1.1 bundle successfully starts but no application log
> > > 
> > > 
> > > swagger-osgi
> > > -> 405 method not allowed
> > > 
> > > 
> > > twitter-websocket, twitter-websocket-blueprint
> > > -> camel route is working, but localhost:9090 returns empty page
> > > 
> > > 
> > > widget-gadget-java, widget-gadget-xml
> > > -> no application(order) log
> > > 
> > > 
> > > 
> > > On 05/03/2017 03:37 AM, Claus Ibsen wrote:
> > > > 
> > > > Hi
> > > > 
> > > > Some of the examples are deprecated and are not of priority. And we
> > > > should likely remove then in the following release. Such as CDI on
> > > > OSGi.
> > > > 
> > > > Also I think we should reduce our number of OSGi examples as they keep
> > > > becoming stale and broken from time to time, and some of them are very
> > > > old and not relevant such as etl and spring-dm and whatnot.
> > > > 
> > > > There is already 90 examples so enough on our plate to maintain. And
> > > > we should try to keep the examples more relevant and reduce the number
> > > > of old/legacy kind.
> > > > 
> > > > On Tue, May 2, 2017 at 8:28 AM, Tomohisa Igarashi <tm...@gmail.com>
> > > > wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > I'm running through camel examples in the tarball for sanity check. I hit
> > > > > 'image not found' error on 2 kubernates examples though, I guess it's
> > > > > just
> > > > > missing a few steps to let it recognize the staging repo? Anyway I'll
> > > > > continue on remaining.
> > > > > 
> > > > > ----
> > > > > karaf commands don't install on 4.0.7, so tried on 4.1.1
> > > > > 
> > > > > activemq-tomcat, aggregate, cafe, cdi, cdi-metrics, cdi-properties,
> > > > > cdi-rest-servlet, cdi-test, cdi-xml, console, cxf, cxf-proxy, cxf-tomcat,
> > > > > hystrix, java8, java8-rx, jdbc, jms-file, jmx,
> > > > > -> OK
> > > > > 
> > > > > cassandra-kubernetes, hazelcast-kubernates
> > > > > -> image not found - any special steps to let it recognize staging repo?
> > > > > ----------
> > > > > 9m              3m              6       {kubelet minikube}
> > > > > spec.containers{java-exec}      Warning         Failed          Failed to
> > > > > pull image "camel/camel-cassandra-kubernetes-example:2.19.0": rpc error:
> > > > > code = 2 desc = Error: image camel/camel-cassandra-kubernetes-example not
> > > > > found
> > > > > ----------
> > > > > ----------
> > > > > [ERROR] F8: f8-cd-doc-link: Failed to parse URL:
> > > > > 
> > > > > scpexe://people.apache.org/www/camel.apache.org/maven//camel-parent/examples/camel-hazelcast-kubernetes-example.
> > > > > java.net.MalformedURLException: unknown protocol: scpexe
> > > > > ----------
> > > > > 
> > > > > cdi-osgi
> > > > > -> camel:run is OK, but there seems to be a incompatible dependency
> > > > > around
> > > > > weld on karaf
> > > > > ----------
> > > > > 2017-05-02T15:26:26,654 | ERROR | FelixStartLevel  | Felix
> > > > > >  -  -  | Bundle org.ops4j.pax.cdi.extender [130] EventDispatcher: Error
> > > > > 
> > > > > during dispatch. (java.lang.NoSuchMethodError:
> > > > > 
> > > > > org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doWithClassLoader(Ljava/util/concurrent/Callable;)Ljava/lang/Object;)
> > > > > java.lang.NoSuchMethodError:
> > > > > 
> > > > > org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doWithClassLoader(Ljava/util/concurrent/Callable;)Ljava/lang/Object;
> > > > >           at
> > > > > 
> > > > > org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiContainer.java:94)
> > > > > ~[?:?]
> > > > > ----------
> > > > > 
> > > > > cxf-blueprint
> > > > > -> can't install on karaf 4.1.1
> > > > > ----------
> > > > > karaf@root()> feature:install war cxf camel camel-jaxb camel-cxf
> > > > > Error executing command: java.lang.InterruptedException
> > > > > java.lang.IllegalStateException: No inital startlevel yet
> > > > >           at
> > > > > 
> > > > > org.apache.felix.framework.FrameworkStartLevelImpl.setStartLevel(FrameworkStartLevelImpl.java:131)
> > > > >           at org.apache.karaf.main.Main.setStartLevel(Main.java:605)
> > > > >           at
> > > > > org.apache.karaf.main.Main$KarafLockCallback.lockAquired(Main.java:711)
> > > > >           at org.apache.karaf.main.Main.doMonitor(Main.java:382)
> > > > >           at org.apache.karaf.main.Main.access$100(Main.java:75)
> > > > >           at org.apache.karaf.main.Main$3.run(Main.java:369)
> > > > > ----------
> > > > > 
> > > > > cxf-osgi
> > > > > -> should be removed as camel-spring-dm is no longer available
> > > > > 
> > > > > etl
> > > > > -> install fails with missing dependency
> > > > > ----------
> > > > > karaf@root()> feature:install camel-example-etl
> > > > > 17:37:11
> > > > > Error executing command: Unable to resolve root: missing requirement
> > > > > [root]
> > > > > osgi.identity; osgi.identity=camel-example-etl; type=karaf.feature;
> > > > > version="[2.19.0,2.19.0]";
> > > > > 
> > > > > filter:="(&(osgi.identity=camel-example-etl)(type=karaf.feature)(version>=2.19.0)(version<=2.19.0))"
> > > > > [caused by: Unable to resolve camel-example-etl/2.19.0: missing
> > > > > requirement
> > > > > [camel-example-etl/2.19.0] osgi.identity;
> > > > > osgi.identity=org.apache.openjpa;
> > > > > type=osgi.bundle; version="[2.4.2,2.4.2]"; resolution:=mandatory [caused
> > > > > by:
> > > > > Unable to resolve org.apache.openjpa/2.4.2: missing requirement
> > > > > [org.apache.openjpa/2.4.2] osgi.wiring.package;
> > > > > 
> > > > > filter:="(&(osgi.wiring.package=org.apache.xbean.asm5)(version>=5.0.0)(!(version>=6.0.0)))"]]
> > > > > ----------
> > > > > 
> > > > > cdi-aws-s3, cdi-cassandrasql, cdi-kubernates, ftp
> > > > > -> SKIP
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > On 05/01/2017 12:32 AM, Gregor Zurowski wrote:
> > > > > > 
> > > > > > 
> > > > > > Hi Everyone:
> > > > > > 
> > > > > > This is the second vote to release Apache Camel 2.19.0, a new minor
> > > > > > release with over 670 new features, improvements and bug fixes.  A
> > > > > > summary of the changes is available in the Camel wiki [1].  The first
> > > > > > vote was cancelled due to multiple issues found while testing the
> > > > > > first release candidate [1].
> > > > > > 
> > > > > > Release notes:
> > > > > > 
> > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12337871&projectId=12311211
> > > > > > 
> > > > > > Staging repository:
> > > > > > https://repository.apache.org/content/repositories/orgapachecamel-1075/
> > > > > > 
> > > > > > Tarballs:
> > > > > > 
> > > > > > https://repository.apache.org/content/repositories/orgapachecamel-1075/org/apache/camel/apache-camel/2.19.0/
> > > > > > 
> > > > > > Tag:
> > > > > > 
> > > > > > https://git-wip-us.apache.org/repos/asf?p=camel.git;a=tag;h=0ae39c5223d4e58e1f3063e7e5f071be0e258e97
> > > > > > 
> > > > > > Please test this release candidate and cast your vote.
> > > > > > [ ] +1 Release the binary as Apache Camel 2.19.0
> > > > > > [ ] -1 Veto the release (provide specific comments)
> > > > > > 
> > > > > > The vote is open for at least 72 hours.
> > > > > > 
> > > > > > Due to the many changes introduced with this new release, it would be
> > > > > > beneficial if we could get as many Camel riders involved in testing
> > > > > > this release candidate as possible.
> > > > > > 
> > > > > > Thanks,
> > > > > > Gregor
> > > > > > 
> > > > > > [1] https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.19+Release
> > > > > > [2]
> > > > > > 
> > > > > > http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-19-0-td5798264.html
> > > > > > 
> > > > 
> > > > 
> > > > 
> > 
> > 
> >