[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

tarantula do-not-reply at jboss.com
Tue Dec 19 01:58:59 EST 2006


Hey,

I've been exploring the embedded EJB3 container that ships with Seam 1.1 GA for the past few days (since it was released) and it looks promising. 

I managed to migrate a sizable domain model from pure Hibernate to the Java persistence API using EJB3 entities.

My very simple TestNG test case runs fine (after much wrangling about in my database) but what's really throwing me for a loop are the loopy error messages in the log files.

Anybody else seen this type of stuff?

01:44:27,250  WARN org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding:227 - You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'

Or this?

01:44:32,968 FATAL org.hibernate.ejb.Ejb3Configuration:124 - default.persistence.propertiesO-:-Ofalse
01:44:32,968 FATAL org.hibernate.ejb.Ejb3Configuration:124 - ejb3-interceptors-aop.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - embedded-jboss-beans.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - import.sqlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - jboss-jms-beans.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - jndi.propertiesO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - log4j.dtdO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - log4j.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - login-config.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - META-INF/application.xmlO-:-Ofalse
01:44:33,062 FATAL org.hibernate.ejb.Ejb3Configuration:124 - META-INF/ejb-jar.xmlO-:-Ofalse

I saw some posts indicating this one had been fixed in CSV/SVN but I'm not quite sure how to put together a custom out-of-container EJB3 testing environment from odd JARs. 

Anyone else have some luck with this?

Should I just ignore these messages and get on with the work?

It would be a shame to turn off logging on the org.hibernate.ejb.Ejb3Configuration just to turn off this perplexing FATAL message. 

What does it mean?

I much prefer actually dealing with issues in my logs than simply ignoring them! :)

Cheers,
tarantula

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994901#3994901

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994901



More information about the jboss-user mailing list