aspose file tools*
The moose likes JBoss/WildFly and the fly likes Unable to Start Jboos 5.1.0 ga in windows 7-----run.conf.bat unexpected at this time error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Unable to Start Jboos 5.1.0 ga in windows 7-----run.conf.bat unexpected at this time error" Watch "Unable to Start Jboos 5.1.0 ga in windows 7-----run.conf.bat unexpected at this time error" New topic
Author

Unable to Start Jboos 5.1.0 ga in windows 7-----run.conf.bat unexpected at this time error

Suresh lucky
Greenhorn

Joined: Apr 13, 2012
Posts: 1
Hai,

i commented echo off

to sort out the problem

C:\Jboss\jboss5\bin>run.bat

C:\Jboss\jboss5\bin>rem @echo off

C:\Jboss\jboss5\bin>rem --------------------------------------------------------
-----------------

C:\Jboss\jboss5\bin>rem JBoss Bootstrap Script for Windows

C:\Jboss\jboss5\bin>rem --------------------------------------------------------
-----------------

C:\Jboss\jboss5\bin>rem $Id: run.bat 88978 2009-05-16 18:18:45Z alex.loubyansky@
jboss.com $

C:\Jboss\jboss5\bin>if "Windows_NT" == "Windows_NT" (set "DIRNAME=C:\Jboss\jboss
5\bin\" ) else (set DIRNAME=.\ )

C:\Jboss\jboss5\bin>rem Read an optional configuration file.

C:\Jboss\jboss5\bin>if "xC:\Program Files (x86)\Jboss\jboss5\bin\run.conf.bat" =
= "x" (set "RUN_CONF=C:\Jboss\jboss5\bin\run.conf.bat" )
\Jboss\jboss5\bin\run.conf.bat was unexpected at this time.

C:\Jboss\jboss5\bin> echo Calling C:\Program Files (x86)\Jboss\jboss5\bin\run.
conf.bat


how to sort out above problem...
thanks in Advance
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Welcome to the forums!

C:\Program Files (x86)\Jboss\jboss5\bin\run.conf.bat


This looks wrong in the context of the rest of the logs. Do you have JBOSS_HOME set somewhere in environment variables or some other place? If yes, then remove that setting and let the .bat file handle it for you.

[My Blog] [JavaRanch Journal]
 
 
subject: Unable to Start Jboos 5.1.0 ga in windows 7-----run.conf.bat unexpected at this time error