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...
It's actually the WarStructure that understands it. ;-)
-
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/org/jboss/we...
Ok, then we're going need different components.xml for JBoss 4.2 and
JBoss 5.
https://jira.jboss.org/jira/browse/JBSEAM-3579