Problems After Upgrade IronJacamar (1.0.3.Final to 1.0.8.Final) on Jboss AS 7.0.2
marcosnasp Mar 6, 2012 8:59 AMI´ve got a problem after upgrade of ironjacamar (1.0.3.Final to 1.0.8.Final) on Jboss AS 7.0.2.Final. After installation process and
start jboss AS 7.0.2.Final, I was get the exception below:
10:48:05,890 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 @12a3793 (roots: D:\desenvolvimento\jboss-as-web-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 @12a3793 (roots: D:\desenvolvimento\jboss-as-web-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_31]
at java.lang.Class.forName(Class.java:247) [:1.6.0_31]
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:662) [:1.6.0_31]
Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/DelegatingBasicLogger
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_31]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_31]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_31]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_31]
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 @12a3793 (roots: D:\desenvolvimento\jboss-as-web-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
For test purpose, I was execute the upgrade on Jboss AS 7.1.0.Final. And was very well successful. (1.0.7.Final to 1.0.8.Final).