8 Replies Latest reply on Feb 29, 2012 8:28 AM by guinotphil

    IronJacamar Can't find Oracle

    staggerlee Newbie

      I am a attempting to upgrade from jboss-4.2.2, and thanks to this group, I've been getting a little farther along every day. My current hurdle is this java.lang.ClassNotFoundException (full stack trace follows)

       

      Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleConnection from [Module "org.jboss.ironjacamar.jdbcadapters:main" from local module loader @5c391c3 (roots: /Users/me/GAP/jboss-as-7.0.2.Final/modules)]

       

       

      the oracle class seems to be deployed just fine as far as I can tell. the log message seems to indicate that. I have tried every permutation of jar location I can think of. The one thing that does seem to work is to include the module which contains the jar as a dependency in the org.jboss.ironjacamar.jdbcadapters module.xml file. My thinking is that I should not be editing jboss supplied modules.

       

       

      ...

      14:51:18,442 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)

      ...

       

      I was able to find a similar case in the ironjacamar group (http://community.jboss.org/thread/169844) and a resulting Jira issue is marked as resolved for the slightly older version 1.0.1.Final by Jesper Pedersen.

       

      If any of you could offer me some guidance, I would be very appreciative!

       

      Dennis

       

       

      14:54:37,021 WARN  [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$MyXaMCF] (http-localhost-127.0.0.1-8080-1) Exception trying to create valid connection checker (disabling):: java.lang.RuntimeException: Unable to resolve pingDatabase method:

        at org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker.<init>(OracleValidConnectionChecker.java:65)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_26]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_26]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_26]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_26]

        at java.lang.Class.newInstance0(Class.java:355) [:1.6.0_26]

        at java.lang.Class.newInstance(Class.java:308) [:1.6.0_26]

        at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.loadPlugin(BaseWrapperManagedConnectionFactory.java:1085)

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

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

        at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.matchManagedConnections(XAManagedConnectionFactory.java:478)

        at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:260)

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

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

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

        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:367)

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

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

        at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:174) [picketbox-4.0.1.jar:4.0.1]

        at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:245) [picketbox-4.0.1.jar:4.0.1]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_26]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_26]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_26]

        at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_26]

        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) [:1.6.0_26]

        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) [:1.6.0_26]

        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) [:1.6.0_26]

        at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_26]

        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) [:1.6.0_26]

        at javax.security.auth.login.LoginContext.login(LoginContext.java:579) [:1.6.0_26]

        at com.company.gcore.security.AuthenticationManager.jaasSignIn(AuthenticationManager.java:219) [MPGCore-Server.jar:]

        at com.company.mcore.web.JAASFilter.loginToThread(JAASFilter.java:119) [MPGCore-Server.jar:]

        at com.company.mcore.web.JAASFilter.doFilter(JAASFilter.java:45) [MPGCore-Server.jar:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247) [stripes.jar:]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

        at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

        at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]

      Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleConnection from [Module "org.jboss.ironjacamar.jdbcadapters:main" from local module loader @5c391c3 (roots: /Users/me/GAP/jboss-as-7.0.2.Final/modules)]

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

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

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

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

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

        at java.lang.Class.forName0(Native Method) [:1.6.0_26]

        at java.lang.Class.forName(Class.java:247) [:1.6.0_26]

        at org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker.initPing(OracleValidConnectionChecker.java:100)

        at org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker.<init>(OracleValidConnectionChecker.java:61)

        ... 51 more

       

              <subsystem xmlns="urn:jboss:domain:datasources:1.0">

                  <datasources>

                      <xa-datasource jndi-name="java:/ds/GAPCore" pool-name="ds/GAPCore" enabled="true"

                                     use-java-context="true" use-ccm="true">

                          <driver>ojdbc6</driver>

                          <xa-datasource-property name="URL">jdbc:oracle:thin:@oracleserver.company.com:1521:gap_dev</xa-datasource-property>

                          <xa-datasource-property name="User">myusername</xa-datasource-property>

                          <xa-datasource-property name="Password">mypassword</xa-datasource-property>

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

                          <xa-pool>

                              <prefill>false</prefill>

                              <use-strict-min>false</use-strict-min>

                              <flush-strategy>FailingConnectionOnly</flush-strategy>

                              <no-tx-separate-pools/>

                              <pad-xid>false</pad-xid>

                              <wrap-xa-resource>true</wrap-xa-resource>

                              <min-pool-size>1</min-pool-size>

                              <max-pool-size>60</max-pool-size>

                          </xa-pool>

                          <validation>

                              <valid-connection-checker

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

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

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

                              <use-fast-fail>false</use-fast-fail>

                              <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>

       

       

                      <drivers>

                          <driver name="ojdbc6" module="org.company.ojdbc6">

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

                          </driver>

                      </drivers>

                  </datasources>

       

                      </xa-datasource>

        • 2. Re: IronJacamar Can't find Oracle
          staggerlee Newbie

          Thanks for the quick reply. I think my response will result in me being embarassed by not doing something obvious, but I seem to be having trouble with the snapshot after installing via as-upgrader.sh on fresh jboss-as-7.0.2.Final.

           

           

           

          =========================================================================

           

           

          16:56:28,163 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA

          16:56:28,424 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA

          16:56:28,483 INFO  [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting

          16:56:29,177 WARN  [org.jboss.modules] Failed to define class org.jboss.jca.common.CommonLogger_$logger in Module "org.jboss.ironjacamar.impl:main" from local module loader @509f5011 (roots: /Users/dryan/GAP/jboss-as-7.0.2.Final/modules): java.lang.LinkageError: Failed to link org/jboss/jca/common/CommonLogger_$logger (Module "org.jboss.ironjacamar.impl:main" from local module loader @509f5011 (roots: /Users/dryan/GAP/jboss-as-7.0.2.Final/modules))

                    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.Module.loadModuleClass(Module.java:590) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]

                    at java.lang.Class.forName0(Native Method) [:1.6.0_26]

                    at java.lang.Class.forName(Class.java:247) [:1.6.0_26]

                    at org.jboss.logging.Logger.getMessageLogger(Logger.java:2249) [jboss-logging-3.0.1.GA.jar:3.0.1.GA]

                    at org.jboss.logging.Logger.getMessageLogger(Logger.java:2215) [jboss-logging-3.0.1.GA.jar:3.0.1.GA]

                    at org.jboss.jca.common.metadata.AbstractParser.<clinit>(AbstractParser.java:67)

                    at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:699)

                    at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:277)

                    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100) [staxmapper-1.0.0.Final.jar:1.0.0.Final]

                    at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.0.0.Final.jar:1.0.0.Final]

                    at org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:311) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:163) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100) [staxmapper-1.0.0.Final.jar:1.0.0.Final]

                    at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59) [staxmapper-1.0.0.Final.jar:1.0.0.Final]

                    at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.server.ServerService.boot(ServerService.java:195) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83) [jboss-as-controller-7.0.2.Final.jar:7.0.2.Final]

                    at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]

          Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/DelegatingBasicLogger

                    at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_26]

                    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_26]

                    at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_26]

                    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_26]

                    at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397) [jboss-modules.jar:1.0.2.GA]

                    ... 28 more

          Caused by: java.lang.ClassNotFoundException: org.jboss.logging.DelegatingBasicLogger from [Module "org.jboss.ironjacamar.impl:main" from local module loader @509f5011 (roots: /Users/dryan/GAP/jboss-as-7.0.2.Final/modules)]

                    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]

                    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]

                    ... 33 more

           

           

          16:56:29,200 ERROR [stderr] Exception in thread "Controller Boot Thread" java.lang.LinkageError: Failed to link org/jboss/jca/common/CommonLogger_$logger (Module "org.jboss.ironjacamar.impl:main" from local module loader @509f5011 (roots: /Users/dryan/GAP/jboss-as-7.0.2.Final/modules))

          16:56:29,203 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)

          16:56:29,203 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)

          16:56:29,204 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)

          16:56:29,204 ERROR [stderr]           at org.jboss.modules.Module.loadModuleClass(Module.java:590)

          16:56:29,204 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183)

          16:56:29,205 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

          16:56:29,205 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

          16:56:29,205 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

          16:56:29,205 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

          16:56:29,206 ERROR [stderr]           at java.lang.Class.forName0(Native Method)

          16:56:29,206 ERROR [stderr]           at java.lang.Class.forName(Class.java:247)

          16:56:29,206 ERROR [stderr]           at org.jboss.logging.Logger.getMessageLogger(Logger.java:2249)

          16:56:29,207 ERROR [stderr]           at org.jboss.logging.Logger.getMessageLogger(Logger.java:2215)

          16:56:29,207 ERROR [stderr]           at org.jboss.jca.common.metadata.AbstractParser.<clinit>(AbstractParser.java:67)

          16:56:29,207 ERROR [stderr]           at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:699)

          16:56:29,207 ERROR [stderr]           at org.jboss.as.connector.subsystems.datasources.DataSourcesExtension$NewDataSourceSubsystemParser.readElement(DataSourcesExtension.java:277)

          16:56:29,208 ERROR [stderr]           at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)

          16:56:29,208 ERROR [stderr]           at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)

          16:56:29,208 ERROR [stderr]           at org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:311)

          16:56:29,209 ERROR [stderr]           at org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:163)

          16:56:29,209 ERROR [stderr]           at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91)

          16:56:29,210 ERROR [stderr]           at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79)

          16:56:29,210 ERROR [stderr]           at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)

          16:56:29,210 ERROR [stderr]           at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)

          16:56:29,211 ERROR [stderr]           at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107)

          16:56:29,211 ERROR [stderr]           at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)

          16:56:29,211 ERROR [stderr]           at org.jboss.as.server.ServerService.boot(ServerService.java:195)

          16:56:29,211 ERROR [stderr]           at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)

          16:56:29,212 ERROR [stderr]           at java.lang.Thread.run(Thread.java:680)

          16:56:29,212 ERROR [stderr] Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/DelegatingBasicLogger

          16:56:29,212 ERROR [stderr]           at java.lang.ClassLoader.defineClass1(Native Method)

          16:56:29,213 ERROR [stderr]           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

          16:56:29,213 ERROR [stderr]           at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

          16:56:29,213 ERROR [stderr]           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

          16:56:29,213 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)

          16:56:29,214 ERROR [stderr]           ... 28 more

          16:56:29,214 ERROR [stderr] Caused by: java.lang.ClassNotFoundException: org.jboss.logging.DelegatingBasicLogger from [Module "org.jboss.ironjacamar.impl:main" from local module loader @509f5011 (roots: /Users/dryan/GAP/jboss-as-7.0.2.Final/modules)]

          16:56:29,214 ERROR [stderr]           at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

          16:56:29,215 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

          16:56:29,215 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

          16:56:29,215 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

          16:56:29,216 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

          16:56:29,217 ERROR [stderr]           at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

          16:56:29,217 ERROR [stderr]           ... 33 more

          • 4. Re: IronJacamar Can't find Oracle
            staggerlee Newbie

            Thanks again for the quick reply.

             

            Jboss (jboss-as-7.1.0.Alpha2-SNAPSHOT) is giving me an exception parsing my configuration. I wonder if the xsd needs updating?:

             

            Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[122,25]

            Message: Unexpected attribute 'class-name' encountered

             

            <validation>

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

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

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

                                    <use-fast-fail>false</use-fast-fail>

                                    <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>

            • 5. Re: IronJacamar Can't find Oracle
              Jesper Pedersen Master

              Confirmed as AS7-2453 - for now just comment the <validation> section.

              • 6. Re: IronJacamar Can't find Oracle
                matvei Newbie

                so which class should we use now for Oracle connection validation under JBOSS 7.1 FINAL?

                • 7. Re: IronJacamar Can't find Oracle
                  Nicklas Karlsson Master

                  Try the org.jboss.jca.adapters.jdbc.extensions.oracle package like the other validators.

                  • 8. Re: IronJacamar Can't find Oracle
                    guinotphil Apprentice

                    Hi,

                     

                    I was having the same issue on JBoss AS 7.1 Final because of the

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

                     

                    So, I just edited module.xml from org.jboss.ironjacamar.jdbcadapters to add as a depency to com.oracle.ojdbc where this is the driver module.

                     

                    Of course I guess the fix should be that ironjacamer use the class loader of the module defined in the datasource.