Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Karl Kildén
Another Q What do you eclipselink guys use for weaving? On 19 August 2014 20:36, Karl Kildén karl.kil...@gmail.com wrote: Thanks Romain others! On 18 August 2014 21:18, Howard W. Smith, Jr. smithh032...@gmail.com wrote: okay, i just confirmed that with my app and tomee+ 1.7.0. i added

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Romain Manni-Bucau
eclipselink jar directly as javaagent (to be done by you if needed) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-20 7:59 GMT+02:00 Karl Kildén

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread hwaastad
Hi, I'm using eclipselink 2.5.2 and staticweave-maven-plugin hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Switching-to-Eclipselink-in-TomEE-plus-tp4671217p4671300.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Karl Kildén
-maven-plugin hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Switching-to-Eclipselink-in-TomEE-plus-tp4671217p4671300.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread hwaastad
Hi, I'm just using the default. well logging is quite silent TomEE usually complains when property name=eclipselink.weaving value=static/ is not present in persistence.xml hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Switching-to-Eclipselink-in-TomEE-plus

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Bjorn Danielsson
TomEE gives me dynamic weaving by default, no configuration needed. Putting property name=eclipselink.logging.level value=ALL/ in persistence.xml shows Weaved log entries, so I just assume that it works. -- Bjorn Danielsson Cuspy Code AB Karl Kildén karl.kil...@gmail.com wrote: Another Q

RE: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Will Hoover
... -Original Message- From: Karl Kildén [mailto:karl.kil...@gmail.com] Sent: Wednesday, August 20, 2014 2:00 AM To: users@tomee.apache.org Subject: Re: Switching to Eclipselink in TomEE plus? Another Q What do you eclipselink guys use for weaving? On 19 August 2014 20:36, Karl Kildén

Re: Switching to Eclipselink in TomEE plus?

2014-08-20 Thread Karl Kildén
/dependency ... -Original Message- From: Karl Kildén [mailto:karl.kil...@gmail.com] Sent: Wednesday, August 20, 2014 2:00 AM To: users@tomee.apache.org Subject: Re: Switching to Eclipselink in TomEE plus? Another Q What do you eclipselink guys use for weaving? On 19 August 2014 20

Re: Switching to Eclipselink in TomEE plus?

2014-08-19 Thread Karl Kildén
Thanks Romain others! On 18 August 2014 21:18, Howard W. Smith, Jr. smithh032...@gmail.com wrote: okay, i just confirmed that with my app and tomee+ 1.7.0. i added the following to my java [startup] options -Dopenejb.eclipselink.jmx=false and i see the following in the log file:

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Bjorn Danielsson
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.

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
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 bjorn-apa...@lists.cuspycode.com a écrit : I missed this, but I see now that I too have this warning

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Karl Kildén
Hi Romain, This was the only output I could find in the boot logs. Do you want a sample for this? I can just zip something up :-) On 18 August 2014 13:53, Romain Manni-Bucau rmannibu...@gmail.com wrote: Guys saying there is an issue is useless, we are still waiting to something to reproduce

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
A github project would be awesome Le 18 août 2014 14:04, Karl Kildén karl.kil...@gmail.com a écrit : Hi Romain, This was the only output I could find in the boot logs. Do you want a sample for this? I can just zip something up :-) On 18 August 2014 13:53, Romain Manni-Bucau

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Bjorn Danielsson
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

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Andy Gumbrecht
Are you setting the properties -Declipselink.register.run.mbean=true, or -Declipselink.register.dev.mbean=true If so then then you will require -Dcom.sun.management.jmxremote=true - This used to be on/true by default, but was removed from the release. Andy. On 18/08/2014 16:40, Bjorn

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Bjorn Danielsson
Andy, no I didn't modify any startup scripts. I tried adding -Dcom.sun.management.jmxremote=true just now and nothing changed. When I crank up eclipselink.logging.level the logs show that the eclipselink MBeanDevelopmentServices is registered, but the next mbean is null. That's the

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
Ok think I get i, that's a tomee bug. I'll try to fix it tonight Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-18 20:02 GMT+02:00 Bjorn Danielsson

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
https://issues.apache.org/jira/browse/TOMEE-1296 Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-18 20:15 GMT+02:00 Romain Manni-Bucau rmannibu...@gmail.com: Ok

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Bjorn Danielsson
Wow! That was fast ;-) Could you also please answer a stupid question: the bug only affected Eclipselink monitoring, am I correct here? Because I never saw any problems, just this strange warning. -- Bjorn Danielsson Cuspy Code AB Romain Manni-Bucau rmannibu...@gmail.com wrote:

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
yep you can also disable it setting openejb.eclipselink.jmx=false Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-18 20:33 GMT+02:00 Bjorn Danielsson

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Howard W. Smith, Jr.
Romain is 'always' fast! :D On Mon, Aug 18, 2014 at 2:33 PM, Bjorn Danielsson bjorn-apa...@lists.cuspycode.com wrote: Wow! That was fast ;-)

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Howard W. Smith, Jr.
Is this (openejb.eclipselink.jmx=false) added as part of the fix, or is openejb.eclipselink.jmx=false available in tomee 7.0 final release, already? On Mon, Aug 18, 2014 at 2:36 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: you can also disable it setting openejb.eclipselink.jmx=false

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
don't forget to add professionally ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-18 20:59 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: Romain is

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Romain Manni-Bucau
it is in 1.7 Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-18 21:00 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: Is this (openejb.eclipselink.jmx=false)

Re: Switching to Eclipselink in TomEE plus?

2014-08-18 Thread Howard W. Smith, Jr.
okay, i just confirmed that with my app and tomee+ 1.7.0. i added the following to my java [startup] options -Dopenejb.eclipselink.jmx=false and i see the following in the log file: 2014-08-18 15:14:00 Commons Daemon procrun stdout initialized [EL Info]: 2014-08-18

Re: Switching to Eclipselink in TomEE plus?

2014-08-17 Thread Karl Kildén
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

Re: Switching to Eclipselink in TomEE plus?

2014-08-17 Thread Howard W. Smith, Jr.
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

Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Karl Kildén
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

Re: Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Romain Manni-Bucau
Hi Did you try tomee plume 1.7? It uses eclipselink and mojarra Le 16 août 2014 17:02, Karl Kildén karl.kil...@gmail.com a écrit : 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

Re: Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Karl Kildén
Hello Romain! I am a big fan of myfaces but I guess I could go with plume and switch back to myfaces. Is plume a plus variant though? I also need jms On 16 August 2014 17:26, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi Did you try tomee plume 1.7? It uses eclipselink and mojarra Le

Re: Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Romain Manni-Bucau
yes but the comment was more do a diff between plus and plume distro and you'll get needed jars. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-16 19:06 GMT+02:00

Re: Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Bjorn Danielsson
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

Re: Switching to Eclipselink in TomEE plus?

2014-08-16 Thread Karl Kildén
Thanks guys! On 16 August 2014 19:57, Bjorn Danielsson bjorn-apa...@lists.cuspycode.com 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