wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes JBoss installation problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss installation problems" Watch "JBoss installation problems" New topic

JBoss installation problems

Sen Aff
Ranch Hand

Joined: Mar 08, 2007
Posts: 63
Hello People,

I am trying to install JBoss and I had this error when
I tried to start the server.

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file:/C:/Program Files/JBoss/jboss-4.2.1.GA/server/default,all,minimal,other/conf/jboss-service.xml could not be opened, does it exist?

Can anyone please help me out?

Thanks a lot in advance.

Sen Aff.
Elias Ross

Joined: Aug 13, 2007
Posts: 1
On Windows, I suggest you extract your JBoss install to a directory off of root without spaces, e.g. c:/bin/jboss-4.2.1GA.

And every time, post the exact error message quoted with the command you ran.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9315

Also, how did you install JBoss? How are you starting it? As Elias mentioned, please post the entire exception stacktrace and the initial startup logs from the server.log file.

[My Blog] [JavaRanch Journal]
Sen Aff
Ranch Hand

Joined: Mar 08, 2007
Posts: 63

I am using Eclipse Europa. I downloaded the zip file and decompressed it.
Then I copied the unzipped(jboss-4.2.1.GA) file to C:\Program Files\JBoss.

From my eclipse IDE i created a J2EE project specifying JBoss as my server.
When I started the server, it failed.

This is the entire stack trace.

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: Not pointing to a directory, url: file:/C:/Program Files/JBoss/jboss-4.2.1.GA/server/default,all,minimal,other/lib/; - nested throwable: (java.io.FileNotFoundException: Not pointing to a directory, url: file:/C:/Program Files/JBoss/jboss-4.2.1.GA/server/default,all,minimal,other/lib/)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:217)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException: Not pointing to a directory, url: file:/C:/Program Files/JBoss/jboss-4.2.1.GA/server/default,all,minimal,other/lib/
at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:68)
at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:52)
at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java:57)
at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:558)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:193)
... 23 more

Thank you very much.

Sen Aff.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9315

I havent tried using JBoss with Eclipse. A few things that you could try:

1) As Elias mentioned, install JBoss in a folder which does not have a space in its path (Ex: C:\JBoss). This is true for other Java applications as well.

2) Point JAVA_HOME to JDK5 installation

3) Try starting JBoss, through the console, using the run.bat file present in the bin folder of JBoss installation

4) Make sure that the zip file that you downloaded is not corrupted. Does it indeed have the jboss-service.xml file in server/default/conf folder? Or is it missing that file (in which case the downloaded zip might be corrupted). Redownloading may solve the issue.
Sen Aff
Ranch Hand

Joined: Mar 08, 2007
Posts: 63
thanks a lot people,

the JBoss server starts now...i think it was the space issue.

Sen Aff.
Abhi Bose

Joined: May 27, 2008
Posts: 3
Steps I followed
1. Modified the Server configuration to default.
2. Deleted the JBOSS Server
3. Added a new server
I agree. Here's the link: http://aspose.com/file-tools
subject: JBoss installation problems
Similar Threads
Namespace dump in JBoss
Not getting the default page when the server starts starts
JBoss with JMS server issue.
Jboss is not starting from eclipse
How to run more than one JBoss 4.x server in one m/c