Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Suresh lucky
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic