jboss启动异常,找了N天了,大家帮忙解决一下,jboss启动异常
由于现在需要对jboss进行配置,以前没用过jboss,
首先说明我的jdk正常,
下载jboss5.0.01GA,并解压到F盘,
然后JBoss_home:.......
path:......
不知为什么总是启动不起来,
点击run.bat总是一闪而过
pause控制run.bat窗口只输出了jboss的路径
请大家帮帮忙解决,
最好详细点的方法或jboss的配置方法,或问题原因谢谢大家了。。
[解决办法]
打开 run.bat 把前面的 @echo off 换成 @echo on
然后在 命令行窗口中执行这个 run.bat
F:\JBoss\bin\run.bat
看详细过程。
[解决办法]
C:\Documents and Settings\test_07>H:\jboss-4.2.2.GA\bin\run.bat
C:\Documents and Settings\test_07>rem ------------------------------------------
-------------------------------
C:\Documents and Settings\test_07>rem JBoss Bootstrap Script for Win32
C:\Documents and Settings\test_07>rem ------------------------------------------
-------------------------------
C:\Documents and Settings\test_07>rem $Id: run.bat 63249 2007-05-30 13:20:25Z di
mitris@jboss.org $
C:\Documents and Settings\test_07>set DIRNAME=.\
C:\Documents and Settings\test_07>if "Windows_NT" == "Windows_NT" set DIRNAME=H:
\jboss-4.2.2.GA\bin\
C:\Documents and Settings\test_07>set PROGNAME=run.bat
C:\Documents and Settings\test_07>if "Windows_NT" == "Windows_NT" set PROGNAME=r
un.bat
C:\Documents and Settings\test_07>pushd H:\jboss-4.2.2.GA\bin\..
H:\jboss-4.2.2.GA>set JBOSS_HOME=H:\jboss-4.2.2.GA
H:\jboss-4.2.2.GA>popd
C:\Documents and Settings\test_07>REM Add bin/native to the PATH if present
C:\Documents and Settings\test_07>if exist "H:\jboss-4.2.2.GA\bin\native" set PA
TH=H:\jboss-4.2.2.GA\bin\native;D:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\s
ystem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShel
l\v1.0;C:\Program Files\Xoreax\IncrediBuild;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Java\jdk1.5.0_09\bin;D:\MySql\bin
C:\Documents and Settings\test_07>if exist "H:\jboss-4.2.2.GA\bin\native" set JA
VA_OPTS= -Djava.library.path="D:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\sys
tem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\
v1.0;C:\Program Files\Xoreax\IncrediBuild;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Java\jdk1.5.0_09\bin;D:\MySql\bin"
C:\Documents and Settings\test_07>rem Read all command line arguments
C:\Documents and Settings\test_07>REM
C:\Documents and Settings\test_07>REM The env variable commented out in favor o
f using to include
C:\Documents and Settings\test_07>REM all args in java command line. See bug #84
0239. [jpl]
C:\Documents and Settings\test_07>REM
C:\Documents and Settings\test_07>REM set ARGS=
C:\Documents and Settings\test_07>REM :loop
C:\Documents and Settings\test_07>REM if [] == [] goto endloop
C:\Documents and Settings\test_07>REM set ARGS=
C:\Documents and Settings\test_07>REM shift
C:\Documents and Settings\test_07>REM goto loop
C:\Documents and Settings\test_07>REM :endloop
C:\Documents and Settings\test_07>rem Find run.jar, or we can't continue
C:\Documents and Settings\test_07>set RUNJAR=H:\jboss-4.2.2.GA\bin\run.jar
C:\Documents and Settings\test_07>if exist "H:\jboss-4.2.2.GA\bin\run.jar" goto
FOUND_RUN_JAR
C:\Documents and Settings\test_07>if not "C:\Program Files\Java\jdk1.5.0" == ""
goto ADD_TOOLS
C:\Documents and Settings\test_07>set JAVA=C:\Program Files\Java\jdk1.5.0\bin\ja
va
C:\Documents and Settings\test_07>rem A full JDK with toos.jar is not required a
nymore since jboss web packages
C:\Documents and Settings\test_07>rem the eclipse jdt compiler and javassist has
its own internal compiler.
C:\Documents and Settings\test_07>if not exist "C:\Program Files\Java\jdk1.5.0\l
ib\tools.jar" goto SKIP_TOOLS
C:\Documents and Settings\test_07>rem If JBOSS_CLASSPATH or JAVAC_JAR is empty,
don't include it, as this will
C:\Documents and Settings\test_07>rem result in including the local directory in
the classpath, which makes
C:\Documents and Settings\test_07>rem error tracking harder.
C:\Documents and Settings\test_07>if not "" == "" set RUNJAR=;H:\jboss-4.2.2.GA\
bin\run.jar
C:\Documents and Settings\test_07>if "" == "" set RUN_CLASSPATH=H:\jboss-4.2.2.G
A\bin\run.jar
C:\Documents and Settings\test_07>if "H:\jboss-4.2.2.GA\bin\run.jar" == "" set R
UN_CLASSPATH=;H:\jboss-4.2.2.GA\bin\run.jar
C:\Documents and Settings\test_07>set JBOSS_CLASSPATH=H:\jboss-4.2.2.GA\bin\run.
jar
C:\Documents and Settings\test_07>rem Setup JBoss specific properties
C:\Documents and Settings\test_07>set JAVA_OPTS= -Dprogram.name=run.bat
C:\Documents and Settings\test_07>rem Add -server to the JVM options, if support
ed
C:\Documents and Settings\test_07>"C:\Program Files\Java\jdk1.5.0\bin\java" -ver
sion 2>&1
[解决办法]
findstr /I hotspot 1>nul
C:\Documents and Settings\test_07>