tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "seenu.atluri" <seenu.atl...@gmail.com>
Subject Re: CMP2 enitity get is making update query in Linux environment
Date Sat, 25 Feb 2017 14:14:00 GMT
I renamed openejb-javaagent.jar in tomee/lib. Now, no javaagent added to
JAVA_OPTS during server start. Still, I am getting Enhance subclass message.
It means javaagent is not in effect in my Linux environment and openjpa is
trying to enhance entities generated by openejb since those are not enhanced
by javaagent and causing issues.

What could be the reason, any guesses? 

Here is my process when it has javaagent added.

 0 S ctsapp   21520 21519 99  85   0 - 690117 184466 06:15 ?       00:00:28
/opt/cts/jdk8/bin/java -javaagent:/opt/cts/tomee/lib/openejb-javaagent.jar
-Djdk.tls.ephemeralDHKeySize=2048
-Djava.util.logging.config.file=/opt/cts/user_projects/tomee/nbms_domain/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n
-Xms512m -Xmx1024m -XX:MaxPermSize=128M -Dsun.net.http.retryPost=false
-Djava.endorsed.dirs=/opt/cts/tomee/endorsed -classpath
/opt/cts/tomee/bin/bootstrap.jar:/opt/cts/tomee/bin/tomcat-juli.jar
-Dcatalina.base=/opt/cts/user_projects/tomee/nbms_domain
-Dcatalina.home=/opt/cts/tomee
-Djava.io.tmpdir=/opt/cts/user_projects/tomee/nbms_domain/temp
org.apache.catalina.startup.Bootstrap start




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/CMP2-enitity-get-is-making-update-query-in-Linux-environment-tp4681136p4681166.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message