openejb

Why embedded OpenEJB fails to deploy my application?

Hi, I can't understand why an embedded OpenEJB container fails at the beginning with very un-informative message (sorry for a long log): Running com.XXX.MyTest Apache OpenEJB 3.1.3 build: 20101015-05:42 http://openejb.apache.org/ INFO - openejb.home = [skipped...] INFO - openejb.base = [skipped...] INFO - Configuring Service(id=...

What to put into jta-data-source of persistence.xml?

What value should I place into <jta-data-source> of my persistence.xml? In glassfish admin panel I created a datasource name "abcDS". In my jndi.properties (inside src/test/resources) I defined it like this: [...] abcDS=new://Resource?type=DataSource abcDS.JdbcDriver=org.hsqldb.jdbcDriver abcDS.JdbcUrl=jdbc:hsqldb:mem:testdb abcDS.JtaM...

Why datasource is not found in JNDI after injection from jndi.properties?

This is my persistence.xml: <persistence> <persistence-unit name="MyUnit"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>jdbc/abcDS</jta-data-source> </persistence-unit> </persistence> This is jndi.properties file from src/test/resources which is supposed to create a datasource during testing...

Error deploying MDB with multiple queue names in OpenEJB

The following error appeared at Tomcat/OpenEJB startup after upgrading to OpenEJB 3.1.3: ERROR - Unable to register MBean java.lang.IllegalStateException: javax.management.MalformedObjectNameException: Invalid character ',' in key part of property at org.apache.openejb.monitoring.ObjectNameBuilder.build(ObjectNameBuilder.java:59) ...