Big Moose Saloon
 Search | Java FAQ | Recent Topics Register / Login Win a copy of Arduino in Action this week in the General Computing forum! A special promo: Enter your blog post or vote on a blogger to be featured in an upcoming Journal

# JBoss Server Startup trouble

Pranav Gorak
Greenhorn

Joined: Jun 05, 2011
Posts: 4
I am unable to start the JBoss Server on my system. I get the below error stack trace. Please Help.

Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
Deployment "AspectManager" is in error due to: java.io.FileNotFoundException:
Failed to create tmpClassesDir: C:\Program Files\JBoss\jboss-5.1.0.GA\server\def
ault\tmp\aopdynclasses

DEPLOYMENTS MISSING DEPENDENCIES:
ncies:
Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", bu
t is actually in state "**ERROR**")
Dependency "AspectManager" (should be in state "Installed", but is actually
in state "**ERROR**")
Deployment "JMXCreateDestroyAdvice$AspectBinding" is missing the following dep endencies: Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**") Deployment "AspectManagerJMXRegistrar" is missing the following dependencies: Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**") Deployment "JMXRegistrationAdvice$AspectBinding" is missing the following depe
ndencies:
Dependency "AspectManager" (should be in state "Installed", but is actually
in state "**ERROR**")
Deployment "AOPClassLoaderDeployer" is missing the following dependencies:
Dependency "AspectManager" (should be in state "Installed", but is actually
in state "**ERROR**")
dencies:
Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", bu
t is actually in state "**ERROR**")
Dependency "AspectManager" (should be in state "Installed", but is actually
in state "**ERROR**")
Deployment "JMXStartStopAdvice$AspectBinding" is missing the following depende ncies: Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**") at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalVa lidate(AbstractKernelDeployer.java:278) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(A bstractKernelDeployer.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)
12:34:52,674 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
12:34:52,681 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
Press any key to continue . . .
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5579

Pranav, welcome to Java Ranch!

You posted the deployment report that appears at the end of deployment processing. Unfortunately, this report rarely gives a clue as to what went wrong. You need to post the very first exception stack trace within the console log, or in the server.log.

As a guess, I would suggest that you move JBoss AS out of Program Files. Depending on which version of Windows you are running, and your UAC settings, Windows does funny things to Program Files. On top of that, Java does funny things if it finds paths with spaces in them. Might I recommend that you place it at c:\apps\jboss-5.1.0.GA?

JBoss In Action
Pranav Gorak
Greenhorn

Joined: Jun 05, 2011
Posts: 4
Thank you so much!! The change in the folder from the "C:\program files" to "C:\apps" did the trick!

I really did not get as to why the same thing does not work when you install it in the program files though.

Anyway that was helpful and I am all set to start deploying my apps using JBoss thanks to you.

I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.

subject: JBoss Server Startup trouble