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

Pete Muir pmuir at redhat.com
Mon Oct 20 06:20:15 EDT 2008


On 20 Oct 2008, at 09:20, Ales Justin wrote:

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

Yes, typo on my part...

>
>
>>> 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

Ok, then we're going need different components.xml for JBoss 4.2 and  
JBoss 5.

https://jira.jboss.org/jira/browse/JBSEAM-3579



More information about the seam-dev mailing list