3 Replies Latest reply on Oct 14, 2011 4:02 AM by jaikiran pai

    Failed to deploy vfs.xml and logging.xml in jboss 5.1.0

    suresh kumar Newbie

      Hi all,

              We are getting below errors during the startup of jboss-5.1.0 server in boot.log.These errors get logged in DEBUG statement and hence it did not harm any of the functionalities involved in the application but we would like to get it cleaned up in boot.log.I found these errors posted in jboss forum already but everyone has replied back saying that it will not harm anything and it can be ignored.But there must be some resolution to these errors.Can someone help me out fix these errors?

       

      03:17:07,191 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@cfe500{name=file:/C:/JBOSS15.2.0.151/server/default/conf/bootstrap/vfs.xml installed=true beanFactories=[AbstractBeanMetaData@c393a1{name=VFSCache bean=null properties=[realCache, permanentRoots] constructor=AbstractConstructorMetaData@1a4c5b4{parameters=[null] factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory factoryMethod=getInstance} autowireCandidate=true start=AbstractLifecycleMetaData@afae4a{ whenRequired=ControllerState@1140db{Start} parameters= }}, AbstractBeanMetaData@b91602{name=VfsNamesExceptionHandler bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler properties= constructor=AbstractConstructorMetaData@153e0c0{parameters=[java.lang.String]} autowireCandidate=true}]}

      org.jboss.deployers.spi.DeploymentException: Error deploying: file:/C:/JBOSS15.2.0.151/server/default/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:433)

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

      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.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

      03:17:07,191 DEBUG [AbstractDeploymentContext] Added component LogBridgeHandler to file:/C:/JBOSS15.2.0.151/server/default/conf/bootstrap/logging.xml

      03:17:07,191 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@dbbe8b{name=file:/C:/JBOSS15.2.0.151/server/default/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@baa573{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}

      org.jboss.deployers.spi.DeploymentException: Error deploying: file:/C:/JBOSS15.2.0.151/server/default/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:433)

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

      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.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

      03:17:07,191 DEBUG [AbstractDeploymentContext] Added component deployers-classloader:0.0.0 to file:/C:/JBOSS15.2.0.151/server/default/conf/bootstrap/deployers.xml

       

      Thanks&Regards,

      Sureshkumar S.

      Bangalore,India.