Can't get a stack trace, just the warning. But after peeking in the Eclipselink source code it seems clear the thing that is null is this variable, which is supposed to hold a platform-specific Eclipselink MBean:
JMXServerPlatformBase.runtimeServicesMBean And adding this in tomee/conf/system.properties makes the warning go away: eclipselink.register.run.mbean=false -- Bjorn Danielsson Cuspy Code AB Romain Manni-Bucau <[email protected]> wrote: > Guys saying there is an issue is useless, we are still waiting to something > to reproduce and at least a stack. Surely a path issue or jmx character > issue. > Le 18 août 2014 11:49, "Bjorn Danielsson" <[email protected]> > a écrit : > >> I missed this, but I see now that I too have this warning in my logs. >> For me it started appearing in the 1.7.0 release. It didn't occur in >> my 20140721 snapshot. >> >> Running Ubuntu 12.04.4 server, Java 1.7, eclipselink 2.4.2, Mysql. >> >> -- >> Bjorn Danielsson >> Cuspy Code AB >> >> >> "Howard W. Smith, Jr." <[email protected]> wrote: >> > Karl, I informed the list (in another topic/thread) that I saw that >> > nullpointerexception too, since I have eclipselink in my project. I only >> > see this on my DEV server (windows 2008 server, standard edition, 64-bit, >> > JDK 8.0_11). >> > >> > I don't see the exception onmy production server (windows 2008 server, >> R2, >> > 64-bit, JDK 8.0_11). >> > >> > I use eclipselink 2.3.2 and Apache Derby 10.x. >> > >> > >> > >> > On Sun, Aug 17, 2014 at 3:14 PM, Karl Kildén <[email protected]> >> wrote: >> > >> >> Seems to work fine but I do get this in the log: >> >> >> >> [EL Info]: 2014-08-17 >> >> >> >> >> 18:57:56.333--ServerSession(2103498909)--file:/C:/raindance/mp/mp/web/target/mp-web-1.0.0-SNAPSHOT/WEB-INF/lib/mp-domain-1.0.0-SNAPSHOT.jar_ref >> >> login successful >> >> [EL Warning]: 2014-08-17 >> 18:57:56.338--ServerSession(2103498909)--Problem >> >> while registering MBean: java.lang.NullPointerException >> >> >> >> You never want NPE in your boot log, anyone knows whats up? >> >> >> >> >> >> On 16 August 2014 21:55, Karl Kildén <[email protected]> wrote: >> >> >> >> > Thanks guys! >> >> > >> >> > >> >> > On 16 August 2014 19:57, Bjorn Danielsson < >> >> > [email protected]> wrote: >> >> > >> >> >> I've been switching back and forth between Eclipselink and OpenJPA >> >> >> for various reasons. All I do to enable Eclipselink is put a copy >> >> >> of eclipselink.jar in tomee/lib, in addition to changing the provider >> >> >> in my app's persistence.xml. If you don't want to use plume, just >> >> >> copy the eclipselink jar from that distribution. >> >> >> >> >> >> -- >> >> >> Bjorn Danielsson >> >> >> Cuspy Code AB >> >> >> >> >> >> >> >> >> Karl Kildén <[email protected]> wrote: >> >> >> > Hello, I know this is supposed to be trivial. This shows config >> >> changes: >> >> >> > >> >> >> > http://tomee.apache.org/examples-trunk/jpa-eclipselink/README.html >> >> >> > >> >> >> > But what about lib changes? Anyone have good advice on what to add >> and >> >> >> > possibly remove? >> >> >> > >> >> >> > cheers >> >> >> >> >> > >> >> > >> >> >>
