-
1. Re: run.bat appears to do nothing
jaikiran Dec 9, 2010 2:06 AM (in response to elcool)What's the output of
echo %JAVA_HOME%
elcool wrote:
Also, where can I see a log of what is going on when I execute the run.bat?
Edit the run.bat to remove to @echo off setting. Then run the bat file from the command line. It will start showing the commands being executed and the place where it fails.
-
2. Re: run.bat appears to do nothing
elcool Dec 9, 2010 8:17 AM (in response to elcool)I got it working by writing the command all on my own, like this:
C:\jboss-4.2.3.GA\bin>java -Djava.library.path="D:\Program Files (x86)\IBM\FileNet\ContentEngine\verity\k2\_nti40\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\IBM\FileNet\ContentEngine\bin;C:\jars\sqljdbc4.jar" -Dprogram.name=run.bat -Xms128m -Xmx512m -classpath "C:\jboss-4.2.3.GA\bin\run.jar" org.jboss.Main -b 0.0.0.0
-
3. Re: run.bat appears to do nothing
jaikiran Dec 9, 2010 8:19 AM (in response to elcool)That's actually not the right way to fix it But if it works for you and you are fine with that workaround, then fair enough.
-
4. Re: run.bat appears to do nothing
elcool Dec 9, 2010 8:55 AM (in response to jaikiran)echo %JAVA_HOME% gives me the following:
C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jre6;C:\Program Files\Java\jre6\bin;C:\Program Files\Java\jre6\lib;
These directories exist and have the java installed there.
-
5. Re: run.bat appears to do nothing
peterj Dec 9, 2010 9:49 AM (in response to elcool)That is an incorrect value for JAVA_HOME. Set it to this:
C:\Program Files\Java\jdk1.6.0_21
Note that JAVA_HOME is a single path, not a list of paths. JAVA_HOME should be set such the "%JAVA_HOME%\bin\java.exe" is valid.
-
6. Re: run.bat appears to do nothing
elcool Dec 9, 2010 9:53 AM (in response to peterj)Thanks both of you,
That did it!