org.jboss.deployers.spi.DeploymentException

Error creating classloader for vfsfile:/D:/mydocs/jboss/support/sandbox/jboss-5.0.0.CR2/server/defaul t/conf/jboss-service.xml

Solutions on the web917

  • via JBoss Issue Tracker by Luc Texier, 11 months ago
    Error creating classloader for vfsfile:/D:/mydocs/jboss/support/sandbox/jboss-5.0.0.CR2/server/defaul t/conf/jboss-service.xml
  • Error creating classloader for vfsfile:/app/jboss-eap-5.1/jboss-as/server/default/conf/jboss-service.xml
  • via JBoss Issue Tracker by Rajesh Rajasekaran, 11 months ago
    Error creating classloader for vfsfile:/qa/home/rrajasekaran/jboss-5.0.0.CR2-release/jboss-5.0.0.CR2/server/all/deployers/jboss-aop-jboss5.deployer/
  • Stack trace

    • org.jboss.deployers.spi.DeploymentException: Error creating classloader for vfsfile:/D:/mydocs/jboss/support/sandbox/jboss-5.0.0.CR2/server/defaul t/conf/jboss-service.xml at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:518) at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.createClassLoader(AbstractDeploymentUnit.java:159) at org.jboss.deployers.spi.deployer.helpers.AbstractClassLoaderDeployer.deploy(AbstractClassLoaderDeployer.java:52) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) 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:627) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:235) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:544) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.Error: Error visiting DelegatingHandler@5132526[path=sqljdbc.jar context=file:/D:/mydocs/jboss/support/sandbox/jboss-5.0.0.CR 2/server/default/lib/ real=file:/D:/mydocs/jboss/support/sandbox/jboss-5.0.0.CR2/server/default/lib/sqljdbc.jar] at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:98) at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determineCapabilities(VFSDeploymentClassLoaderPolicyModule.java:108) at org.jboss.classloading.spi.dependency.Module.getCapabilities(Module.java:485) at org.jboss.classloading.spi.dependency.Module.determinePackageNames(Module.java:544) at org.jboss.classloading.spi.dependency.Module.getPackageNames(Module.java:529) at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:129) at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.determinePolicy(VFSDeploymentClassLoaderPolicyModule.java:48) at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:149) at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:122) at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.getPolicy(VFSDeploymentClassLoaderPolicyModule.java:48) at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:88) at org.jboss.deployers.plugins.classloading.AbstractLevelClassLoaderSystemDeployer.createClassLoader(AbstractLevelClassLoaderSystemDeployer.java:120) at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:504) ... 21 more Caused by: java.lang.RuntimeException: Failed to read zip file: org.jboss.virtual.plugins.context.zip.ZipFileWrapper@6bb93c - D:\mydocs\jboss\supp ort\sandbox\jboss-5.0.0.CR2\server\default\tmp\vfs-nested.tmp\6bacca12_sqljdbc.jar at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:491) at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:619) at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChildren(ZipEntryContext.java:691) at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChildren(ZipEntryHandler.java:148) at org.jboss.virtual.plugins.context.DelegatingHandler.getChildren(DelegatingHandler.java:120) at org.jboss.virtual.plugins.context.AbstractVFSContext.getChildren(AbstractVFSContext.java:155) at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:272) at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:242) at org.jboss.virtual.VFS.visit(VFS.java:330) at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:407) at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:356) at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:337) 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:297) at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:242) at org.jboss.virtual.VFS.visit(VFS.java:330) at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:407) at org.jboss.classloading.plugins.vfs.PackageVisitor.determineAllPackages(PackageVisitor.java:94) ... 33 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.zip.ZipFile.<init>(ZipFile.java:234) at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175) at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245) at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:393) at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:486) ... 51 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    153 times, 8 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    59 more bugmates