Hi, I did some debugging through the app. The assertion failure occurs when trying to lookup for "helloPojo" in the Object value = context.lookup(name); in JndiServlet class in the ejb-example. Seems this has no effect, but still I would like to find out why this occurs. Could someone put some light into this?
I'm not running the server with -ea options. Thanks 2015-05-29 14:53 GMT+05:30 Thusitha Thilina Dayaratne < [email protected]>: > Hi, > > >>yep, should be "org.apache.openjpa:openjpa:2.4.0" + the > openejb-javaagent > >>should be in place, also assume you use -ea option. > Thanks for the response. > I've set the JAVA_OPTS as follows in my server startup script and put the > javaagent jar in the mentioned position. But I'm still getting the same > ASSERTION FAILED messages. And I'm not enabling assertions as well :( > JAVA_OPTS="-javaagent:$CARBON_HOME/lib/openejb-javaagent.jar" $JAVA_OPTS > > Did I missed anything while setting this? > > Thanks > /Thusitha > > > 2015-05-22 15:19 GMT+05:30 Romain Manni-Bucau <[email protected]>: > >> yep, should be "org.apache.openjpa:openjpa:2.4.0" + the openejb-javaagent >> should be in place, also assume you use -ea option. >> >> Side note: this issue can also be linked to the JVM since it is referenced >> on oracle bugtracker >> >> >> Romain Manni-Bucau >> @rmannibucau <https://twitter.com/rmannibucau> | Blog >> <http://rmannibucau.wordpress.com> | Github < >> https://github.com/rmannibucau> | >> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber >> <http://www.tomitribe.com> >> >> 2015-05-22 11:46 GMT+02:00 Thusitha Thilina Dayaratne < >> [email protected]>: >> >> > Hi, >> > >> > >>Hi should be 2.4.0 + did you keep the javaagent in your setup? >> > I'm actually mistaken. I'm using the org.apache.openejb.patch:openjpa >> > 2.4.0-nonfinal-1598334 along with TomEE 1.7.2-SNAPSHOT, OpenEJB >> > 4.7.2-SNAPSHOT and OWB 1.2.7 >> > >> > >> > >> > 2015-05-22 13:27 GMT+05:30 Romain Manni-Bucau <[email protected]>: >> > >> > > Hi should be 2.4.0 + did you keep the javaagent in your setup? >> > > Le 22 mai 2015 07:56, "Thusitha Thilina Dayaratne" < >> > > [email protected]> a écrit : >> > > >> > > > Hi, >> > > > >> > > > When I'm trying to run the JNDI dump in the ejb-example provided at >> > > > >> > > > >> > > >> > >> http://svn.apache.org/repos/asf/tomee/tomee/branches/tomee-1.7.x/examples/ejb-examples/ >> > > > with >> > > > some changes. >> > > > I'm getting following on the console >> > > > >> > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > > *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" >> > with >> > > > > message transform method call failed at >> > > > > ../../../src/share/instrument/JPLISAgent.c line: 844 >> > > > >> > > > >> > > > Any idea on this? >> > > > >> > > > I'm using TomEE 1.7.2-SNAPSHOT along with OpenJPA >> > 2.4.0-nonfinal-1598334, >> > > > OpenEJB 4.7.2-SNAPSHOT >> > > > >> > > > >> > > > Thanks >> > > > >> > > > -- >> > > > >> > > >> > >> > >> > >> > -- >> > >> > > > > -- > > --
