4 Replies Latest reply on Aug 7, 2013 8:32 AM by Tej P

    Error while deploying Ear on Jboss EAP 5.1.0

    Tej P Newbie

      Hi,

       

      Please help in resolving the issue facing while deploying EAR in Jboss EAP 5.1.0. Same EAR works fine when we deploy in Jboss Community edition (5.1.0). Below is the stack trace from server.log

       

      2013-08-07 10:59:11,635 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to ClassLoader: name=vfsfile:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/ state=Describe mode=Manual requiredState=ClassLoader

      org.jboss.deployers.spi.DeploymentException: Error creating classloader for vfsfile:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:599)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.createClassLoader(AbstractDeploymentUnit.java:166)

                at org.jboss.deployers.spi.deployer.helpers.AbstractClassLoaderDeployer.deploy(AbstractClassLoaderDeployer.java:53)

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                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:403)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                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:662)

      Caused by: java.lang.Error: Error visiting FileHandler@14466853[path=RPM.ear context=file:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/ real=file:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/]

                at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:98)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determineCapabilities(VFSDeploymentClassLoaderPolicyModule.java:129)

                at org.jboss.classloading.spi.dependency.Module.getCapabilities(Module.java:730)

                at org.jboss.classloading.spi.dependency.Module.determinePackageNames(Module.java:792)

                at org.jboss.classloading.spi.dependency.Module.getPackageNames(Module.java:777)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:150)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:49)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.createClassLoaderPolicy(ClassLoaderPolicyModule.java:236)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:216)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:143)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:49)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:148)

                at org.jboss.deployers.plugins.classloading.AbstractLevelClassLoaderSystemDeployer.createClassLoader(AbstractLevelClassLoaderSystemDeployer.java:126)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:585)

                ... 32 more

      Caused by: java.lang.RuntimeException: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

                at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)

                at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:636)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:786)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChildren(ZipEntryContext.java:858)

                at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChildren(ZipEntryHandler.java:163)

                at org.jboss.virtual.plugins.context.DelegatingHandler.getChildren(DelegatingHandler.java:121)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:220)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:337)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)

                at org.jboss.virtual.VFS.visit(VFS.java:468)

                at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)

                at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:397)

                at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:378)

                at org.jboss.classloading.plugins.vfs.PackageVisitor.visit(PackageVisitor.java:200)

                at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:362)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)

                at org.jboss.virtual.VFS.visit(VFS.java:468)

                at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)

                at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:94)

                ... 45 more

      Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

                at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)

                at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)

                at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)

                at java.util.jar.JarVerifier.update(JarVerifier.java:199)

                at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)

                at java.util.jar.JarFile.getInputStream(JarFile.java:388)

                at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:222)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:570)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:629)

                ... 65 more

       

       

      2013-08-07 10:59:11,635 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to ClassLoader: name=vfsfile:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/ state=Describe mode=Manual requiredState=ClassLoader

      org.jboss.deployers.spi.DeploymentException: Error creating classloader for vfsfile:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:599)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.createClassLoader(AbstractDeploymentUnit.java:166)

                at org.jboss.deployers.spi.deployer.helpers.AbstractClassLoaderDeployer.deploy(AbstractClassLoaderDeployer.java:53)

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                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:403)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                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:662)

      Caused by: java.lang.Error: Error visiting FileHandler@14466853[path=RPM.ear context=file:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/ real=file:/D:/EnterprisePlatform-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/RPM.ear/]

                at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:98)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determineCapabilities(VFSDeploymentClassLoaderPolicyModule.java:129)

                at org.jboss.classloading.spi.dependency.Module.getCapabilities(Module.java:730)

                at org.jboss.classloading.spi.dependency.Module.determinePackageNames(Module.java:792)

                at org.jboss.classloading.spi.dependency.Module.getPackageNames(Module.java:777)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:150)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:49)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.createClassLoaderPolicy(ClassLoaderPolicyModule.java:236)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:216)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:143)

                at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:49)

                at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:148)

                at org.jboss.deployers.plugins.classloading.AbstractLevelClassLoaderSystemDeployer.createClassLoader(AbstractLevelClassLoaderSystemDeployer.java:126)

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:585)

                ... 32 more

      Caused by: java.lang.RuntimeException: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

                at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)

                at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:636)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:786)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChildren(ZipEntryContext.java:858)

                at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChildren(ZipEntryHandler.java:163)

                at org.jboss.virtual.plugins.context.DelegatingHandler.getChildren(DelegatingHandler.java:121)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:220)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:337)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)

                at org.jboss.virtual.VFS.visit(VFS.java:468)

                at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)

                at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:397)

                at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:378)

                at org.jboss.classloading.plugins.vfs.PackageVisitor.visit(PackageVisitor.java:200)

                at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:362)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)

                at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)

                at org.jboss.virtual.VFS.visit(VFS.java:468)

                at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)

                at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:94)

                ... 45 more

      Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

                at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)

                at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)

                at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)

                at java.util.jar.JarVerifier.update(JarVerifier.java:199)

                at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)

                at java.util.jar.JarFile.getInputStream(JarFile.java:388)

                at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:222)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:570)

                at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:629)

                ... 65 more

       

      Below are JBoss Bootstrap Environment details

       

       

        JBOSS_HOME: D:\EnterprisePlatform-5.1.0\jboss-eap-5.1\jboss-as

       

       

        JAVA: C:\Program Files\Java\jdk1.6.0_26\bin\java

       

       

        JAVA_OPTS: -Xms256M -Xmx1024M -XX:MaxPermSize=256M -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Dprogram.name=run.bat -server -Djboss.bind.address=0.0.0.0 -Dprogram.name=run.bat -Dapplink.platform.config.directory="D:\EnterprisePlatform-5.1.0\jboss-eap-5.1\jboss-as\server\default\deploy\RPM.ear\config"

       

       

        CLASSPATH: C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar;D:\EnterprisePlatform-5.1.0\jboss-eap-5.1\jboss-as\bin\run.jar

       

       

      Thanks,

      Tej