[jboss-user] problem in starting jboss AS 5.1.0.GA

Jari Fredriksson jarif at iki.fi
Sun Dec 28 11:27:06 EST 2014


> \Git\bin";"C:\Program was unexpected at this time.
> C:\apps\Jboss\jboss-5.1.0.GA\bin>  set
> "PATH=;C:\Windows\system32;C:\Windows;C:\
> Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Fil
> es\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth
> Software\sys
> wow64;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files
> (x86)
> \Intel\OpenCL SDK\2.0\bin\x64;C:\Program
> Files\apache-maven-3.1.1\bin;"C:\Progra
> m Files (x86)\Git\bin";"C:\Program
> Files\ant\bin";C:\Windows\system32;C:\Windows
> ;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
>  Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth
> Software
> \syswow64;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program
> Files (
> x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program
> Files\apache-maven-3.1.1\bin;"C:\Pr
> ogram Files (x86)\Git\bin";"C:\Program
> Files\ant\bin";C:\Java\jdk1.6.0_37;C:\Pro
> gram Files\apache-maven-3.1.1\bin;C:\apps\Jboss\jboss-5.1.0.GA
> \bin;C:\apps\Jboss
> \jboss-5.1.0.GA\bin"
> C:\apps\Jboss\jboss-5.1.0.GA\bin>
>
>
> i have set JAVA_HOME and JBOSS_HOME without spaces in their path names..
> kindly let me know what changes should i make to run.bat to start the
> server.
>
> Thanks.
> _______________________________________________

It seems to me that the PATH environment variable contains several
C:\Program Files -definitions without "'s in them. Seems that run.bat
can't handle it. I would re-define PATH in the run.conf.bat so that it
contains only the needed parts, not all the unneeded apps in your system
path. That would be %JAVA_HOME%\bin and maybe %JBOSS_HOME%\bin

I do not run jboss under Windows, but this seems to me to be the problem.

-- 
jarif.bit




More information about the jboss-user mailing list