This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Server Startup trouble

 
Pranav Gorak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
Deployment "AOPDeploymentAopMetaDataDeployer" is missing the following depende
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**")
Deployment "BeansDeploymentAopMetaDataDeployer" is missing the following depen
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)
at java.lang.Thread.run(Thread.java:662)
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Pranav Gorak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic