Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2280D200CA3 for ; Thu, 18 May 2017 03:34:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 20F90160BCB; Thu, 18 May 2017 01:34:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 40479160BBA for ; Thu, 18 May 2017 03:34:12 +0200 (CEST) Received: (qmail 52708 invoked by uid 500); 18 May 2017 01:34:11 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 52699 invoked by uid 99); 18 May 2017 01:34:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2017 01:34:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 11747185E72 for ; Thu, 18 May 2017 01:34:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.889 X-Spam-Level: X-Spam-Status: No, score=-97.889 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2C6pFI2A5sjC for ; Thu, 18 May 2017 01:34:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BE9175FE57 for ; Thu, 18 May 2017 01:34:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EC99EE0D77 for ; Thu, 18 May 2017 01:34:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5226E263AC for ; Thu, 18 May 2017 01:34:04 +0000 (UTC) Date: Thu, 18 May 2017 01:34:04 +0000 (UTC) From: "Tomohisa Igarashi (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CAMEL-11294) Repair not-working-examples or mark as deprecated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 May 2017 01:34:13 -0000 [ https://issues.apache.org/jira/browse/CAMEL-11294?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomohisa Igarashi reassigned CAMEL-11294: ----------------------------------------- Assignee: Tomohisa Igarashi > Repair not-working-examples or mark as deprecated > ------------------------------------------------- > > Key: CAMEL-11294 > URL: https://issues.apache.org/jira/browse/CAMEL-11294 > Project: Camel > Issue Type: Task > Components: examples > Reporter: Tomohisa Igarashi > Assignee: Tomohisa Igarashi > Fix For: 2.20.0 > > > http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-19-0-Attemp= t-2-tt5798533.html#a5798566 > I run many of camel examples and found some are not working by just follo= wing readme instructions, Let's repair it, enrich instructions or mark it a= s deprecated. > * cassandra-kubernetes, hazelcast-kubernates=20 > ** image not found - any special steps to let it recognize staging repo?= =20 > {code} > 9m=093m=096=09{kubelet minikube}=09spec.containers{java-exec}=09Warning= =09Failed=09Failed to pull image "camel/camel-cassandra-kubernetes-example:= 2.19.0": rpc error: code =3D 2 desc =3D Error: image camel/camel-cassandra-= kubernetes-example not found=20 > {code} > {code} > [ERROR] F8: f8-cd-doc-link: Failed to parse URL: scpexe://people.apache.o= rg/www/camel.apache.org/maven//camel-parent/examples/camel-hazelcast-kubern= etes-example. java.net.MalformedURLException: unknown protocol: scpexe=20 > {code} > * cdi-osgi=20 > ** camel:run is OK, but there seems to be a incompatible dependency aroun= d weld on karaf=20 > {code} > 2017-05-02T15:26:26,654 | ERROR | FelixStartLevel | Felix = | - - | Bundle org.ops4j.pax.cdi.extender [130] EventDispat= cher: Error during dispatch. (java.lang.NoSuchMethodError: org.ops4j.pax.cd= i.weld.impl.WeldCdiContainer.doWithClassLoader(Ljava/util/concurrent/Callab= le;)Ljava/lang/Object;)=20 > java.lang.NoSuchMethodError: org.ops4j.pax.cdi.weld.impl.WeldCdiContainer= .doWithClassLoader(Ljava/util/concurrent/Callable;)Ljava/lang/Object;=20 > at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiCo= ntainer.java:94) ~[?:?]=20 > {code} > * cxf-blueprint=20 > ** can't install on karaf 4.1.1=20 > {code} > karaf@root()> feature:install war cxf camel camel-jaxb camel-cxf=20 > Error executing command: java.lang.InterruptedException=20 > java.lang.IllegalStateException: No inital startlevel yet=20 > at org.apache.felix.framework.FrameworkStartLevelImpl.setStartLev= el(FrameworkStartLevelImpl.java:131)=20 > at org.apache.karaf.main.Main.setStartLevel(Main.java:605)=20 > at org.apache.karaf.main.Main$KarafLockCallback.lockAquired(Main.= java:711)=20 > at org.apache.karaf.main.Main.doMonitor(Main.java:382)=20 > at org.apache.karaf.main.Main.access$100(Main.java:75)=20 > at org.apache.karaf.main.Main$3.run(Main.java:369)=20 > {code} > * cxf-osgi=20 > ** should be removed as camel-spring-dm is no longer available=20 > * etl=20 > ** install fails with missing dependency=20 > {code} > karaf@root()> feature:install camel-example-etl = = 17:37:11=20 > Error executing command: Unable to resolve root: missing requirement [roo= t] osgi.identity; osgi.identity=3Dcamel-example-etl; type=3Dkaraf.feature; = version=3D"[2.19.0,2.19.0]"; filter:=3D"(&(osgi.identity=3Dcamel-example-et= l)(type=3Dkaraf.feature)(version>=3D2.19.0)(version<=3D2.19.0))" [caused by= : Unable to resolve camel-example-etl/2.19.0: missing requirement [camel-ex= ample-etl/2.19.0] osgi.identity; osgi.identity=3Dorg.apache.openjpa; type= =3Dosgi.bundle; version=3D"[2.4.2,2.4.2]"; resolution:=3Dmandatory [caused = by: Unable to resolve org.apache.openjpa/2.4.2: missing requirement [org.ap= ache.openjpa/2.4.2] osgi.wiring.package; filter:=3D"(&(osgi.wiring.package= =3Dorg.apache.xbean.asm5)(version>=3D5.0.0)(!(version>=3D6.0.0)))"]]=20 > {code} > * loadbalancing, route-throttling=20 > ** it seems like Spring does load the XML, but camel context is not start= ing. Stop here=20 > {code} > INFO: Loading XML bean definitions from class path resource [META-INF/spr= ing/camel-context-mina1.xml]=20 > {code} > * rest-swagger=20 > ** failed to run=20 > {code} > java.lang.IllegalStateException: Failed to execute ApplicationRunner=20 > at org.springframework.boot.SpringApplication.callRunner(SpringAp= plication.java:770) [spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]=20 > ...=20 > Caused by: org.apache.camel.CamelExecutionException: Exception occurred d= uring execution on the exchange: Exchange[ID-localhost-localdomain-33075-14= 94340340660-0-2]=20 > at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException= (ObjectHelper.java:1772) ~[camel-core-2.19.0.jar!/:2.19.0]=20 > ...=20 > Caused by: java.nio.channels.ClosedChannelException: null=20 > at io.undertow.client.http.HttpClientConnection$5.handleEvent(Htt= pClientConnection.java:189) ~[undertow-core-1.4.13.Final.jar!/:1.4.13.Final= ]=20 > ...=20 > {code} > * splunk=20 > ** no progress after "SLF4J: Defaulting to no-operation (NOP) logger impl= ementation"=20 > * spring-boot-rest-jpa=20 > ** tests fail=20 > {code} > Failed tests:=20 > org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest.newOrderTes= t(org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest)=20 > Run 1: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]= >=20 > Run 2: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]= >=20 > Run 3: ApplicationTest.newOrderTest:62 expected:<[200]> but was:<[404]= >=20 > Tests in error:=20 > org.apache.camel.example.spring.boot.rest.jpa.ApplicationTest.booksTest(o= rg.apache.camel.example.spring.boot.rest.jpa.ApplicationTest)=20 > Run 1: ApplicationTest.booksTest:73 =C2=BB HttpMessageNotReadable Coul= d not read JSON docu...=20 > Run 2: ApplicationTest.booksTest:73 =C2=BB HttpMessageNotReadable Coul= d not read JSON docu...=20 > Run 3: ApplicationTest.booksTest:73 =C2=BB HttpMessageNotReadable Coul= d not read JSON docu...=20 > {code} > * spring-security=20 > ** context path in the readme is not correct, and even correct path in th= e log returns 404 not found=20 > * sql=20 > ** camel:run is OK=20 > ** on karaf, 4.1.1 bundle successfully starts but no application log=20 > * swagger-osgi=20 > ** 405 method not allowed=20 > * twitter-websocket, twitter-websocket-blueprint=20 > ** camel route is working, but localhost:9090 returns empty page=20 > * widget-gadget-java, widget-gadget-xml=20 > ** no application(order) log=20 -- This message was sent by Atlassian JIRA (v6.3.15#6346)