[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: org.jboss.deployment.DeploymentException: ManagedConnect
fengbin98
do-not-reply at jboss.com
Tue Feb 19 10:41:52 EST 2008
Jboss 4.2.2GA
Jave: SDK 1.5
It seems to me that the problem is the application fails to get a database connection handle from the jboss server. But I am not sure whether it is caused by the fact that Jboss server is not running or the fact that the server config is wrong. Please help.
1112 [main] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.parentTraceEnabled=true
1112 [main] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.nestedTraceEnabled=false
1112 [main] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.detectDuplicateNesting=true
1112 [main] ERROR com.wire.db.DataUtil - Exception caught in setupDataSource(): org.jboss.deployment.DeploymentException: ManagedConnectionFactory not set!
1134 [main] ERROR com.wire.db.DataException - Exception thrown while initializing DataSource
org.jboss.deployment.DeploymentException: ManagedConnectionFactory not set!
at org.jboss.resource.connectionmanager.ManagedConnectionPool.startService(ManagedConnectionPool.java:291)
at com.wire.db.ManagedConnectionPoolProxy.doStartService(DataUtil.java:718)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:358)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:241)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:140)
at com.wire.db.DbConnUtil.getContext(DbConnUtil.java:109)
at com.wire.db.DbConnUtil.getConnection(DbConnUtil.java:40)
at com.wire.db.DbConn.getConnection(DbConn.java:180)
9563 [main] ERROR com.wire.db.DbConn - com.wire.db.DbConn::getConnection: Failed to get a connection.
com.wire.db.DataException: Exception thrown while initializing DataSource
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:474)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:241)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:140)
at com.wire.db.DbConnUtil.getContext(DbConnUtil.java:109)
at com.wire.db.DbConnUtil.getConnection(DbConnUtil.java:40)
at com.wire.db.DbConn.getConnection(DbConn.java:180)
Caused by: org.jboss.deployment.DeploymentException: ManagedConnectionFactory not set!
at org.jboss.resource.connectionmanager.ManagedConnectionPool.startService(ManagedConnectionPool.java:291)
at com.wire.db.ManagedConnectionPoolProxy.doStartService(DataUtil.java:718)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:358)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130439#4130439
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130439
More information about the jboss-user
mailing list