11 Replies Latest reply on Oct 21, 2010 1:56 PM by thabza

    JBOSS WON'T START

    thabza

      hi everyone

       

      I just installed jboss-5.1.0.GA and I also added JBOSS HOME DIRECTLY into the environment variables.

      But then when I try to start it in cmd prompt typing run.bat I get this

       

       

      CMD.jpg

        • 1. Re: JBOSS WON'T START
          jaikiran

          It's better to post logs instead of attaching screenshots.

           

          As for that error, see this http://community.jboss.org/wiki/FindstrCommandNotFound.

          1 of 1 people found this helpful
          • 2. Re: JBOSS WON'T START
            thabza

            Thank you now it's works.

            • 3. Re: JBOSS WON'T START
              thabza

              It works in cmd prompt but then I get this error:

               

              16:29:08,735 INFO [ServerImpl] Starting JBoss (Microcontainer)...

              16:29:08,750 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)

              16:29:08,750 INFO [ServerImpl] Bootstrap URL: null

              16:29:08,750 INFO [ServerImpl] Home Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA

              16:29:08,750 INFO [ServerImpl] Home URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/

              16:29:08,750 INFO [ServerImpl] Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/lib/

              16:29:09,827 INFO [ServerImpl] Patch URL: null

              16:29:09,842 INFO [ServerImpl] Common Base URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/common/

              16:29:09,842 INFO [ServerImpl] Common Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/common/lib/

              16:29:09,842 INFO [ServerImpl] Server Name: default

              16:29:09,842 INFO [ServerImpl] Server Base Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server

              16:29:09,842 INFO [ServerImpl] Server Base URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/

              16:29:09,842 INFO [ServerImpl] Server Config URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/

              16:29:09,842 INFO [ServerImpl] Server Home Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default

              16:29:09,842 INFO [ServerImpl] Server Home URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/

              16:29:09,842 INFO [ServerImpl] Server Data Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\data

              16:29:09,842 INFO [ServerImpl] Server Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/lib/

              16:29:09,842 INFO [ServerImpl] Server Log Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\log

              16:29:09,842 INFO [ServerImpl] Server Native Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp\native

              16:29:09,842 INFO [ServerImpl] Server Temp Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp

              16:29:09,842 INFO [ServerImpl] Server Temp Deploy Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp\deploy

              16:29:11,371 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/bootstrap.xml

              16:29:12,807 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

              16:29:12,823 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

              16:29:13,323 INFO [CopyMechanism] VFS temp dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp

              16:29:13,339 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.

              16:29:15,382 INFO [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.

              16:29:15,398 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)

              16:29:15,398 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 16.3-b01,Sun Microsystems Inc.

              16:29:15,398 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86

              16:29:15,398 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252

              16:29:15,508 INFO [JMXKernel] Legacy JMX core initialized

              16:29:17,801 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described

              java.lang.IllegalArgumentException

               

              : Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

              at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(

              ReflectionUtils.java:395)

              at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(

              ReflectionUtils.java:153)

              at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(

              ReflectConstructorInfoImpl.java:106)

              at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(

              BasicConstructorJoinPoint.java:80)

              at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(

              AOPConstructorJoinpoint.java:282)

              at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(

              AOPConstructorJoinpoint.java:103)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(

              KernelControllerContextAction.java:241)

              at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(

              ExecutionWrapper.java:47)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(

              KernelControllerContextAction.java:109)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(

              KernelControllerContextAction.java:70)

              at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(

              InstantiateAction.java:66)

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(

              InstallsAwareAction.java:54)

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(

              InstallsAwareAction.java:42)

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(

              SimpleControllerContextAction.java:62)

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(

              AccessControllerContextAction.java:71)

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(

              AbstractControllerContextActions.java:51)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(

              AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(

              AbstractController.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(

              AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(

              AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(

              AbstractController.java:984)

              at org.jboss.dependency.plugins.AbstractController.install(

              AbstractController.java:774)

              at org.jboss.dependency.plugins.AbstractController.install(

              AbstractController.java:540)

              at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(

              AbstractKernelDeployer.java:319)

              at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(

              AbstractKernelDeployer.java:297)

              at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(

              AbstractKernelDeployer.java:130)

              at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(

              BasicKernelDeployer.java:76)

              at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(

              TempBasicXMLDeployer.java:91)

              at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(

              TempBasicXMLDeployer.java:161)

              at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(

              ServerImpl.java:138)

              at org.jboss.bootstrap.AbstractServerImpl.start(

              AbstractServerImpl.java:450)

              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)

              Failed to boot JBoss:

              java.lang.IllegalStateException

               

              : Incompletely deployed:

               

              DEPLOYMENTS IN ERROR:

              Deployment "AttachmentStore" is in error due to:

              java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

               

              DEPLOYMENTS MISSING DEPENDENCIES:

              Deployment "ProfileServiceDeployer" is missing the following dependencies:

              Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileServiceBootstrap" is missing the following dependencies:

              Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")

              Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileService" is missing the following dependencies:

              Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")

              Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")

              Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:

              Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

               

              at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(

              AbstractKernelDeployer.java:278)

              at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(

              AbstractKernelDeployer.java:174)

              at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(

              ServerImpl.java:142)

              at org.jboss.bootstrap.AbstractServerImpl.start(

              AbstractServerImpl.java:450)

              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)

              16:29:18,693 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true

              16:29:18,693 INFO [ServerImpl] Shutdown complete

              Shutdown complete

              Halting VM

              • 4. Re: JBOSS WON'T START
                jaikiran

                See this https://jira.jboss.org/jira/browse/JBAS-6981 and follow the fix mentioned in the description of that JIRA (or the referenced forum thread).

                • 5. Re: JBOSS WON'T START
                  thabza

                  Hi Jaikiran

                   

                  I used class="java,io.File" for the constructor parameter from the profile.xml configuration for AttachmentStore.
                  And I get this error:

                  11:41:14,264 INFO [ServerImpl] Starting JBoss (Microcontainer)...

                  11:41:14,264 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)

                  11:41:14,264 INFO [ServerImpl] Bootstrap URL: null

                  11:41:14,264 INFO [ServerImpl] Home Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA

                  11:41:14,264 INFO [ServerImpl] Home URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/

                  11:41:14,264 INFO [ServerImpl] Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/lib/

                  11:41:16,650 INFO [ServerImpl] Patch URL: null

                  11:41:16,650 INFO [ServerImpl] Common Base URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/common/

                  11:41:16,650 INFO [ServerImpl] Common Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/common/lib/

                  11:41:16,650 INFO [ServerImpl] Server Name: default

                  11:41:16,650 INFO [ServerImpl] Server Base Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server

                  11:41:16,650 INFO [ServerImpl] Server Base URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/

                  11:41:16,650 INFO [ServerImpl] Server Config URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/

                  11:41:16,650 INFO [ServerImpl] Server Home Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default

                  11:41:16,650 INFO [ServerImpl] Server Home URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/

                  11:41:16,650 INFO [ServerImpl] Server Data Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\data

                  11:41:16,650 INFO [ServerImpl] Server Library URL: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/lib/

                  11:41:16,650 INFO [ServerImpl] Server Log Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\log

                  11:41:16,650 INFO [ServerImpl] Server Native Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp\native

                  11:41:16,650 INFO [ServerImpl] Server Temp Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp

                  11:41:16,650 INFO [ServerImpl] Server Temp Deploy Dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp\deploy

                  11:41:19,068 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/bootstrap.xml

                  11:41:20,973 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

                  11:41:20,973 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

                  11:41:22,284 INFO [CopyMechanism] VFS temp dir: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\tmp

                  11:41:22,410 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.

                  11:41:26,154 INFO [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.

                  11:41:26,154 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)

                  11:41:26,154 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 16.3-b01,Sun Microsystems Inc.

                  11:41:26,154 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86

                  11:41:26,154 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252

                  11:41:26,264 INFO [JMXKernel] Legacy JMX core initialized

                  11:41:30,710 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@1705316[domain=default, server=default, name=default]

                  11:41:33,051 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/jboss-service.xml state=Not Installed mode=Manual requiredState=Parse

                  org.jboss.deployers.spi.DeploymentException

                   

                  : Error creating managed object for vfsfile:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/conf/jboss-service.xml

                  at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(

                  DeploymentException.java:49)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

                  AbstractParsingDeployerWithOutput.java:362)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

                  AbstractParsingDeployerWithOutput.java:322)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

                  AbstractParsingDeployerWithOutput.java:294)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(

                  AbstractParsingDeployerWithOutput.java:234)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(

                  DeployerWrapper.java:171)

                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(

                  DeployersImpl.java:1439)

                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(

                  DeployersImpl.java:1157)

                  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(

                  DeployersImpl.java:1098)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(

                  AbstractControllerContext.java:348)

                  at org.jboss.dependency.plugins.AbstractController.install(

                  AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(

                  AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(

                  AbstractController.java:1082)

                  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:781)

                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(

                  MainDeployerImpl.java:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(

                  MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(

                  ProfileDeployAction.java:70)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(

                  AbstractProfileAction.java:53)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(

                  AbstractProfileService.java:361)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(

                  AbstractControllerContext.java:348)

                  at org.jboss.dependency.plugins.AbstractController.install(

                  AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(

                  AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(

                  AbstractController.java:1082)

                  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.system.server.profileservice.repository.AbstractProfileService.activateProfile(

                  AbstractProfileService.java:306)

                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(

                  ProfileServiceBootstrap.java:271)

                  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.io.FileNotFoundException: lib doesn't exist. (rootURI: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/lib, file: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\lib)

                  at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(

                  FileSystemContext.java:220)

                  at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(

                  DefaultVFSRegistry.java:106)

                  at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.getFile(

                  DefaultVFSRegistry.java:140)

                  at org.jboss.virtual.VFS.getRoot(

                  VFS.java:264)

                  at org.jboss.system.deployers.SARDeployer.processXMLClasspath(

                  SARDeployer.java:140)

                  at org.jboss.system.deployers.SARDeployer.parse(

                  SARDeployer.java:89)

                  at org.jboss.system.deployers.SARDeployer.parse(

                  SARDeployer.java:58)

                  at org.jboss.deployers.vfs.spi.deployer.JAXPDeployer.parse(

                  JAXPDeployer.java:190)

                  at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(

                  AbstractVFSParsingDeployer.java:256)

                  at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(

                  AbstractVFSParsingDeployer.java:239)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

                  AbstractParsingDeployerWithOutput.java:355)

                  ... 33 more

                  11:41:33,080 ERROR [ScopedProfileServiceController] Error installing to Create: name=ProfileKey@b398da[domain=default, server=default, name=deployers] state=Configured mode=On Demand requiredState=Installed

                  java.lang.reflect.InvocationTargetException

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(

                  Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(

                  NativeMethodAccessorImpl.java:39)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(

                  DelegatingMethodAccessorImpl.java:25)

                  at java.lang.reflect.Method.invoke(

                  Method.java:597)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(

                  AbstractProfileLifeCycleAction.java:97)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.invoke(

                  AbstractProfileLifeCycleAction.java:77)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.install(

                  AbstractProfileLifeCycleAction.java:49)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(

                  AbstractProfileAction.java:53)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(

                  AbstractProfileService.java:361)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(

                  AbstractControllerContext.java:348)

                  at org.jboss.dependency.plugins.AbstractController.install(

                  AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(

                  AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(

                  AbstractController.java:1082)

                  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.system.server.profileservice.repository.AbstractProfileService.activateProfile(

                  AbstractProfileService.java:306)

                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(

                  ProfileServiceBootstrap.java:271)

                  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.io.FileNotFoundException: deployers doesn't exist. (rootURI: file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/deployers, file: C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\deployers)

                  at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(

                  FileSystemContext.java:220)

                  at org.jboss.virtual.VFS.getRoot(

                  VFS.java:292)

                  at org.jboss.virtual.VFS.createNewRoot(

                  VFS.java:186)

                  at org.jboss.virtual.VFS.getRoot(

                  VFS.java:201)

                  at org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource.getCachedVirtualFile(

                  AbstractVFSProfileSource.java:353)

                  at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.load(

                  BasicDeploymentRepository.java:113)

                  at org.jboss.system.server.profile.repository.AbstractProfile.create(

                  AbstractProfile.java:158)

                  ... 22 more

                  Failed to boot JBoss:

                  java.lang.IllegalStateException

                   

                  : Incompletely deployed:

                   

                  *** PROFILES IN ERROR: Name -> Error

                  Profile: ProfileKey@b398da[domain=default, server=default, name=deployers] in error due to

                  java.lang.reflect.InvocationTargetException

                   

                  *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

                  ProfileKey@9d22fc[domain=default, server=default, name=applications] is missing following dependencies: ProfileKey@b398da[domain=default, server=default, name=deployers]{Installed:**ERROR**}

                  ProfileKey@1705316[domain=default, server=default, name=default] is missing following dependencies: ProfileKey@9d22fc[domain=default, server=default, name=applications]{Installed:PreInstall}

                   

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(

                  AbstractProfileService.java:567)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(

                  AbstractProfileService.java:348)

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(

                  AbstractProfileService.java:331)

                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(

                  ProfileServiceBootstrap.java:272)

                  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)

                  11:41:33,096 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true

                  11:41:33,190 WARN [ProfileServiceBootstrap] Error deactivating profile: ProfileKey@1705316[domain=default, server=default, name=default]

                  org.jboss.profileservice.spi.NoSuchProfileException

                   

                  : No active profile for: ProfileKey@1705316[domain=default, server=default, name=default]

                  at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(

                  AbstractProfileService.java:391)

                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(

                  ProfileServiceBootstrap.java:327)

                  at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(

                  AbstractServerImpl.java:571)

                  at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(

                  AbstractServerImpl.java:909)

                  11:41:34,173 INFO [ServerImpl] Shutdown complete

                  Shutdown complete

                  Halting VM

                  • 6. Re: JBOSS WON'T START
                    wolfgangknauf

                    Hi,

                     

                    did you make any changes to the JBoss config? According to the error message, a directory is missing:

                     

                    java.io.FileNotFoundException:  lib doesn't exist. (rootURI:  file:/C:/Users/Thabile/Documents/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/server/default/lib,  file:  C:\Users\Thabile\Documents\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\server\default\lib)

                     

                    Could you check this?

                     

                    Best regards

                     

                    Wolfgang

                    • 7. Re: JBOSS WON'T START
                      peterj

                      How did you unzip the zip file? Did you select all of the files and then unzip the selected files? If so, that will not work - there are no files in the server/default/lib directory. To properly unzip the zip file, you muist extract the entire file. Using winzip (or Dolphin on Linux), I right-click the file and select "extract here".

                      1 of 1 people found this helpful
                      • 8. Re: JBOSS WON'T START
                        thabza

                        Thank you so much indeed the file is missing, I checked it. I am going to redownload Jboss for the new start.

                         

                        Kind regards

                        Thabile

                        • 9. Re: JBOSS WON'T START
                          thabza

                          Hi

                          I did download jboss-5-1-0 GA and added the new directly in environment variables and my jboss start perfectly fine from command prompt. The problem is when I try to configure jboss server to eclipse I select the jboss server but when I click on next then I get an error it still look for the old directly that I deleted and says it is invalid.

                           

                          I don't know what to do please help!

                           

                          Kind regards

                          Thabile

                          • 10. Re: JBOSS WON'T START
                            peterj

                            You will have to be a little clearer on the steps you did in Eclipse (for example, just about every page in the New Server wizard has a Next button so I have no idea which one you clicked).

                             

                            There are two levels to configuring a server. One level is identifying the "Server Runtime Environment", the other level is identifying the server. Apparently, while on the "Define a New Server" you are still using the prior "Server Runtime Environment". Instead, you should click the "Add..." link, and in the New Server Runtime Environment dialog identify the new location of JBoss AS and then use that in the "Define a New Server" dialog.

                             

                            jboss.png

                             

                            By the way, I do hope that you are using JBoss Tools, you will have much better luck with that than with the JBoss AS capabilities built into Eclipse.

                            • 11. Re: JBOSS WON'T START
                              thabza

                              Thank you very much now my Jboss is working fine.

                              Yeah I do use Jboss AS but now I have learn the lesson.

                               

                              Regards

                              Thabile