Re: TomEE plans for Java EE 7

2013-06-03 Thread Jean-Louis MONTEIRO
Will be probably hard to get a JMS 2.0 compliant release from ActiveMQ. It may require additional work to switch to Apollo as it looks to be the product to rely on. JLouis 2013/6/3 David Blevins david.blev...@gmail.com On Jun 1, 2013, at 3:04 AM, John D. Ament john.d.am...@gmail.com wrote:

Re: @EJB within JAR

2013-06-03 Thread Jean-Louis MONTEIRO
Hi, not sure to understand how you deploy your app. For instance, you jar module (if alone as I understood) should be in apps/ (see deployment tag in tomee.xml). If you wanna call components between Java EE modules (separate jar file for example), you have to use global JNDI names. As a side

Tomee Plus and EAR debugging in Eclipse

2013-06-03 Thread pierrepinon
Hello, I added Tomcat 7 Server Runtime Environment for debug my EAR and webapps but it seems impossible to deploy EAR directly from Eclipse. I read http://tomee.apache.org/tomee-and-eclipse.html; but it's only for WAR. Is there a solution to deploy my EAR and debug my application in Eclipse. I

Re: Tomee Plus and EAR debugging in Eclipse

2013-06-03 Thread Jean-Louis MONTEIRO
Using TomEE maven plugin is pretty simple. Just use tomee:debug target instead of tomee:run and attach the debugger to 5005 port. JLouis 2013/6/3 pierrepinon ppi...@smaeur.eu Hello, I added Tomcat 7 Server Runtime Environment for debug my EAR and webapps but it seems impossible to deploy

Re: Tomee Plus and EAR debugging in Eclipse

2013-06-03 Thread Romain Manni-Bucau
Hi, you copy your ear in tomee/apps then set environment variables JPDA_ADDRESS=5005 and JPDA_SUSPEND=y. Finally in eclipse add to the JVM args: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005. Start tomee, create a remote debug configuration in eclipse on port 5005 and you

Re: @EJB within JAR

2013-06-03 Thread AndrewClarke
Hi Jean-Louis. Thanks for your response. I'm not sure how I'm deploying my app either! The app is currently running in JBoss, and many of the EJBs are packaged in a separate JAR file in JBoss, and in the end all deployed in an EAR. I'm trying to port it to TomEE and I'm not sure what I'm

Re: TomEE plans for Java EE 7

2013-06-03 Thread Howard W. Smith, Jr.
Wow, nice response David. A nice list that show impact and new/target versions and even mention of the time line. On Jun 3, 2013 12:36 AM, David Blevins david.blev...@gmail.com wrote: On Jun 1, 2013, at 3:04 AM, John D. Ament john.d.am...@gmail.com wrote: I think realistically you need all

Re: TomEE plans for Java EE 7

2013-06-03 Thread jieryn
Greetings, On Mon, Jun 3, 2013 at 12:36 AM, David Blevins david.blev...@gmail.com wrote: Exactly. We need all these projects to complete their portion of JavaEE 7: - CDI 1.1 - Apache OpenWebBeans - EJB 3.2 - Apache OpenEJB - JPA 2.1 - Apache OpenJPA - JSF 2.2 - Apache MyFaces - Servlet

moviefun on mysql

2013-06-03 Thread Leonardo K. Shikida
Hi I've downloaded moviefun and altered it to use mysql just adding the dictionary reference in persistence.xml ?xml version=1.0 encoding=UTF-8? persistence version=2.0 xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Configuring OpenEJB logging

2013-06-03 Thread Chris.Christo
Isn't there any way to configure the slf4j implementation slf4j-jdk14 that comes with TomEE/OpenEJB? All the documentation points to dropping in the log4j implementation jar into lib and then adding various log4j.xxx to your properties. Chris

Re: moviefun on mysql

2013-06-03 Thread Romain Manni-Bucau
Hi did you configure movieDatabaseUnmanaged and movieDatabase to point to the mysql database? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn:

Re: Remote exceptions logging

2013-06-03 Thread vhubuo
For the 1.6.0 builds everything work fine. For 1.5.2 and 1.5.3 .useParentHandlers = true workaround does not work. -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663433.html Sent from the OpenEJB User mailing list archive at

Re: Configuring OpenEJB logging

2013-06-03 Thread Chris.Christo
Hi Romain, So how would I apply these logging properties using JUL? log4j.rootLogger = fatal,C log4j.category.OpenEJB = debug log4j.category.OpenEJB.options = debug log4j.category.OpenEJB.server = debug log4j.category.OpenEJB.startup = debug

Re: Configuring OpenEJB logging

2013-06-03 Thread Romain Manni-Bucau
here a sample for tomee https://gist.github.com/rmannibucau/d0f669c710ff174160b6 for openejb and using openejb properties use logging.level.FOO instead of FOO.level. *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: Tomee Plus and EAR debugging in Eclipse

2013-06-03 Thread Romain Manni-Bucau
hmm, you find eclipse easier but tomee mvn plugin is far better to work in a team because you share in your project your tomee.xml in a standard place and calling mvn tomee:run it is automatically used where in eclipse you need to put it manually in the right server project. Then that's just

Re: Remote exceptions logging

2013-06-03 Thread Romain Manni-Bucau
wonder if -Dopenejb.log.factory=slf4j could be a workaround for older versions *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github:

Re: Intellij / TomEE tutorial? documentation? anything?

2013-06-03 Thread Jason Zwolak
Hi Everyone, I'm still looking for good tutorials or documentation on using Intellij with TomEE. I have a long story below of my experiences and frustrations... but you can stop reading after this paragraph if you aren't interested in that and just know that I'm looking for documentation,

jpa extra-lazy initialization

2013-06-03 Thread kumm0307
Hello! i've realized initialization of jpa provider is not a part of the deploy process in tomEE (unlike glassfish, or jobss). Openjpa creates database schema at the first entitymanager call. I can reproduce this in a simple web-application too, but my main issue is integration testing. I try

Re: Intellij / TomEE tutorial? documentation? anything?

2013-06-03 Thread Romain Manni-Bucau
Hi writing your experience is always important, for us and for Intellij to see how to improve it (feel free to open an issue on their bugtracker to ask for a better integration if you don't like it). About what users do: webapp dev uses often eclipse + wtp, personally i love tomee mvn plugin (ok

Re: jpa extra-lazy initialization

2013-06-03 Thread Romain Manni-Bucau
Hi, this is an openjpa feature. In OpenEJB we have https://issues.apache.org/jira/browse/OPENEJB-1878 + to init a database (mem) from sql script you can simply create a script (sql) at classpath called import-name of datasource or persistence unit.sql with a sql command by line and it will be

Re: Eclipse timeout

2013-06-03 Thread Caterpillar
Il 28/05/2013 18:37, John D. Ament ha scritto: Right, so you're referring to a persistence context that doesn't exist (because you have no persistence.xml) On Tue, May 28, 2013 at 12:27 PM, Caterpillar caterpilla...@gmail.comwrote: 2013/5/28 John D. Ament john.d.am...@gmail.com Do you