5 Replies Latest reply on May 17, 2013 7:17 AM by searva Branched from an earlier discussion.

    Jackrabbit on JBoss AS 7.1.1

    vrk murali Newbie

      hi james this murali.... i am getting an error while integrating the apache jackrabbit with jboss7.1.1 please provide suggestions...

      and the error is

      ***************************************************

      12:22:57,730 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.module.service."deployment.jackrabbit-jca-2.6.0.rar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.jackrabbit-jca-2.6.0.rar".main: Failed to load

      module: deployment.jackrabbit-jca-2.6.0.rar:main

              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_37]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_37]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]

      Caused by: org.jboss.modules.ModuleNotFoundException: Module org.slf4:main is not found in local module loader @69945ce (roots: D:\jboss-as-7.1.1.Final\modules)

              at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.Module.addPaths(Module.java:841) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.Module.link(Module.java:1181) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.Module.relinkIfNecessary(Module.java:1207) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              ... 5 more

        • 1. Re: Jackrabbit on JBoss AS 7.1.1
          Mark Paluch Master

          Hi,

          looks like a typo: org.slf4:main

           

          it should be org.slf4j

           

          Best regards,

          Mark

          • 2. Re: Jackrabbit on JBoss AS 7.1.1
            James Perkins Master

            It looks like the module is missing which seems really odd to me. The slf4j module should be added to all deployments explicitly in JBoss AS 7.1.1.Final and up. Do you see a module.xml file in D:\jboss-as-7.1.1.Final\modules\org\slf4j\main and a library in there for that matter?

             

            --
            James R. Perkins

            • 3. Re: Jackrabbit on JBoss AS 7.1.1
              searva Newbie

              Hi murali, I'm struggling with the same configuration jackrabbit-jca.2.6 on Jboss 7.1.1. After some tweaks on rar file (add necessary dependencies in MANIFEST.MF) and deploy on jboss I get an error when the jca pool is starting. It seem to be related with the type of managed connection AnonymousConnection that doesn't support the getMetaData operation. Did you have the same problem?

               

              ******************************

              22:29:34,259 ERROR [stderr] (JCA PoolFiller) Exception in thread "JCA PoolFiller" java.lang.UnsupportedOperationException: Retrieving meta data not supported.

               

               

              22:29:34,266 ERROR [stderr] (JCA PoolFiller)           at org.apache.jackrabbit.jca.AnonymousConnection.getMetaData(AnonymousConnection.java:125)

               

               

              22:29:34,272 ERROR [stderr] (JCA PoolFiller)           at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.createConnectionListener(TxConnectionManagerImpl.java:540)

               

               

              22:29:34,280 ERROR [stderr] (JCA PoolFiller)           at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:767)

               

               

              22:29:34,284 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-8) JBAS010401: Bound JCA ConnectionFactory [java:/jackrabbit]

              22:29:34,289 ERROR [stderr] (JCA PoolFiller)           at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.fillToMin(SemaphoreArrayListManagedConnectionPool.java:706)

               

               

              22:29:34,291 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on http://127.0.0.1:9990

              22:29:34,294 ERROR [stderr] (JCA PoolFiller)           at org.jboss.jca.core.connectionmanager.pool.mcp.PoolFiller.run(PoolFiller.java:97)

               

               

              22:29:34,303 ERROR [stderr] (JCA PoolFiller)           at java.lang.Thread.run(Thread.java:662)

               

              ***************************************

              • 4. Re: Jackrabbit on JBoss AS 7.1.1
                Jesper Pedersen Master

                Wrong exception - it should be javax.resource.NotSupportedException - so you will have to get that fixed in Jackrabbit

                • 5. Re: Jackrabbit on JBoss AS 7.1.1
                  searva Newbie

                  Ok thanks, anyway this error is not causing any runtime error (apparently)...