Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1176

REST server war deployment problem in AS 7.0.0.Beta3

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 5.0.0.CR4
    • Remote Protocols
    • None

      when I deploy
      infinispan-5.0.0.CR4/modules/rest/infinispan-server-rest.war
      to AS 7.0.0.Beta3
      it gives me this:

      17:57:14,870 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "infinispan-server-rest.war"
      17:57:14,881 WARN  [org.jboss.vfs] (MSC service thread 1-4) VFS was unable to set the URLStreamHandlerFactory.  This will have unpredictable results
      17:57:17,477 WARN  [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-3) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"
      17:57:17,812 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."infinispan-server-rest.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."infinispan-server-rest.war".INSTALL: Failed to process phase INSTALL of deployment "infinispan-server-rest.war"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
      	at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
      Caused by: java.lang.NoClassDefFoundError: Lwith;
      	at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_25]
      	at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_25]
      	at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_25]
      	at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:53)
      	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:65)
      	at org.jboss.as.ee.component.AbstractComponentDescription.prepareComponentConfiguration(AbstractComponentDescription.java:392)
      	at org.jboss.as.ee.component.AbstractComponentDescription.createComponentConfiguration(AbstractComponentDescription.java:363)
      	at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:104)
      	at org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:67)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
      	... 4 more
      Caused by: java.lang.ClassNotFoundException: with from [Module "deployment.infinispan-server-rest.war:main" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:184) [jboss-modules.jar:1.0.0.Beta17]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [jboss-modules.jar:1.0.0.Beta17]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules.jar:1.0.0.Beta17]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [jboss-modules.jar:1.0.0.Beta17]
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [jboss-modules.jar:1.0.0.Beta17]
      	... 14 more
      
      17:57:17,869 INFO  [org.jboss.as.server] (MSC service thread 1-1) Service status report
         New missing/unsatisfied dependencies:
            service jboss.naming.context.java.module.infinispan-server-rest.infinispan-server-rest (missing)
        Services which failed to start:
            service jboss.deployment.unit."infinispan-server-rest.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."infinispan-server-rest.war".INSTALL: Failed to process phase INSTALL of deployment "infinispan-server-rest.war"
      
      17:57:17,918 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment infinispan-server-rest.war in 41ms
      17:57:17,919 INFO  [org.jboss.as.server] (MSC service thread 1-3) Service status report
         Newly corrected services:
            service jboss.naming.context.java.module.infinispan-server-rest.infinispan-server-rest (no longer required)
      

      infinispan 4.2.1.FINAL works

              rh-ee-galder Galder ZamarreƱo
              mlinhard Michal Linhard (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: