1 Reply Latest reply on Sep 6, 2007 11:08 AM by Peter Johnson

    Error during start of JBoss AS

    Stefan Zeller Newbie

      Hi,

      I'm new in JBoss. I want to install and configure a jndi-provider.
      I use jdk in the version 1.5.0_12-b04.
      I have downloaded and extracted the JBoss AS 5.0.0.Beta2 and I have downloaded and extracted the file "jboss-messaging-1.4.0.CR2.zip".
      After this, I have set environment variable "JBOSS_HOME".
      Afterwards I have started following skript with ant
      --> ant -f release-admin.aml
      result
      Build sucessfull

      So, I want to start JBoss AS with following command:
      run.bat -c messaging.

      It appears following error:

      Microsoft Windows XP [Version 5.1.2600]
      (C) Copyright 1985-2001 Microsoft Corp.

      S:\>g:

      G:\>cd jboss

      G:\JBoss>cd jboss-5*

      G:\JBoss\jboss-5.0.0.Beta2>cd bin

      G:\JBoss\jboss-5.0.0.Beta2\bin>run.bat -c messaging
      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: G:\JBoss\jboss-5.0.0.Beta2

      JAVA: C:\Programme\Java\jdk1.5.0_12\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=2
      56m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600
      000

      CLASSPATH: C:\Programme\Java\jdk1.5.0_12\lib\tools.jar;G:\JBoss\jboss-5.0.0.Be
      ta2\bin\run.jar

      ===============================================================================

      11:08:39,843 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      11:08:39,843 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build:
      SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
      11:08:39,843 INFO [ServerImpl] Home Dir: G:\JBoss\jboss-5.0.0.Beta2
      11:08:39,843 INFO [ServerImpl] Home URL: file:/G:/JBoss/jboss-5.0.0.Beta2/
      11:08:39,843 INFO [ServerImpl] Library URL: file:/G:/JBoss/jboss-5.0.0.Beta2/li
      b/
      11:08:39,843 INFO [ServerImpl] Patch URL: null
      11:08:39,843 INFO [ServerImpl] Server Name: messaging
      11:08:39,843 INFO [ServerImpl] Server Home Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
      er\messaging
      11:08:39,843 INFO [ServerImpl] Server Home URL: file:/G:/JBoss/jboss-5.0.0.Beta
      2/server/messaging/
      11:08:39,843 INFO [ServerImpl] Server Data Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
      er\messaging\data
      11:08:39,843 INFO [ServerImpl] Server Temp Dir: G:\JBoss\jboss-5.0.0.Beta2\serv
      er\messaging\tmp
      11:08:39,843 INFO [ServerImpl] Server Config URL: file:/G:/JBoss/jboss-5.0.0.Be
      ta2/server/messaging/conf/
      11:08:39,843 INFO [ServerImpl] Server Library URL: file:/G:/JBoss/jboss-5.0.0.B
      eta2/server/messaging/lib/
      11:08:39,843 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      11:08:39,874 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/G:/J
      Boss/jboss-5.0.0.Beta2/server/messaging/conf/bootstrap-beans.xml
      11:08:40,920 INFO [ProfileImpl] Using profile root:G:\JBoss\jboss-5.0.0.Beta2\s
      erver\messaging
      11:08:42,420 ERROR [AbstractKernelController] Error installing to Configured: na
      me=VFSDeployerScanner state=Instantiated
      java.io.FileNotFoundException: File does not exist: G:\JBoss\jboss-5.0.0.Beta2\s
      erver\messaging\deployers
      at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler
      .java:74)
      at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler
      .java:89)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtua
      lFileHandler(FileSystemContext.java:253)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtua
      lFileHandler(FileSystemContext.java:186)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.(FileS
      ystemContext.java:150)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.(FileS
      ystemContext.java:124)
      at org.jboss.virtual.plugins.context.file.FileSystemContextFactory.getVF
      S(FileSystemContextFactory.java:65)
      at org.jboss.virtual.VFS.getVFS(VFS.java:86)
      at org.jboss.system.server.profileservice.VFSScanner.getVFforURI(VFSScan
      ner.java:563)
      at org.jboss.system.server.profileservice.VFSScanner.addURI(VFSScanner.j
      ava:275)
      at org.jboss.system.server.profileservice.VFSScanner.setURIList(VFSScann
      er.java:175)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(Reflec
      tionUtils.java:55)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(
      ReflectMethodInfoImpl.java:108)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethod
      JoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
      patchJoinPoint(KernelControllerContextAction.java:103)
      at org.jboss.kernel.plugins.dependency.ConfigureAction.setAttributes(Con
      figureAction.java:137)
      at org.jboss.kernel.plugins.dependency.ConfigureAction.installActionInte
      rnal(ConfigureAction.java:60)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
      tallAction(KernelControllerContextAction.java:197)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
      tall(KernelControllerContextAction.java:136)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install
      (AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:233)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:724)
      at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:445)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:555)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:489)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:289)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:192)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
      (AbstractKernelDeployer.java:302)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
      s(AbstractKernelDeployer.java:272)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(Abs
      tractKernelDeployer.java:119)
      at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicK
      ernelDeployer.java:64)
      at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
      XMLDeployer.java:76)
      at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
      XMLDeployer.java:146)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy
      (ProfileServiceBootstrap.java:295)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
      rap(ProfileServiceBootstrap.java:222)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
      strap.java:89)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
      java:403)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
      va:342)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:522)
      at java.lang.Thread.run(Thread.java:595)
      11:08:43,216 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
      11:08:43,216 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04
      ,Sun Microsystems Inc.
      11:08:43,216 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      11:08:43,247 INFO [JMXKernel] Legacy JMX core initialized
      Failed to boot JBoss:
      java.lang.RuntimeException: Exception during Bootstrap
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
      strap.java:99)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
      java:403)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
      va:342)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:522)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of inc
      omplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      VFSDeployerScanner -> java.io.FileNotFoundException: File does not exist: G:\JBo
      ss\jboss-5.0.0.Beta2\server\messaging\deployers


      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkI
      ncomplete(ProfileServiceBootstrap.java:389)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
      rap(ProfileServiceBootstrap.java:236)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
      strap.java:89)
      ... 5 more

      Can anybody help me please?

      Thanks.

      Regards

      Stefan