File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBOSS Connectivity Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBOSS Connectivity Issue" Watch "JBOSS Connectivity Issue" New topic

JBOSS Connectivity Issue

Tan Mit

Joined: Aug 06, 2012
Posts: 14
I am trying to run JBOSS on Win 7 and keep getting this error-

Calling C:\jboss-5.1.0.GA\bin\run.conf.bat
\Common was unexpected at this time.

I was able to run it on Windows XP properly but since my system got re imaged and now i have Win 7 I havent been able to run JBOSS on it. Please help.

JAVA_HOME = C:\Java\jdk1.6.0_33
JBOSS_HOME = C:\jboss-5.1.0.GA
Peter Johnson

Joined: May 14, 2008
Posts: 5812

Sounds like you have something installed in a folder that has a space in its name. But which one it is is hard to say from what you posted. Do this: edit the run.bat file to comment out (or remove) the "@echo off" statement at the start of the file, then run it again. You'll get lots of output. If you can figure out what went wrong from that, post all of the output here.

JBoss In Action
Tan Mit

Joined: Aug 06, 2012
Posts: 14
I am not able to find "@echo off" or "echo off" in run.bat. I have no folder with spaces in it. Since i found out on the forum that might be the issue, i changed the paths and env variables as well.
Tan Mit

Joined: Aug 06, 2012
Posts: 14
I got the output but the forum is not letting me paste it here
Tan Mit

Joined: Aug 06, 2012
Posts: 14
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9924

indows\System32\WindowsPowerShell\v1.0\;"C:\Program Files (x86)\Common Files\EMC
";C:\Program Files\Symantec\Symantec Endpoint Encryption Clients\;C:\Program Fil
es (x86)\Micro Focus\RUMBA\;C:\Program Files (x86)\Micro Focus\RUMBA\System;C:\M
KS\Toolkit\mksnt;C:\Program Files\apache-maven-3.0.3\bin;C:\jboss-5.1.0.GA\bin

You might want to remove those double quotes, right in the middle, from the PATH environment variable value.

[My Blog] [JavaRanch Journal]
Tan Mit

Joined: Aug 06, 2012
Posts: 14
Thanks a ton it worked, appreciate it!!
It is sorta covered in the JavaRanch Style Guide.
subject: JBOSS Connectivity Issue
Similar Threads
jboss not starting - config issue?
eclipse doesn't run on vista (x64)
How to deploy GWT web application in JBoss?
Error While Starting JBoss 5.1.0 GA!!!
Starting JBoss