By the way, in my example I used Decanter 2.3.0-SNAPSHOT (because I’m preparing the release), but Decanter 2.2.0 also works fine ;)
Regards JB > Le 30 mars 2020 à 13:47, Jean-Baptiste Onofre <j...@nanthrax.net> a écrit : > > See my previous email with all steps I did. > > Just: karaf client and karaf server use different http port (changed in > etc/org.ops4j.pax.web.cfg) ? Else, you will have issue ;) > I bet you forgot to change etc/org.ops4j.pax.web.cfg in two instances. In my > example, karaf1 uses 8181 and karaf2 8282. > > If you do as I explained in my previous email it should work out of the box. > I just did it successfully. > > Regards > JB > >> Le 30 mars 2020 à 13:45, dzoni <christian.jaeg...@zf.com> a écrit : >> >> thanks a lot for ur time jbonofre >> / >> Do you use json marshaller on both collector and appender ? / >> yes see the futher informations down in the bündle list. but there are also >> csv and raw Marshaller! >> >> /What collectors are you using ? / >> Client-Side >> 1. log-collector >> 2. rest Appender >> >> Server-side >> 1. rest-collector >> 2. rest-servlet-collector >> >> /And both rest appender/collector are on the same karaf instance (localhost) >> ?/ >> No i'm running one Client and one Server Karaf instance to simulate the >> log-Transport from a Client to a server >> >> *this are my bundles on the Client side* >> START LEVEL 100 , List Threshold: 50 >> ID | State | Lvl | Version | Name >> ---+-----------+-----+----------------+----------------------------------------------------------------------------------------------- >> 22 | Active | 80 | 4.2.8 | Apache Karaf :: OSGi Services :: >> Event >> 45 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: API >> 46 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: >> Collector :: Log >> 47 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: >> Marshaller :: CSV >> 48 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: >> Marshaller :: Json >> 49 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: >> Marshaller :: Raw >> 50 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser >> :: Identity >> 51 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser >> :: Regex >> 52 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser >> :: Split >> 55 | Active | 80 | 1.0.4 | JSR 353 (JSON Processing) Default >> Provider >> 58 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Appender >> :: REST >> >> *on the Server side i'm running following bundles:* >> START LEVEL 100 , List Threshold: 50 >> ID | State | Lvl | Version | Name >> ----+--------+-----+---------+-------------------------------------------------------------------------------------------------------- >> 22 | Active | 80 | 4.2.8 | Apache Karaf :: OSGi Services :: Event >> 45 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: API >> 46 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Collector :: REST >> 47 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Marshaller :: CSV >> 48 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Marshaller :: >> Json >> 49 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Marshaller :: Raw >> 50 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser :: >> Identity >> 51 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser :: Regex >> 52 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Parser :: Split >> 56 | Active | 80 | 1.0.4 | JSR 353 (JSON Processing) Default Provider >> 66 | Active | 80 | 2.2.0 | Apache Karaf :: Decanter :: Collector :: REST >> :: Servlet >> 68 | Active | 80 | 4.14.0 | Apache XBean OSGI Bundle Utilities >> 69 | Active | 80 | 4.14.0 | Apache XBean :: Classpath Resource Finder >> 98 | Active | 80 | 7.2.0 | org.objectweb.asm >> 99 | Active | 80 | 7.2.0 | org.objectweb.asm.commons >> 100 | Active | 80 | 7.2.0 | org.objectweb.asm.tree >> >> >> >> >> >> >> >> -- >> Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html >