[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6522?page=c...
]
Scott Marlow commented on HHH-6522:
-----------------------------------
I'll probably close this jira as a duplicate of AS7-1864 (I mentioned a workaround on
http://community.jboss.org/message/629634#629634).
The problem is caused by deferring the load of Hibernate until the first EE container
managed persistence unit is deployed. This is being fixed as part of AS7-1864. Once
AS7-1864 is closed, an engineering build (
http://community.jboss.org/thread/167590) with
the fix will be available.
This doesn't appear to be a Hibernate bug after all. ;)
NPE in JBoss 7 when using JTA
-----------------------------
Key: HHH-6522
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6522
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 4.0.0.Beta4
Environment: Hibernate 4.0.0.Beta1 and 4.0.0.Beta4. JBoss 7
Reporter: Mike Huniewicz
Assignee: Scott Marlow
Labels: transaction_manager
Attachments: EntityManagerFactoryTest.zip
A NullPointerException occurs when resolving JTA transaction manager.
Please see here for the stack trace:
http://community.jboss.org/message/618455#618455
Caused by: java.lang.NullPointerException
at
org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus(JtaStatusHelper.java:72)
[hibernate-core-4.0.0.Beta1.jar:4.0.0.Beta1]
I'm using Arquillian to build my WAR file to deploy it to JBoss 7 for testing.
Here's my source code:
https://github.com/m1key/audiolicious/tree/WithJBossIntegrationTests
persistence.xml:
https://github.com/m1key/audiolicious/blob/WithJBossIntegrationTests/audi...
Data source is not XA. It seems that it did manage to connect to the data source because
it tries to create tables.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira