2 Replies Latest reply on Nov 8, 2013 3:36 AM by Roland Tusch

    Infinispan 6.0.0.CR1 modules in JBoss AS7

    Roland Tusch Newbie

      Hi there,

       

      does anybody have experience/know-how on how to "deploy" Infinispan 6.0.0.CR1 modules in JBoss AS7.1.1? I tried to install the Infinispan 6.0 and JGroups 3.4 modules available under http://downloads.jboss.org/infinispan/6.0.0.CR1/infinispan-as-modules-6.0.0.CR1.zip in the modules subfolder of JBoss, and removed the corresponding modules provided in JBoss 7.1.1. When I start the server, the following exceptions and errors are thrown:

       

      === begin serverlog ===

      14:33:14,183 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      14:33:14,663 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      14:33:14,780 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      14:33:14,899 WARN  [org.jboss.modules] Failed to define class org.jboss.as.security.vault.RuntimeVaultReader in Module "org.jboss.as.security:main" from local module loader @25533ae9 (roots: /opt/jboss/jboss-as-7.1.1.Final/modules): org.jboss.modules.ModuleLoadError: Module org.infinispan:main is not found in local module loader @25533ae9 (roots: /opt/jboss/jboss-as-7.1.1.Final/modules)

          at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78) [jboss-modules.jar:1.1.1.GA]

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

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

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

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

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

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

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

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

          at java.lang.ClassLoader.defineClass(ClassLoader.java:792) [rt.jar:1.7.0_25]

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

          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327) [jboss-modules.jar:1.1.1.GA]

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

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

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

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

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

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

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

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

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

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

          at java.lang.Class.forName(Class.java:270) [rt.jar:1.7.0_25]

          at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:363) [rt.jar:1.7.0_25]

          at java.util.ServiceLoader$1.next(ServiceLoader.java:445) [rt.jar:1.7.0_25]

          at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:224) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:139) [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.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]

          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

       

      14:33:14,916 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.as: org.jboss.msc.service.StartException in service jboss.as: Failed to start service

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

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]

          at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

      Caused by: java.util.ServiceConfigurationError: org.jboss.as.server.services.security.AbstractVaultReader: Provider org.jboss.as.security.vault.RuntimeVaultReader not found

          at java.util.ServiceLoader.fail(ServiceLoader.java:231) [rt.jar:1.7.0_25]

          at java.util.ServiceLoader.access$300(ServiceLoader.java:181) [rt.jar:1.7.0_25]

          at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:365) [rt.jar:1.7.0_25]

          at java.util.ServiceLoader$1.next(ServiceLoader.java:445) [rt.jar:1.7.0_25]

          at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:224) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

          at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:139) [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]

          ... 3 more

       

      14:33:14,936 ERROR [stderr] java.util.concurrent.ExecutionException: Operation failed

      14:33:14,937 ERROR [stderr]     at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)

      14:33:14,937 ERROR [stderr]     at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)

      14:33:14,938 ERROR [stderr]     at org.jboss.as.server.Main.main(Main.java:98)

      14:33:14,938 ERROR [stderr]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      14:33:14,941 ERROR [stderr]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      14:33:14,942 ERROR [stderr]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      14:33:14,943 ERROR [stderr]     at java.lang.reflect.Method.invoke(Method.java:606)

      14:33:14,946 ERROR [stderr]     at org.jboss.modules.Module.run(Module.java:260)

      14:33:14,946 ERROR [stderr]     at org.jboss.modules.Main.main(Main.java:291)

      14:33:14,947 ERROR [stderr] Caused by: org.jboss.msc.service.StartException in service jboss.as: Failed to start service

      14:33:14,949 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)

      14:33:14,952 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

      14:33:14,954 ERROR [stderr]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

      14:33:14,955 ERROR [stderr]     at java.lang.Thread.run(Thread.java:724)

      14:33:14,955 ERROR [stderr] Caused by: java.util.ServiceConfigurationError: org.jboss.as.server.services.security.AbstractVaultReader: Provider org.jboss.as.security.vault.RuntimeVaultReader not found

      14:33:14,957 ERROR [stderr]     at java.util.ServiceLoader.fail(ServiceLoader.java:231)

      14:33:14,957 ERROR [stderr]     at java.util.ServiceLoader.access$300(ServiceLoader.java:181)

      14:33:14,958 ERROR [stderr]     at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:365)

      14:33:14,958 ERROR [stderr]     at java.util.ServiceLoader$1.next(ServiceLoader.java:445)

      14:33:14,959 ERROR [stderr]     at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:224)

      14:33:14,959 ERROR [stderr]     at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:139)

      14:33:14,963 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

      14:33:14,964 ERROR [stderr]     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

      14:33:14,965 ERROR [stderr]     ... 3 more

      === end serverlog ===

       

      Surely, there is no module org.infinispan:main in Infinispan 6.0, but where is there an explicit dependency on the main module? I tried to grep all configuration files and could not find any dependency declaration to org.infinispan.main.

       

      Help is kindly appreciated.

       

      Thanks in advance,

      Roland

       

      PS: Unfortunately, chapter 8 (Using Infinispan in JBoss AS 7) of Infinispan's "Getting Started Guide" is still empty (see http://infinispan.org/docs/5.3.x/getting_started/getting_started.html). Is there a more recent version of the documentation?