3 Replies Latest reply on Jun 27, 2012 5:41 AM by Muhammad Sohail

    Jboss 5.1.0 with Jboss ESB 4.10

    Brian L Newbie

      I have the following problem when installing ESB 4.10 on top of a fresh Jboss 5.1.0 GA jdk6

      I did not have this problem with ESB 4.9

       

      I can run the ant build script fine however, upon starting the server I get the following error

       

      14:16:47,642 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss/server/default/deploy/juddiv3.war/ state=PreRe
      al mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/jboss/server/default/deploy/juddiv3.war/
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
              at org.jboss.Main.boot(Main.java:221)
              at org.jboss.Main$1.run(Main.java:556)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.NoClassDefFoundError: org/jboss/wsf/common/KernelAwareSPIFactory
              at org.jboss.wsf.stack.jbws.EndpointRegistryFactoryImpl.getEndpointRegistry(EndpointRegistryFactoryImpl.java:41)
              at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.start(EndpointRegistryDeploymentAspect.java:45)
              at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:107)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
              ... 29 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.wsf.common.KernelAwareSPIFactory from BaseClassLoader@1be650f{VFSClassLoaderPolicy@dc
      c4e2{name=vfsfile:/C:/jboss/server/default/deployers/jbossws.deployer/ domain=ClassLoaderDomain@c4bc34{name=DefaultDomain parentPolicy=BEFOR
      E parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@c2a132} roots=[MemoryContextHandler@133181[path= context=vfsmemory://4sk27t-n8bwdx-g
      sc46qb1-1-gsc47afs-f real=vfsmemory://4sk27t-n8bwdx-gsc46qb1-1-gsc47afs-f], FileHandler@23789484[path=jbossws.deployer context=file:/C:/jbos
      s/server/default/deployers/ real=file:/C:/jboss/server/default/deployers/jbossws.deployer/], DelegatingHandler@28813099[path=jbossws.deploye
      r/jbossws-cxf-client.jar context=file:/C:/jboss/server/default/deployers/ real=file:/C:/jboss/server/default/deployers/jbossws.deployer/jbos
      sws-cxf-client.jar], DelegatingHandler@4199584[path=jbossws.deployer/jbossws-cxf-factories.jar context=file:/C:/jboss/server/default/deploye
      rs/ real=file:/C:/jboss/server/default/deployers/jbossws.deployer/jbossws-cxf-factories.jar], DelegatingHandler@17453844[path=jbossws.deploy
      er/jbossws-cxf-server.jar context=file:/C:/jboss/server/default/deployers/ real=file:/C:/jboss/server/default/deployers/jbossws.deployer/jbo
      ssws-cxf-server.jar], DelegatingHandler@13912225[path=jbossws.deployer/jbossws-native-core.jar context=file:/C:/jboss/server/default/deploye
      rs/ real=file:/C:/jboss/server/default/deployers/jbossws.deployer/jbossws-native-core.jar]]  delegates=null exported=[, org.jboss.ws.tools.h
      elpers, org.jboss.ws.tools.factories, org.jboss.ws.tools.schema, org.jboss.ws.core.jaxws.wsaddressing, org.jboss.ws.extensions.wsrm.protocol
      .spec200502, org.jboss.ws.extensions.wsrm.protocol, schema, org.jboss.ws.extensions.wsrm.protocol.spec200702, org.jboss.wsf.stack.jbws, org.
      jboss.wsf.stack.cxf.security.authentication, org.jboss.ws.metadata.builder.jaxrpc, org.jboss.wsf.stack.cxf.metadata.services, org.jboss.ws.e
      xtensions.policy.deployer, org.jboss.ws.extensions.policy.metadata, org.jboss.ws.extensions.wsrm.transport, org.jboss.ws.extensions.policy,
      org.jboss.ws.core.client, org.jboss.ws.jaxrpc, org.jboss.ws.tools.wsdl, org.jboss.ws.extensions.addressing.jaxrpc, org.jboss.wsf.stack.cxf,
      org.jboss.wsf.stack.cxf.configuration, META-INF.maven.org.jboss.ws.cxf.jbossws-cxf-client, org.jboss.ws.extensions.wsrm.policy, org.jboss.ws
      .extensions.eventing.jaxws, org.jboss.ws.extensions.eventing.deployment, org.jboss.ws.extensions.security.operation, org.jboss.wsf.stack.cxf
      .metadata, org.jboss.ws.extensions.policy.deployer.util, org.jboss.ws.extensions.security.exception, org.jboss.ws.core.jaxrpc, org.jboss.ws.
      util.xml, org.jboss.wsf.stack.cxf.transport, org.jboss.ws.extensions.addressing.jaxws, org.jboss.ws.extensions.validation, org.jboss.ws.meta
      data.config.jaxrpc, org.jboss.ws.extensions.xop.jaxws, org.jboss.wsf.stack.cxf.tools, org.jboss.wsf.stack.cxf.spring.handler, org.jboss.ws.c
      ore.server, org.jboss.wsf.stack.cxf.extensions.addressing.map, org.jboss.ws.metadata.wsdl.xsd, org.jboss.ws.core.jaxws.spi, org.jboss.ws.met
      adata.wsdl, org.jboss.ws.extensions.addressing, org.jboss.ws.annotation, META-INF.services, org.jboss.ws.extensions.xop.jaxrpc, org.jboss.ws
      .core.jaxrpc.handler, org.jboss.ws.extensions.addressing.metadata, org.jboss.ws.extensions.eventing, org.jboss.ws.extensions.eventing.mgmt,
      org.jboss.ws.extensions.json, META-INF.maven.org.jboss.ws.native.jbossws-native-core, org.jboss.ws.metadata.config.jaxws, org.jboss.ws.metad
      ata.builder.jaxws, org.jboss.ws.tools.mapping, org.jboss.ws.core.utils, org.jboss.ws.extensions.security, org.jboss.ws.extensions.wsrm.persi
      stence, org.jboss.ws.extensions.security.element, org.jboss.ws.tools.ant, org.jboss.ws.extensions.wsrm, org.jboss.wsf.stack.cxf.spring.parse
      r, org.jboss.ws.tools.config, org.jboss.ws.tools.exceptions, org.jboss.ws.core.soap, META-INF.maven.org.jboss.ws.cxf.jbossws-cxf-factories,
      org.jboss.wsf.stack.cxf.client, org.jboss.ws.metadata.wsse, org.jboss.ws.extensions.policy.deployer.domainAssertion, org.jboss.ws.tools.meta
      data, org.jboss.ws.core.jaxws.handler, dtd, org.jboss.ws.extensions.security.jaxws, org.jboss.ws.extensions.wsrm.server, org.jboss.ws.metada
      ta.umdm, org.jboss.wsf.stack.cxf.config, org.jboss.ws.metadata.wsdl.xmlschema, org.jboss.wsf.stack.cxf.deployment, org.jboss.ws.tools, org.j
      boss.ws.extensions.wsrm.common, org.jboss.ws.core.jaxrpc.binding.jbossxb, org.jboss.ws.extensions.addressing.soap, org.jboss.ws.core.jaxws.b
      inding, org.jboss.ws.metadata.accessor, org.jboss.ws.core, org.jboss.ws.metadata.config, org.jboss.ws.core.jaxws.client, org.jboss.ws.extens
      ions.wsrm.config, org.jboss.ws.extensions.policy.annotation, org.jboss.ws.extensions.wsrm.transport.backchannel, org.jboss.ws.metadata.confi
      g.binding, org.jboss.ws.extensions.wsrm.api, org.jboss.ws.tools.interfaces, org.jboss.ws.tools.client, org.jboss.ws.extensions.eventing.meta
      data, org.jboss.ws.extensions.eventing.common, org.jboss.ws.extensions.security.nonce, org.jboss.ws.core.binding, org.jboss.ws.metadata.buil
      der, org.jboss.wsf.stack.cxf.deployment.aspect, META-INF.cxf, org.jboss.ws.extensions.wsrm.protocol.spi, org.jboss.ws.extensions.xop, org.jb
      oss.ws.core.jaxrpc.binding, org.jboss.ws.extensions.wsrm.jaxws, org.jboss.ws.extensions.policy.deployer.exceptions, org.jboss.wsf.stack.cxf.
      resolver, org.jboss.ws.core.jaxrpc.client, org.jboss.ws.core.transport.jms, META-INF.maven.org.jboss.ws.cxf.jbossws-cxf-server, org.jboss.ws
      .core.jaxws, org.jboss.wsf.stack.cxf.client.configuration, org.jboss.ws, META-INF, org.jboss.ws.extensions.security.jaxrpc, org.jboss.ws.met
      adata.jaxrpcmapping, org.jboss.ws.feature, org.jboss.ws.extensions.security.auth.callback, org.jboss.ws.extensions.wsrm.common.serialization
      , org.jboss.ws.core.soap.attachment, org.jboss.ws.tools.jaxws.impl, org.jboss.wsf.stack.cxf.management] <IMPORT-ALL>NON_EMPTY}}
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
              ... 34 more
      

       

       

      I never got this error with ESB 4.9 and it only happened now on 4.10.

       

      Again, this is a fresh copy of Jboss 5.1.0 GA jdk6

       

      Does anyone have any insight or help?

      Thanks in advance

        • 1. Re: Jboss 5.1.0 with Jboss ESB 4.10
          Tom Cunningham Master

          What OS are you on?   What directory was the ESB distribution you installed from in?      Your 5.1.0.GA-jdk6 server is at C:\jboss?

           

          I've never seen this before, if you can give some more detail on your installation instructions I can try to reproduce it, otherwise I'd suggest redownloading the bits.

          • 2. Re: Jboss 5.1.0 with Jboss ESB 4.10
            Brian L Newbie

            Im sorry but I forgot to mention that my jboss instance contains jbossWS-CXF 3.4.0 .

             

            So its Jboss 5.1.0 jdk6 + jbossWS-CXF 3.4.0 + jbossESB-4.10 and it produces the error above.

             

            However I tried only Jboss + ESB 4.10 and I do not get the error. Only with CXF web services on top of jboss.

             

            I am using this on Windows XP, my ESB distribution is C:\jbossesb-4.10 and my server is located at C:\jboss  .

             

            I have tried to redownload everything and still no luck.

            My installation steps were, unpacking jboss 5.10 jdk6 then the standard install for CXF then ESB 4.10

            • 3. Re: Jboss 5.1.0 with Jboss ESB 4.10
              Muhammad Sohail Newbie

              I understand it has been some time since the last update on this thread. But being a newbie to JBoss I was facing the same issue and googled into this thread. Incidentally I tried installing the components in a different fashion i.e.

               

              Unpacking Jboss 5.1.0 JDK 6 then installing ESB 4.10 and installing CXF 3.4.0 in the end.

               

              And I have not run into this particular issue.