[Persistence, JBoss/CMP, Hibernate, Database] - Re: Perplexing error - meta-aware object error
by mohitanchlia
I enabled hibernate trace and see the following, it looks like some state is not getting clear and it thinks that the connection thread is already in running state. Could someone help?
Here is the additional info in addition to the stack trace that I earlier posted
| Caused by: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > in enlist!); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > in enlist!))
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
| at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
| at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
| ... 49 more
| Caused by: org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > in enlist!)
| at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
| at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
| ... 51 more
| Caused by: java.lang.IllegalStateException: Trying to change transaction TransactionImple < ac, BasicAction: a0a5174:985a:493439f5:4c5a0 status: ActionStatus.RUNNING > in enlist!
| at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:525)
| at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
| ... 55 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193576#4193576
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193576
16 years
[Installation, Configuration & DEPLOYMENT] - Re: errors on JBoss startup - replacing Hypersonic DB with O
by ilangocal
"braca" wrote : Hi,
|
| I removed hsqldb-ds.xml and replaced it with oracle-ds.xml. For this reason, I changed the following files by replacing DefaultDS to OracleDS (your Datasource name).
|
| conf/login-config.xml
| deploy/uuid-key-generator.sar/META-INF/jboss-service.xml
| deploy/ejb-deployer.xml
| deploy/jms/hsqldb-jdbc-state-service.xml
| deploy/jms/hsqldb-jdbc2-service.xml --> replace with oracle-jdbc2-service.xml from $JBOSS_HOME/examples/jms and use your Datasource name
|
| braca
|
I still get the following errors:
12:10:27,641 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS F
|
| OR DETAILS):
|
|
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
|
|
| jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.connectionfactory:service=ConnectionFactory
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.destination:name=DLQ,service=Queue
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.destination:name=DexCenterSubmitQueue,service=Queue
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.destination:name=DexPostProcessQueue,service=Queue
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.destination:name=DexSubmitQueueStation,service=Queue
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging.destination:name=ExpiryQueue,service=Queue
|
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
|
|
| jboss.messaging:service=PostOffice
|
| -> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **}
|
|
|
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
|
|
| jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **
|
|
|
|
|
| 12:10:27,719 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.95.126-8080
|
| 12:10:27,750 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-192.168.95.126-8009
|
| 12:10:27,844 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started
|
| in 1m:56s:736ms
And after I put your suggestions to work, this is what I found:
I am using JBoss 5 CR2. I was unable to find deploy/jms/hsqldb-jdbc2-service.xml. I have something called hsqlddb-persistence.xml instead.
I had to remove ejb2-timer-service.xml to make some errors go away.
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193572#4193572
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193572
16 years