[seam-dev] Re: Seam 2.1.0.GA testing on AS 5 CR2 status

Ales Justin ales.justin at gmail.com
Mon Oct 20 04:20:33 EDT 2008


>> Ok, this occurs because EJB3 is now deploying JPA for WARs 
>> (persistence.xml in WEB-INF/classes/persistence.xml), so that 

Missing META-INF?

>> Hibernate gets started twice, and so import.sql is run twice. ALR, is 
>> it correct that PUs get deployed from inside a war for EJB3? Other EE5 
>> containers don't do this.
> 
> Yes, @see comments in:
> 
> http://anonsvn.jboss.org/repos/jbossas/trunk/ejb3/src/main/org/jboss/ejb3/deployers/PersistenceUnitParsingDeployer.java 

It's actually the WarStructure that understands it. ;-)
  - 
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/org/jboss/web/deployers/WARStructure.java



More information about the seam-dev mailing list