Hi Zlotan, I'll start a new thread to see if we can collaborate and move forward with the MicroProfile OpenTracing support.
Jean-Louis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Oct 20, 2022 at 3:47 PM David Blevins <[email protected]> wrote: > Thanks, Richard. Sorry, Zoltán, had one one of those "find this > attachment" and then forgot to attach. > > Here's the link I forgot to paste: > > - > https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/src/test/resources/arquillian.xml#L29 > > As Richard mentions, here's where I'd mess with the <suiteXmlFiles> > setting for the MP JWT work: > > - > https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/pom.xml#L189 > > I would basically temporarily edit that line to this value > `<suiteXmlFile>tck-base-suite.xml</suiteXmlFile>` and then go into this > file and comment out everything but the test I wanted to run: > > - > https://github.com/apache/tomee/blob/main/tck/microprofile-tck/jwt/tck-base-suite.xml > > For opentracing here is where you'd edit: > > - > https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/pom.xml#L36-L40 > - > https://github.com/apache/tomee/blob/main/tck/microprofile-tck/opentracing/tck-dev.xml#L22 > > > > -- > David Blevins > http://twitter.com/dblevins > http://www.tomitribe.com > > > On Oct 20, 2022, at 1:14 AM, Zowalla, Richard < > [email protected]> wrote: > > > > Hi Zoltan, > > > > the arquillian config is located in > > /src/test/java/resources/arquillian.xml. > > > > In this file, you can find a "debug" property, which you can set to > > "true" to enable the debug capabilities of TomEE (i.e. start with a > > debugger backend). > > > > You can debug single tests by editing "tck-dev.xml" in the module root > > directory and adjust the surefire config to use it: > > > > <suiteXmlFiles> > > <suiteXmlFile>tck-dev.xml</suiteXmlFile> > > </suiteXmlFiles> > > > > Hope it helps > > > > Gruß > > Richard > > > > Am Donnerstag, dem 20.10.2022 um 09:07 +0200 schrieb Zoltán Tichov: > >> Hi! > >> > >> I have not been able to solve this problem: > >> > >> ERROR: transport error 202: connect failed: Connection refused > >> ERROR: JDWP Transport dt_socket failed to initialize, > >> TRANSPORT_INIT(510) > >> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports > >> initialized > >> [./src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:735] > >> > >> "Set this property to `true` and it should start TomEE with debug > >> enabled > >> and listening to port 5005." > >> > >> Where should this be set? I looked at the other microprofile TCK > >> implementations, but couldn't find a solution > >> > >> I managed to activate the opentracing interceptor, but the tests are > >> still > >> red. I'm still looking for what else needs to be implemented to make > >> the > >> tests work. > >> > >> Thanks: > >> > >> Zoltán > >> > >> > >> On Tue, Oct 11, 2022 at 6:48 PM David Blevins > >> <[email protected]> > >> wrote: > >> > >>>> On Oct 11, 2022, at 5:53 AM, Zoltán Tichov > >>>> <[email protected]> > >>> wrote: > >>>> > >>>> How to activate the OpenTracingInterceptor from > >>>> org.apache.tomee.microprofile.opentracing package? > >>> > >>> Set this property to `true` and it should start TomEE with debug > >>> enabled > >>> and listening to port 5005. > >>> > >>>> I think I overestimated my knowledge for this task, so if you > >>>> think so, I > >>>> would rather pass this task. On the other hand, if there is still > >>>> time, I > >>>> would like to deal with this. > >>> > >>> Take another week and see how far you get. There's great value in > >>> having > >>> more people able to help with TCK work. It's definitely worth it > >>> for us > >>> all to make the effort to help others get in there and be > >>> effective. > >>> > >>> Anything but silence is good progress. Silence is the kiss of > >>> death for > >>> tasks like this -- just so much knowledge to transfer. I don't > >>> think > >>> there's a human being on planet earth who could go from "I want to > >>> help get > >>> this TCK to pass" to "here's a PR for a passing TCK" and no > >>> questions in > >>> the middle. > >>> > >>> Certainly, I needed a ton of help and I've never met anyone who > >>> didn't. > >>> > >>> > >>> -David > >>> > >>> > > > >
