Translated message

A translation of this page exists in English.

JBoss 5 にて、vfs.xml および logging.xml のロードに失敗したことを示す DEBUG メッセージが出力されます

Solution Verified - Updated -

Issue

  • boot.log に次の DEBUG ログが出力されます。

        DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for:AbstractKernelDeployment@7433c78b{name=file:/jboss-eap-5.0/jboss-as/server/custom/conf/bootstrap/vfs.xml installed=true beanFactories=[AbstractBeanMetaData@7371b246{name=VFSCache bean=null properties=[permanentRoots, realCache] constructor=AbstractConstructorMetaData@4cc72243{parameters=[null] factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory factoryMethod=getInstance} autowireCandidate=true start=AbstractLifecycleMetaData@259a8416{ whenRequired=ControllerState@2d6f4ce0{Start} parameters= }}, AbstractBeanMetaData@66201d6d{name=VfsNamesExceptionHandler bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler properties= constructor=AbstractConstructorMetaData@466c137c{parameters=[java.lang.String]} autowireCandidate=true}]}
        org.jboss.deployers.spi.DeploymentException:Error deploying: file:/jboss-eap-5.0/jboss-as/server/custom/conf/bootstrap/vfs.xml
                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
                at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:426)
                at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:242)
                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.IllegalStateException:ClassLoader has not been set
                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
                at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
                at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
                ...6 more
    
            DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for:AbstractKernelDeployment@144683c2{name=file:/jboss-eap-5.0/jboss-as/server/custom/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@21743ff4{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}
            org.jboss.deployers.spi.DeploymentException:Error deploying: file:/jboss-eap-5.0/jboss-as/server/custom/conf/bootstrap/logging.xml
                    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:426)
                    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:242)
                    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.IllegalStateException:ClassLoader has not been set
                    at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
                    at org.jboss.deployers.
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content