Re: Exception while testing MDB

2009-01-19 Thread David Blevins
On Jan 14, 2009, at 2:52 AM, marekd wrote: Could it be the same problem as this one: https://issues.apache.org/activemq/browse/AMQ-1824 (see next to last comment) ? Seems very likely. I'd recommend upgrading the ActiveMQ version to try it out, but unfortunately they repackaged their code

logging.properties file ignored for unit tests

2009-01-19 Thread Olivier THIERRY
Hi, I use Open EJB 3.1 within a Maven 2.0.9 project to run tests. Everything works well for the moment. But for a few days I encounter a bug with entity manager and I need to activate logs to understand what happens. I start OpenEJB this way : System.setProperty(openejb.base,

datasource problem with hibernate and oracle

2009-01-19 Thread Paolo Spadafora
Hello, I have a problem with datasource, looks like openejb is using an hsqldb database instead of Oracle. The error is: table not found INFO: building session factory 19-gen-2009 12.43.36 org.hibernate.impl.SessionFactoryObjectFactory addInstance INFO: Not binding factory to JNDI, no

Re: Programatically configure persistence under Tomcat

2009-01-19 Thread Luis Fernando Planella Gonzalez
I think that having a deployable openejb.xml in the web application context wouldn't be the exact solution... The current version of our application has a host with ~20 instances (the new version is being developed using OpenEJB). Imagine using an openejb.xml per instance. Here is what would

Re: OpenEJB on Oracle

2009-01-19 Thread JensToerber
Hi David, thanks a lot for your support: I) i tried the javax.mail.Session Resource: What i found out: a) If you specify the pass-through Properties in Resource id=BedsMailSession type=javax.mail.Session # mail.host= mail.pop3.user=jens.toerber

Re: JNDI lookup in Tomcat

2009-01-19 Thread JensToerber
Hi David, i don't think it's critical. My/our situation is like this. We have a running application on JBoss 4.2 which does not support @EJB in Web-Tier. Now JBoss 5 is out and it should work there. To migrate our application on Tomcat and/or to use @EJB in Web-Tier we would have to put a