Hi,
Is it necessary to setup to use JTA?
Below is the output i get from my Jboss 4.0.3SP1 based on the original configuration which I posted to forum just now.
Hope to get some help.
Code:
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Server\jboss-4.0.3SP1\bin\\..
.
JAVA: C:\jdk1.5.0_03\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\jdk1.5.0_03\lib\tools.jar;C:\Server\jboss-4.0.3SP1\bin\\run.jar
.
===============================================================================
.
12:54:47,680 INFO [Server] Starting JBoss (MX MicroKernel)...
12:54:47,696 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
12:54:47,696 INFO [Server] Home Dir: C:\Server\jboss-4.0.3SP1
12:54:47,696 INFO [Server] Home URL: file:/C:/Server/jboss-4.0.3SP1/
12:54:47,696 INFO [Server] Patch URL: null
12:54:47,696 INFO [Server] Server Name: default
12:54:47,696 INFO [Server] Server Home Dir: C:\Server\jboss-4.0.3SP1\server\default
12:54:47,696 INFO [Server] Server Home URL: file:/C:/Server/jboss-4.0.3SP1/server/default/
12:54:48,180 INFO [Server] Server Temp Dir: C:\Server\jboss-4.0.3SP1\server\default\tmp
12:54:48,180 INFO [Server] Root Deployment Filename: jboss-service.xml
12:54:48,696 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
12:54:48,696 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_03-b07,Sun Microsystems Inc.
12:54:48,696 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:54:49,805 INFO [Server] Core system initialized
12:54:52,336 INFO [WebService] Using RMI server codebase: http://JAPBC:8083/
12:54:52,368 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:54:53,305 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:54:59,633 INFO [Embedded] Catalina naming disabled
12:55:00,118 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:55:00,118 INFO [Catalina] Initialization processed in 422 ms
12:55:00,118 INFO [StandardService] Starting service jboss.web
12:55:00,118 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
12:55:00,180 INFO [StandardHost] XML validation disabled
12:55:00,211 INFO [Catalina] Server startup in 93 ms
12:55:00,430 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
12:55:01,102 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:55:01,665 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp37550jboss-ws4ee-exp.war/
12:55:01,821 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
12:55:02,055 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
12:55:04,649 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
12:55:05,352 INFO [MailService] Mail Service bound to java:/Mail
12:55:06,086 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
12:55:06,227 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
12:55:06,368 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
12:55:06,508 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
12:55:06,711 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
12:55:06,868 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
12:55:08,165 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
12:55:08,493 INFO [A] Bound to JNDI name: queue/A
12:55:08,508 INFO [B] Bound to JNDI name: queue/B
12:55:08,508 INFO [C] Bound to JNDI name: queue/C
12:55:08,508 INFO [D] Bound to JNDI name: queue/D
12:55:08,508 INFO [ex] Bound to JNDI name: queue/ex
12:55:08,524 INFO [testTopic] Bound to JNDI name: topic/testTopic
12:55:08,524 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
12:55:08,524 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
12:55:08,540 INFO [testQueue] Bound to JNDI name: queue/testQueue
12:55:08,758 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
12:55:08,868 INFO [DLQ] Bound to JNDI name: queue/DLQ
12:55:09,102 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
12:55:09,243 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/cis' to JNDI name 'java:jdbc/cis'
12:55:12,618 INFO [TomcatDeployer] deploy, ctxPath=/aa, warUrl=.../tmp/deploy/tmp37605aa-exp.war/
12:55:13,008 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,008 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,008 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,024 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,mypackage.Location)
12:55:13,024 WARN [Digester] [ManagedBeanRule]{faces-config/managed-bean} Merge(location)
12:55:13,024 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,196 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,196 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,196 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
12:55:13,930 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
12:55:16,665 INFO [TomcatDeployer] deploy, ctxPath=/cis, warUrl=.../tmp/deploy/tmp37606train-exp.war/
12:55:16,868 INFO [CIS] Servlet filter init, now opening/closing a Session for each request.
12:55:17,086 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
12:55:17,211 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:55:17,227 INFO [JkMain] Jk running ID=0 time=0/47 config=null
12:55:17,243 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 29s:63ms
12:55:21,899 INFO [TomcatDeployer] undeploy, ctxPath=/cis, warUrl=.../tmp/deploy/tmp37606train-exp.war/
12:55:24,571 INFO [TomcatDeployer] deploy, ctxPath=/cis, warUrl=.../tmp/deploy/tmp37607train-exp.war/
12:55:24,665 INFO [CIS] Servlet filter init, now opening/closing a Session for each request.
12:55:24,790 INFO [Environment] Hibernate 3.2 cr2
12:55:24,790 INFO [Environment] hibernate.properties not found
12:55:24,805 INFO [Environment] Bytecode provider name : cglib
12:55:24,805 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
12:55:24,946 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
12:55:24,946 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
12:55:25,040 INFO [Configuration] Reading mappings from resource: my/com/snt/cis/model/dep/Department.hbm.xml
12:55:25,805 INFO [HbmBinder] Mapping class: my.com.snt.cis.model.dep.Department -> t_department
12:55:25,836 INFO [Configuration] Reading mappings from resource: my/com/snt/cis/model/sta/Staff.hbm.xml
12:55:25,868 INFO [HbmBinder] Mapping class: my.com.snt.cis.model.sta.Staff -> t_staff
12:55:25,977 INFO [Configuration] Reading mappings from resource: my/com/snt/cis/model/sta/StaffSkill.hbm.xml
12:55:25,977 INFO [HbmBinder] Mapping class: my.com.snt.cis.model.sta.StaffSkill -> t_staff_skill
12:55:25,993 INFO [Configuration] Reading mappings from resource: my/com/snt/cis/model/sta/StaffStatus.hbm.xml
12:55:29,211 INFO [HbmBinder] Mapping class: my.com.snt.cis.model.sta.StaffStatus -> t_staff_status
12:55:29,211 INFO [Configuration] Reading mappings from resource: my/com/snt/cis/model/ski/Skill.hbm.xml
12:55:29,211 INFO [HbmBinder] Mapping class: my.com.snt.cis.model.ski.Skill -> t_skill
12:55:29,227 INFO [Configuration] Configured SessionFactory: null
12:55:29,227 INFO [HbmBinder] Mapping collection: my.com.snt.cis.model.dep.Department.staffs -> t_staff
12:55:32,196 INFO [HbmBinder] Mapping collection: my.com.snt.cis.model.sta.Staff.staffSkills -> t_staff_skill
12:55:32,196 INFO [HbmBinder] Mapping collection: my.com.snt.cis.model.ski.Skill.staffSkills -> t_staff_skill
12:55:32,290 INFO [NamingHelper] JNDI InitialContext properties:{}
12:55:32,290 INFO [DatasourceConnectionProvider] Using datasource: java:jdbc/cis
12:55:32,555 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.15-nt
12:55:32,555 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.0.16-ga ( $Date: 2004/09/30 07:35:03 $, $Revision: 1.27.2.44 $ )
12:55:35,227 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
12:55:35,227 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
12:55:35,227 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
12:55:35,227 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
12:55:35,227 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
12:55:38,540 INFO [SettingsFactory] JDBC batch size: 15
12:55:38,540 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
12:55:38,555 INFO [SettingsFactory] Scrollable result sets: enabled
12:55:38,555 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
12:55:38,555 INFO [SettingsFactory] Connection release mode: auto
12:55:38,571 INFO [SettingsFactory] Maximum outer join fetch depth: 3
12:55:38,571 INFO [SettingsFactory] Default batch fetch size: 1
12:55:38,571 INFO [SettingsFactory] Generate SQL with comments: disabled
12:55:41,040 INFO [SettingsFactory] Order SQL updates by primary key: disabled
12:55:41,040 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
12:55:41,040 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
12:55:41,040 INFO [SettingsFactory] Query language substitutions: {}
12:55:41,040 INFO [SettingsFactory] Second-level cache: enabled
12:55:41,040 INFO [SettingsFactory] Query cache: disabled
12:55:41,040 INFO [SettingsFactory] Cache provider: org.hibernate.cache.NoCacheProvider
12:55:45,040 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
12:55:45,040 INFO [SettingsFactory] Structured second-level cache entries: disabled
12:55:45,040 INFO [SettingsFactory] Echoing all SQL to stdout
12:55:45,040 INFO [SettingsFactory] Statistics: disabled
12:55:45,040 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
12:55:45,040 INFO [SettingsFactory] Default entity-mode: pojo
12:55:45,102 INFO [SessionFactoryImpl] building session factory
12:55:45,915 INFO [SessionFactoryObjectFactory] Factory name: java:jdbc/cis
12:55:48,540 INFO [NamingHelper] JNDI InitialContext properties:{}
12:55:48,540 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: java:jdbc/cis
12:55:48,540 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
12:57:17,430 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
12:57:17,430 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
12:57:17,430 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
12:57:17,430 ERROR [JDBCExceptionReporter] No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
12:57:17,430 ERROR [JDBCExceptionReporter] No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
12:57:17,430 ERROR [JDBCExceptionReporter] No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
12:57:31,930 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
my.com.snt.cis.exception.InfrastructureException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:20 at my.com.snt.cis.filter.HibernateFilter.doFilter(HibernateFilter.java:2 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:8 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:21 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17 at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:3 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:15 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:5 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:74 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:11 at java.lang.Thread.run(Thread.java:59Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:10 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:9 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:4 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:2 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:42 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:14 at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:11 at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:5 at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:131 at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:19 ... 20 moCaused by: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:7 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:6 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:41 ... 25 moCaused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:24 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:52 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:41 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:34 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:46 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:89 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:7 ... 27 mo12:57:31,930 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
my.com.snt.cis.exception.InfrastructureException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:20 at my.com.snt.cis.filter.HibernateFilter.doFilter(HibernateFilter.java:2 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:8 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:21 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17 at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:3 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:15 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:5 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:74 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:11 at java.lang.Thread.run(Thread.java:59Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:10 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:9 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:4 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:2 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:42 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:14 at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:11 at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:5 at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:131 at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:19 ... 20 moCaused by: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:7 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:6 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:41 ... 25 moCaused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:24 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:52 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:41 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:34 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:46 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:89 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:7 ... 27 mo12:57:31,930 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
my.com.snt.cis.exception.InfrastructureException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:20 at my.com.snt.cis.filter.HibernateFilter.doFilter(HibernateFilter.java:2 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:8 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:17 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:21 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17 at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:3 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:15 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:5 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:74 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:11 at java.lang.Thread.run(Thread.java:59Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:10 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:9 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:4 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:2 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:42 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:14 at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:11 at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:5 at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:131 at my.com.snt.util.HibernateUtil.beginTransaction(HibernateUtil.java:19 ... 20 moCaused by: org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:7 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:6 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:41 ... 25 moCaused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:24