5 Replies Latest reply on Jun 8, 2017 10:15 AM by pavan p

    WARN -  Failed to define class oracle.jdbc.driver.T4CStatement

    pavan p Newbie

      I am getting the below warn message continuously in the log file.

       

       

      00:00:02,471 WARN  [org.jboss.modules] (ajp-/151.116.127.98:8009-39) Failed to define class oracle.jdbc.driver.T4CStatement in Module "deployment.DLCT

      -EAR.ear:main" from Service Module Loader: java.lang.IllegalAccessError: class oracle.jdbc.driver.T4CStatement cannot access its superclass oracle.jdb

      c.driver.OracleStatement

              at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_121]

              at java.lang.ClassLoader.defineClass(ClassLoader.java:803) [rt.jar:1.7.0_121]

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [rt.jar:1.7.0_121]

              at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)

              at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)

              at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)

              at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)

              at org.jboss.modules.Module.loadModuleClass(Module.java:527)

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

              at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0_121]

              at java.lang.Class.forName(Class.java:278) [rt.jar:1.7.0_121]

              at org.jboss.logmanager.formatters.Formatters$12.guessClass(Formatters.java:578) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat

      -1]

              at org.jboss.logmanager.formatters.Formatters$12.renderExtended(Formatters.java:421) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-re

      dhat-1]

              at org.jboss.logmanager.formatters.Formatters$12.renderRaw(Formatters.java:388) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-

      1]

              at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:150) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.

      2.Final-redhat-1]

              at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Fina

      l-redhat-1]

              at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-

      1]

              at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:76) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:290) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:298) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.Logger.logRaw(Logger.java:721) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logmanager.Logger.log(Logger.java:672) [jboss-logmanager-1.3.2.Final-redhat-1.jar:1.3.2.Final-redhat-1]

              at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:50) [jboss-logging-3.1.2.GA-redhat-1.jar:3.1.2.GA-redhat-1]

              at org.jboss.logging.Logger.logf(Logger.java:2093) [jboss-logging-3.1.2.GA-redhat-1.jar:3.1.2.GA-redhat-1]

              at org.jboss.jca.core.CoreLogger_$logger.throwableWhileTryingMatchManagedConnectionThenDestroyingConnection(CoreLogger_$logger.java:347)

              at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool

      .java:315)

              at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:397)

              at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:365)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:302)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

              at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139)

              at com.centurylink.vcr.util.ConnectionUtil.getPooledConn(ConnectionUtil.java:83) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.util.ConnectionUtil.getVcrConn(ConnectionUtil.java:49) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.dao.UnitDAO.getUnit(UnitDAO.java:85) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.processor.UnitProcessor.getUnitById(UnitProcessor.java:93) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.service.FirewallContentRetrievalService.isUnitApplicable(FirewallContentRetrievalService.java:113) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.service.FirewallContentRetrievalService.getApplicableUnitBindings(FirewallContentRetrievalService.java:139) [DLCT-JAVA.

      jar:]

              at com.centurylink.vcr.service.UnitGroupBindingService.getCategory(UnitGroupBindingService.java:17) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.processor.client.RegisterProcessor.processRegister(RegisterProcessor.java:48) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.webservice.VCRClientWebService.register(VCRClientWebService.java:41) [DLCT-EJB.jar:]

              at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.7.0_121]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_121]

              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_121]

              at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMeth

      odInterceptorFactory.java:72) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-

      redhat-2]

              at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.3.Final-

      redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7

      .1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-e

      e-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.3.Final-

      redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:209) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:286) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:186) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

      at-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

      [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-

      7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final-redhat

      -4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final-redha

      t-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.

      1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

      at-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.webservices.invocation.AbstractInvocationHandlerEJB.invoke(AbstractInvocationHandlerEJB.java:112)

              at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:182)

              at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_121]

              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_121]

              at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)

              at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)

              at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

              at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)

              at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)

              at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)

              at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)

              at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)

              at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

              at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)

              at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.0.4.GA-redhat-1.jar:2.0.4.GA-redhat-1]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)

              at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)

              at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:453)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_121]

       

       

      00:00:02,461 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ajp-/151.116.127.98:8009-39) IJ000613: Throwable while trying to matc

      h managed connection, destroying connection: org.jboss.jca.core.connectionmanager.listener.NoTxConnectionListener@6299d04f[state=NORMAL managed connec

      tion=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@105a79af connection handles=0 lastUse=1495432797484 trackByTx=false pool=org.jboss.jca.c

      ore.connectionmanager.pool.strategy.OnePool@7484560e pool internal context=SemaphoreArrayListManagedConnectionPool@1c2dece5[pool=vcrDS]]: java.lang.Nu

      llPointerException

              at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:927)

              at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1007)

              at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315) [ojdbc6.jar:11.2.0.2.0]

              at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890) [ojdbc6.jar:11.2.0.2.0]

              at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855) [ojdbc6.jar:11.2.0.2.0]

              at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304) [ojdbc6.jar:Oracle JDBC Driver version - "11.1.0.7.0-Pro

      duction"]

              at org.jboss.jca.adapters.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:74)

              at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:1097)

              at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:501)

              at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:464)

              at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool

      .java:284)

              at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:397)

              at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:365)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:302)

              at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

              at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139)

              at com.centurylink.vcr.util.ConnectionUtil.getPooledConn(ConnectionUtil.java:83) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.util.ConnectionUtil.getVcrConn(ConnectionUtil.java:49) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.dao.UnitDAO.getUnit(UnitDAO.java:85) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.processor.UnitProcessor.getUnitById(UnitProcessor.java:93) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.service.FirewallContentRetrievalService.isUnitApplicable(FirewallContentRetrievalService.java:113) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.service.FirewallContentRetrievalService.getApplicableUnitBindings(FirewallContentRetrievalService.java:139) [DLCT-JAVA.

      jar:]

              at com.centurylink.vcr.service.UnitGroupBindingService.getCategory(UnitGroupBindingService.java:17) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.processor.client.RegisterProcessor.processRegister(RegisterProcessor.java:48) [DLCT-JAVA.jar:]

              at com.centurylink.vcr.webservice.VCRClientWebService.register(VCRClientWebService.java:41) [DLCT-EJB.jar:]

              at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.7.0_121]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_121]

              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_121]

              at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMeth

      odInterceptorFactory.java:72) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-

      redhat-2]

              at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.3.Final-

      redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7

      .1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-e

      e-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.3.Final-

      redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:209) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:286) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:186) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

      at-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

      [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-

      7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final-redhat

      -4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final-redha

      t-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.

      1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

      at-4]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

      2]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

      l-redhat-2]

              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

              at org.jboss.as.webservices.invocation.AbstractInvocationHandlerEJB.invoke(AbstractInvocationHandlerEJB.java:112)

              at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:182)

              at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_121]

              at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_121]

              at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)

              at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)

              at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

              at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)

              at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)

              at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)

              at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)

              at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)

              at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

              at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)

              at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.0.4.GA-redhat-1.jar:2.0.4.GA-redhat-1]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)

              at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)

              at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)

              at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:453)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

              at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_121]

       

      Please suggest.

        • 1. Re: WARN -  Failed to define class oracle.jdbc.driver.T4CStatement
          Anup Dey Apprentice
          Example Oracle Datasource Configuration:

           

          <datasources>

            <datasource jndi-name="java:jboss/OracleDS" pool-name="OracleDS">

             <connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>

             <driver>oracle</driver>

             <security>

             <user-name>admin</user-name>

             <password>admin</password>

             </security>

             <validation>

             <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>

             <validate-on-match>true</validate-on-match>

             <background-validation>false</background-validation>

             <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>

             <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>

             </validation>

            </datasource>

            <drivers>

             <driver name="oracle" module="com.oracle">

             <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>

             </driver>

            </drivers>

          </datasources>

           

          Example Oracle JDBC Driver module.xml File:

           

          <?xml version="1.0" ?>

          <module xmlns="urn:jboss:module:1.1" name="com.oracle">

             <resources>

             <resource-root path="ojdbc7.jar"/>

             </resources>

             <dependencies>

             <module name="javax.api"/>

             <module name="javax.transaction.api"/>

             </dependencies>

          </module>

           

           

          Example Management CLI Commands:

          1. Add the Oracle JDBC driver as a core module.

          module add --name=com.oracle --resources=/path/to/misc/jdbc_drivers/oracle/ojdbc7.jar --dependencies=javax.api,javax.transaction.api

           

           

          2.Register the Oracle JDBC driver.

          /subsystem=datasources/jdbc-driver=oracle:add(driver-name=oracle,driver-module-name=com.oracle,driver-xa-datasource-class-name=oracle.jdbc.xa.client.OracleXADataSource)

           

          3.Add the Oracle datasource.

           

          data-source add --name=OracleDS --jndi-name=java:jboss/OracleDS --driver-name=oracle --connection-url=jdbc:oracle:thin:@localhost:1521:XE --user-name=admin --password=admin --validate-on-match=true --background-validation=false --valid-connection-checker-class-name=org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker --exception-sorter-class-name=org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter --stale-connection-checker-class-name=org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker
          • 2. Re: WARN -  Failed to define class oracle.jdbc.driver.T4CStatement
            pavan p Newbie

            Thank you for your reply.

             

            Why the below  warn message is coming and how to fix it .Is it because of no Connections available in Jboss Datasoruce Pool?

             

            Please Note that we are using Joboss 6.1 version.

             

            00:00:02,461 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ajp-/151.116.127.98:8009-39) IJ000613: Throwable while trying to matc

            h managed connection, destroying connection: org.jboss.jca.core.connectionmanager.listener.NoTxConnectionListener@6299d04f[state=NORMAL managed connec

            tion=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@105a79af connection handles=0 lastUse=1495432797484 trackByTx=false pool=org.jboss.jca.c

            ore.connectionmanager.pool.strategy.OnePool@7484560e pool internal context=SemaphoreArrayListManagedConnectionPool@1c2dece5[pool=vcrDS]]: java.lang.Nu

            llPointerException

                    at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:927)

                    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1007)

                    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315) [ojdbc6.jar:11.2.0.2.0]

                    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890) [ojdbc6.jar:11.2.0.2.0]

                    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855) [ojdbc6.jar:11.2.0.2.0]

                    at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304) [ojdbc6.jar:Oracle JDBC Driver version - "11.1.0.7.0-Pro

            duction"]

                    at org.jboss.jca.adapters.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:74)

                    at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:1097)

                    at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:501)

                    at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:464)

                    at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool

            .java:284)

                    at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:397)

                    at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:365)

                    at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)

                    at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:302)

                    at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

                    at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139)

                    at com.centurylink.vcr.util.ConnectionUtil.getPooledConn(ConnectionUtil.java:83) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.util.ConnectionUtil.getVcrConn(ConnectionUtil.java:49) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.dao.UnitDAO.getUnit(UnitDAO.java:85) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.processor.UnitProcessor.getUnitById(UnitProcessor.java:93) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.service.FirewallContentRetrievalService.isUnitApplicable(FirewallContentRetrievalService.java:113) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.service.FirewallContentRetrievalService.getApplicableUnitBindings(FirewallContentRetrievalService.java:139) [DLCT-JAVA.

            jar:]

                    at com.centurylink.vcr.service.UnitGroupBindingService.getCategory(UnitGroupBindingService.java:17) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.processor.client.RegisterProcessor.processRegister(RegisterProcessor.java:48) [DLCT-JAVA.jar:]

                    at com.centurylink.vcr.webservice.VCRClientWebService.register(VCRClientWebService.java:41) [DLCT-EJB.jar:]

                    at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [:1.7.0_121]

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_121]

                    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_121]

                    at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMeth

            odInterceptorFactory.java:72) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-

            redhat-2]

                    at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.3.Final-

            redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7

            .1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

            l-redhat-2]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

            l-redhat-2]

                    at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-e

            e-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.3.Final-

            redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:209) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:286) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:186) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

            at-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

            [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-

            7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final-redhat

            -4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final-redha

            t-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.

            1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redh

            at-4]

                    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-

            2]

                    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Fina

            l-redhat-2]

                    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

                    at org.jboss.as.webservices.invocation.AbstractInvocationHandlerEJB.invoke(AbstractInvocationHandlerEJB.java:112)

                    at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:182)

                    at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)

                    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_121]

                    at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_121]

                    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

                    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)

                    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)

                    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

                    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)

                    at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)

                    at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)

                    at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)

                    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)

                    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)

                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

                    at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)

                    at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.0.4.GA-redhat-1.jar:2.0.4.GA-redhat-1]

                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final-redhat-2.jar:1.0.1.Final-redhat-2]

                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

                    at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)

                    at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)

                    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)

                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)

                    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)

                    at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:453)

                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

                    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_121]

             

            Please suggest.

            • 3. Re: WARN -  Failed to define class oracle.jdbc.driver.T4CStatement
              pavan p Newbie

              We are using the below configuration in standalone.xml. Joboss 6 Version.

               

              <datasource jta="false" jndi-name="java:jboss/vcrDS" pool-name="vcrDS" enabled="true" use-ccm="false">

                                  <connection-url>jdbc:oracle:thin:@151.117.206.236:1528:foxprod1</connection-url>

                                  <driver>oracle</driver>

                                  <pool>

                                      <min-pool-size>50</min-pool-size>

                                      <max-pool-size>300</max-pool-size>

                                  </pool>

                                

                                  <validation>

                                      <check-valid-connection-sql>select1fromdual</check-valid-connection-sql>

                                      <validate-on-match>false</validate-on-match>

                                      <background-validation>false</background-validation>

                                  </validation>

                                  <statement>

                                      <share-prepared-statements>false</share-prepared-statements>

                                  </statement>

                              </datasource>

               

              Please let me know if any other properties we need to add in  datasource .Our Application uses 700 to 800 users at a time. I need to increase the max-pool size?

              • 4. Re: WARN -  Failed to define class oracle.jdbc.driver.T4CStatement
                Anup Dey Apprentice

                ~~~

                java.lang.NullPointerException

                        at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:927)

                        at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1007)

                        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315) [ojdbc6.jar:11.2.0.2.0]

                        at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890) [ojdbc6.jar:11.2.0.2.0]

                        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855) [ojdbc6.jar:11.2.0.2.0]

                ~~~

                 

                The NPE error is throwing from Oracle driver. JBoss only reports it.

                 

                Fastest way to fix it is to figure out exactly what query is being executed then find another way to do that. Double check your sql query/ stored procedure. strings while executing such query will result this error for oracle jdbc driver

                 

                The solution:  upgrade your JDK as well as JDBC driver.

                • 5. Re: WARN -  Failed to define class oracle.jdbc.driver.T4CStatement
                  pavan p Newbie

                  Thanks for Reply.

                   

                  if we look are the error trace we are trying to get the Connection at at com.centurylink.vcr.util.ConnectionUtil.getPooledConn(ConnectionUtil.java:83) from Data source configured in Jboss and there it is failing .Once we get the connection only then we can execute the query.here problem is getting the connection it self having issues.Is there any solution  for this.Please refer the above DS configuration and need to increase the max-pool size?

                   

                  Please suggest.

                   

                  java.lang.Nu

                  llPointerException

                          at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:927)

                          at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1007)

                          at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315) [ojdbc6.jar:11.2.0.2.0]

                          at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890) [ojdbc6.jar:11.2.0.2.0]

                          at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855) [ojdbc6.jar:11.2.0.2.0]

                          at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304) [ojdbc6.jar:Oracle JDBC Driver version - "11.1.0.7.0-Pro

                  duction"]

                          at org.jboss.jca.adapters.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:74)

                          at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:1097)

                          at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:501)

                          at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:464)

                          at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool

                  .java:284)

                          at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:397)

                          at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:365)

                          at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)

                          at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:302)

                          at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

                          at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139)

                          at com.centurylink.vcr.util.ConnectionUtil.getPooledConn(ConnectionUtil.java:83) [DLCT-JAVA.jar:]