4 Replies Latest reply on Oct 2, 2009 4:52 AM by jaikiran pai

    JBOSS 5.1.0 GA Startup error

    elboukhari otman Newbie

      Hi all,
      i've downloaded the Jboss AS both JDK 5 and 6 versions and i'm encountring an error while i'm runing the %JBOSS_HOME%\bin\run -c all to start the server.
      log message :

      18:12:25,781 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@169a1c5{name=file:/D:/MyProject/Servers/jboss-5.1.0/server/all/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@1fb9fb3{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}
      org.jboss.deployers.spi.DeploymentException: Error deploying: file:/D:/MyProject/Servers/jboss-5.1.0/server/all/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:595)
      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
      18:12:25,781 DEBUG [AbstractDeploymentContext] Added component VFSCache$realCache#1 to file:/D:/MyProject/Servers/jboss-5.1.0/server/all/conf/bootstrap/vfs.xml
      18:12:25,781 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@cbffde{name=file:/D:/MyProject/Servers/jboss-5.1.0/server/all/conf/bootstrap/vfs.xml installed=true beanFactories=[AbstractBeanMetaData@10b755d{name=VFSCache bean=null properties=[permanentRoots, realCache] constructor=AbstractConstructorMetaData@1e1962d{parameters=[null] factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory factoryMethod=getInstance} autowireCandidate=true start=AbstractLifecycleMetaData@14a75bb{ whenRequired=ControllerState@14649ed{Start} parameters= }}, AbstractBeanMetaData@19f76a5{name=VfsNamesExceptionHandler bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler properties= constructor=AbstractConstructorMetaData@266b44{parameters=[java.lang.String]} autowireCandidate=true}]}
      org.jboss.deployers.spi.DeploymentException: Error deploying: file:/D:/MyProject/Servers/jboss-5.1.0/server/all/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:595)
      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



      wana know if anyone has encounter this and if that has an effect on AS behavior.
      notice please that i want to use JTS on AS 5.1.0

      configutration :
      XP SP3, for AS jdk5 : JDK5 update 15
      for AS jdk6 build . JDK 6 update 16