can't add persistence.xml to my EJB jar META-INF exceptions are thrown and application is not deployed

2012-11-11 Thread elico
Hi, I am using TomEE to deploy an EAR file, that contains one EJB JAR and one WAR. I want to add entities using the default provider. I have created a resource in tomee.xml to use MySQL DB. Then I would like to use entity manager so I am trying to create the following persistence.xml in the EJB

@Remove on stateful session bean does not work?

2012-11-11 Thread Throwable
Hello, I have a remote client that invokes a stateful session bean. An EJB has a dispose() method annotated with @Remove. After each lookup() and a conversation with EJB my client calls dispose() method that according to j2ee specification must remove EJB from container. But after some period of

Re: @Remove on stateful session bean does not work?

2012-11-11 Thread Jean-Louis MONTEIRO
Hi, it's tested on the project itself AFAIR, so would it be possible to get a simple test to reproduce please? Jean-Louis 2012/11/11 Throwable ant.kura...@gmail.com Hello, I have a remote client that invokes a stateful session bean. An EJB has a dispose() method annotated with @Remove.

Re: can't add persistence.xml to my EJB jar META-INF exceptions are thrown and application is not deployed

2012-11-11 Thread Jean-Louis MONTEIRO
Hi, maybe i'm wrong but that exception makes me thing about a bad packaging. I mean, maybe your are actually embedding jars/classes already included in TomEE. Could you print the list of jars in the /lib directory of the EAR as well as the contain of WEB-INF/lib? Jean-Louis 2012/11/10 elico

Re: DataSource Password Encryption

2012-11-11 Thread David Blevins
On Nov 8, 2012, at 11:35 AM, Yousef Herzallah yousef.herzal...@gmail.com wrote: Resource id=myMccplusDS type=DataSource DataSourceCreator=dbcp FYI, I added a check so that illegal attributes are found and flagged. -David

Re: can't add persistence.xml to my EJB jar META-INF exceptions are thrown and application is not deployed

2012-11-11 Thread elico
Hi,Thank you for the reply.First, I would like to say, when I followed the instructions how to use Hibernate as JPA on TomEE, I could successfully start the server (yet I didn't try to create any entities, I hope it will work well :)About my project, I added the following JARs to the TomEE/lib1.

Re: can't add persistence.xml to my EJB jar META-INF exceptions are thrown and application is not deployed

2012-11-11 Thread Romain Manni-Bucau
Hi, can you give it a try on the snapshot please? here it is: https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.5.1-SNAPSHOT/ *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

TomEE 1.5.1 Release Date

2012-11-11 Thread zeddius
Hi guys, When TomEE 1.5.1 is going to be released? We are waiting for a number of bug fixes from TomEE 1.5.1 however the snapshots are not very stable. -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-1-5-1-Release-Date-tp4658516.html Sent from the OpenEJB User