problem in starting jboss AS 5.1.0.GA

Sandhya Sree <[email protected]> Tue, 1 Apr 2014 23:50:19 +0530
Newsgroups gmane.comp.java.jboss.user
Message-ID <CAJftt0GQ419sKB3eJBerkLjx1cEWBSOrc8eaHnEQAZtg20Dcgg@mail.gmail.com>
--===============3534735967583930371==
Content-Type: multipart/alternative; boundary=047d7b33cea66eda4c04f5ff38bc

--047d7b33cea66eda4c04f5ff38bc
Content-Type: text/plain; charset=ISO-8859-1

Hi..

i get the following error when i try run.bat

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem ### -*- batch file -*-
####################
##################################

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #
                                ##

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #  JBoss Bootstrap Script Configuration
                                ##

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #
                                ##

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem
###########################################
##################################

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # $Id: run.conf.bat 88820 2009-05-13
15:25:
44Z [email protected] $

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # This batch file is executed by
run.bat to
 initialize the environment

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # variables that run.bat uses. It is
recomm
ended to use this file to

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # configure these variables, rather
than mo
difying run.bat itself.

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>if not "x" == "x" goto JAVA_OPTS_SET

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Specify the JBoss Profiler
configuration
file to load.

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Default is to not load a JBoss
Profiler c
onfiguration file.

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem set "PROFILER=C:\apps\Jboss\
jboss-5.1.0.GA\
bin\jboss-profiler.properties"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Specify the location of the Java
home dir
ectory (it is recommended that

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # this always be set). If set, then
"C:\Jav
a\jdk1.6.0_37\bin\java" will be used as

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # the Java VM executable; otherwise,
"" wil
l be used (see below).

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem set "JAVA_HOME=C:\opt\jdk1.6.0_13"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Specify the exact Java VM executable
to u
se - only used if JAVA_HOME is

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # not set. Default is "java".

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem set "JAVA=C:\opt\jdk1.6.0_13\bin\java"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Specify options to pass to the Java
VM. N
ote, there are some additional

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # options that are always passed by
run.bat
.

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem #

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # JVM memory allocation pool
parameters - m
odify as appropriate.

C:\apps\Jboss\jboss-5.1.0.GA\bin>set "JAVA_OPTS=-Xms128M -Xmx512M
-XX:MaxPermSiz
e=256M"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Reduce the RMI GCs to once per hour
for S
un JVMs.

C:\apps\Jboss\jboss-5.1.0.GA\bin>set "JAVA_OPTS=-Xms128M -Xmx512M
-XX:MaxPermSiz
e=256M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3
600000"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Warn when resolving remote XML DTDs
or sc
hemas.

C:\apps\Jboss\jboss-5.1.0.GA\bin>set "JAVA_OPTS=-Xms128M -Xmx512M
-XX:MaxPermSiz
e=256M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3
600000 -Dorg.jboss.resolver.warning=true"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Sample JPDA settings for remote
socket de
bugging

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem set "JAVA_OPTS=-Xms128M -Xmx512M
-XX:MaxPer
mSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterv
al=3600000 -Dorg.jboss.resolver.warning=true
-Xrunjdwp:transport=dt_socket,addre
ss=8787,server=y,suspend=n"

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem # Sample JPDA settings for shared
memory de
bugging

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem set "JAVA_OPTS=-Xms128M -Xmx512M
-XX:MaxPer
mSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterv
al=3600000 -Dorg.jboss.resolver.warning=true
-Xrunjdwp:transport=dt_shmem,addres
s=jboss,server=y,suspend=n"

C:\apps\Jboss\jboss-5.1.0.GA\bin>pushd C:\apps\Jboss\jboss-5.1.0.GA\bin\..

C:\apps\Jboss\jboss-5.1.0.GA>if "xC:\apps\Jboss\jboss-5.1.0.GA" == "x" (set
"JBO
SS_HOME=C:\apps\Jboss\jboss-5.1.0.GA" )

C:\apps\Jboss\jboss-5.1.0.GA>popd

C:\apps\Jboss\jboss-5.1.0.GA\bin>set DIRNAME=

C:\apps\Jboss\jboss-5.1.0.GA\bin>if "Windows_NT" == "Windows_NT" (set
"PROGNAME=
run.bat" )  else (set "PROGNAME=run.bat" )

C:\apps\Jboss\jboss-5.1.0.GA\bin>if "x-Xms128M -Xmx512M
-XX:MaxPermSize=256M -Ds
un.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Do
rg.jboss.resolver.warning=true" == "x" (set
"JAVA_OPTS=-Dprogram.name=run.bat" )
  else (set "JAVA_OPTS=-Dprogram.name=run.bat -Xms128M -Xmx512M
-XX:MaxPermSize=
256M -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=360
0000 -Dorg.jboss.resolver.warning=true" )

C:\apps\Jboss\jboss-5.1.0.GA\bin>if "xC:\Java\jdk1.6.0_37" == "x" (
set  JAVA=java
 echo JAVA_HOME is not set. Unexpected results may occur.
 echo Set JAVA_HOME to the directory of your local JDK to avoid this
message.
)  else (
set "JAVA=C:\Java\jdk1.6.0_37\bin\java"
 if exist "C:\Java\jdk1.6.0_37\lib\tools.jar" (set
"JAVAC_JAR=C:\Java\jdk1.6.0_3
7\lib\tools.jar" )
)

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem Add -server to the JVM options, if
supporte
d

C:\apps\Jboss\jboss-5.1.0.GA\bin>"C:\Java\jdk1.6.0_37\bin\java" -server
-version
   2>&1  | findstr /I hotspot  1>nul

C:\apps\Jboss\jboss-5.1.0.GA\bin>if not errorlevel 1 (set
JAVA_OPTS=-Dprogram.na
me=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M
-Dsun.rmi.dgc.client.gcInterva
l=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Dorg.jboss.resolver.warning=t
rue -server )

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem Set Java platform if 64-Bit JVM used

C:\apps\Jboss\jboss-5.1.0.GA\bin>set JAVA_PLATFORM=

C:\apps\Jboss\jboss-5.1.0.GA\bin>"C:\Java\jdk1.6.0_37\bin\java" -version
2>&1
 | findstr /I "64-Bit ^| x86_64"  1>nul

C:\apps\Jboss\jboss-5.1.0.GA\bin>if not errorlevel 1 (if /I "AMD64" ==
"IA64" (s
et JAVA_PLATFORM=i64 )  else if /I "AMD64" == "AMD64" (set
JAVA_PLATFORM=x64 )
else if /I "AMD64" == "x64" (set JAVA_PLATFORM=x64 )  else if /I "" ==
"IA64" (s
et JAVA_PLATFORM=i64 )  else if /I "" == "AMD64" (set JAVA_PLATFORM=x64 )
 else
(
echo PROCESSOR_ARCHITECTURE is not set. Unexpected results may occur.
 echo Set PROCESSOR_ARCHITECTURE according to the 64-Bit JVM used.
) )

C:\apps\Jboss\jboss-5.1.0.GA\bin>if "xx64" == "x" set JAVA_PLATFORM=x86

C:\apps\Jboss\jboss-5.1.0.GA\bin>rem Add native to the PATH if present

C:\apps\Jboss\jboss-5.1.0.GA\bin>set JBOSS_NATIVE_LOC=

C:\apps\Jboss\jboss-5.1.0.GA\bin>if exist "C:\apps\Jboss\jboss-5.1.0.GA
\bin\META
-INF\lib\windows-x64" (set "JBOSS_NATIVE_HOME=C:\apps\Jboss\jboss-5.1.0.GA
\bin\M
ETA-INF\lib\windows-x64" )  else if exist "C:\apps\Jboss\jboss-5.1.0.GA
\bin\nati
ve" (set "JBOSS_NATIVE_HOME=C:\apps\Jboss\jboss-5.1.0.GA\bin\native" )
\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.

--047d7b33cea66eda4c04f5ff38bc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi..<div><br></div><div>i get the following error when i t=
ry run.bat=A0</div><div><br></div><div><div>C:\apps\Jboss\<a href=3D"http:/=
/jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem ### -*- batch file -*- #####=
###############</div>
<div>##################################</div><div><br></div><div>C:\apps\Jb=
oss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #</div>=
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ##</di=
v><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss=
-5.1.0.GA</a>\bin&gt;rem # =A0JBoss Bootstrap Script Configuration</div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ##</di=
v><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss=
-5.1.0.GA</a>\bin&gt;rem #</div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 ##</div><div><br></div><div>C:\apps\Jboss\<a hr=
ef=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem ################=
###########################</div>
<div>##################################</div><div><br></div><div>C:\apps\Jb=
oss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # $Id: =
run.conf.bat 88820 2009-05-13 15:25:</div><div>44Z <a href=3D"mailto:dimitr=
[email protected]">[email protected]</a> $</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem #</div><div><br></div><div>C:\apps\Jboss\<a href=3D"=
http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # This batch file is e=
xecuted by run.bat to</div>
<div>=A0initialize the environment</div><div><br></div><div>C:\apps\Jboss\<=
a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # variables =
that run.bat uses. It is recomm</div><div>ended to use this file to</div><d=
iv>
<br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.=
GA</a>\bin&gt;rem # configure these variables, rather than mo</div><div>dif=
ying run.bat itself.</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http=
://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;if not &quot;x&quot; =3D=3D &quot;x&quot; goto JAVA_OPTS=
_SET</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.G=
A">jboss-5.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem # Specify the JBoss Profiler configuration</div><div=
>file to load.</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jbo=
ss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem # Default is to not load a JBoss Profiler c</div><di=
v>onfiguration file.</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http=
://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem set &quot;PROFILER=3DC:\apps\Jboss\<a href=3D"http:/=
/jboss-5.1.0.GA">jboss-5.1.0.GA</a>\</div><div>bin\jboss-profiler.propertie=
s&quot;</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem #</div><div><br></div><div>C:\apps\Jboss\<a href=3D"=
http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # Specify the location=
 of the Java home dir</div>
<div>ectory (it is recommended that</div><div><br></div><div>C:\apps\Jboss\=
<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # this alwa=
ys be set). If set, then &quot;C:\Jav</div><div>a\jdk1.6.0_37\bin\java&quot=
; will be used as</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem # the Java VM executable; otherwise, &quot;&quot; wi=
l</div><div>l be used (see below).</div><div><br></div><div>C:\apps\Jboss\<=
a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem set &quot;JAVA_HOME=3DC:\opt\jdk1.6.0_13&quot;</div>=
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem #</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem # Specify the exact Java VM executable to u</div><di=
v>se - only used if JAVA_HOME is</div><div><br></div><div>C:\apps\Jboss\<a =
href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # not set. Def=
ault is &quot;java&quot;.</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem #</div><div><br></div><div>C:\apps\Jboss\<a href=3D"=
http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem set &quot;JAVA=3DC:\op=
t\jdk1.6.0_13\bin\java&quot;</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem #</div><div><br></div><div>C:\apps\Jboss\<a href=3D"=
http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # Specify options to p=
ass to the Java VM. N</div>
<div>ote, there are some additional</div><div><br></div><div>C:\apps\Jboss\=
<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # options t=
hat are always passed by run.bat</div><div>.</div><div><br></div><div>C:\ap=
ps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem #<=
/div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;rem # JVM memory allocation pool parameters - m</div><di=
v>odify as appropriate.</div><div><br></div><div>C:\apps\Jboss\<a href=3D"h=
ttp://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;set &quot;JAVA_OPTS=3D-Xms1=
28M -Xmx512M -XX:MaxPermSiz</div>
<div>e=3D256M&quot;</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http:=
//jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # Reduce the RMI GCs to onc=
e per hour for S</div><div>un JVMs.</div><div><br></div><div>C:\apps\Jboss\=
<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;set &quot;JAVA_=
OPTS=3D-Xms128M -Xmx512M -XX:MaxPermSiz</div>
<div>e=3D256M -Dsun.rmi.dgc.client.gcInterval=3D3600000 -Dsun.rmi.dgc.serve=
r.gcInterval=3D3</div><div>600000&quot;</div><div><br></div><div>C:\apps\Jb=
oss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem # Warn =
when resolving remote XML DTDs or sc</div>
<div>hemas.</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-=
5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;set &quot;JAVA_OPTS=3D-Xms128M -Xmx512M=
 -XX:MaxPermSiz</div><div>e=3D256M -Dsun.rmi.dgc.client.gcInterval=3D360000=
0 -Dsun.rmi.dgc.server.gcInterval=3D3</div>
<div>600000 -Dorg.jboss.resolver.warning=3Dtrue&quot;</div><div><br></div><=
div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&=
gt;rem # Sample JPDA settings for remote socket de</div><div>bugging</div><=
div>
<br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.=
GA</a>\bin&gt;rem set &quot;JAVA_OPTS=3D-Xms128M -Xmx512M -XX:MaxPer</div><=
div>mSize=3D256M -Dsun.rmi.dgc.client.gcInterval=3D3600000 -Dsun.rmi.dgc.se=
rver.gcInterv</div>
<div>al=3D3600000 -Dorg.jboss.resolver.warning=3Dtrue -Xrunjdwp:transport=
=3Ddt_socket,addre</div><div>ss=3D8787,server=3Dy,suspend=3Dn&quot;</div><d=
iv><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1=
.0.GA</a>\bin&gt;rem # Sample JPDA settings for shared memory de</div>
<div>bugging</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss=
-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem set &quot;JAVA_OPTS=3D-Xms128M -Xm=
x512M -XX:MaxPer</div><div>mSize=3D256M -Dsun.rmi.dgc.client.gcInterval=3D3=
600000 -Dsun.rmi.dgc.server.gcInterv</div>
<div>al=3D3600000 -Dorg.jboss.resolver.warning=3Dtrue -Xrunjdwp:transport=
=3Ddt_shmem,addres</div><div>s=3Djboss,server=3Dy,suspend=3Dn&quot;</div><d=
iv><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1=
.0.GA</a>\bin&gt;pushd C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jbos=
s-5.1.0.GA</a>\bin\..</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>&gt;if &quot;xC:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jb=
oss-5.1.0.GA</a>&quot; =3D=3D &quot;x&quot; (set &quot;JBO</div><div>SS_HOM=
E=3DC:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>&quot=
; )</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>&gt;popd</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http:=
//jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;set DIRNAME=3D</div><div><br></=
div>
<div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin=
&gt;if &quot;Windows_NT&quot; =3D=3D &quot;Windows_NT&quot; (set &quot;PROG=
NAME=3D</div><div>run.bat&quot; ) =A0else (set &quot;PROGNAME=3Drun.bat&quo=
t; )</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;if &quot;x-Xms128M -Xmx512M -XX:MaxPermSize=3D256M -Ds</=
div><div>un.rmi.dgc.client.gcInterval=3D3600000 -Dsun.rmi.dgc.server.gcInte=
rval=3D3600000 -Do</div>
<div>rg.jboss.resolver.warning=3Dtrue&quot; =3D=3D &quot;x&quot; (set &quot=
;JAVA_OPTS=3D-Dprogram.name=3Drun.bat&quot; )</div><div>=A0 else (set &quot=
;JAVA_OPTS=3D-Dprogram.name=3Drun.bat -Xms128M -Xmx512M -XX:MaxPermSize=3D<=
/div><div>256M -Dsun.rmi.dgc.client.gcInterval=3D3600000 -Dsun.rmi.dgc.serv=
er.gcInterval=3D360</div>
<div>0000 -Dorg.jboss.resolver.warning=3Dtrue&quot; )</div><div><br></div><=
div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&=
gt;if &quot;xC:\Java\jdk1.6.0_37&quot; =3D=3D &quot;x&quot; (</div><div>set=
 =A0JAVA=3Djava</div>
<div>=A0echo JAVA_HOME is not set. Unexpected results may occur.</div><div>=
=A0echo Set JAVA_HOME to the directory of your local JDK to avoid this mess=
age.</div><div>) =A0else (</div><div>set &quot;JAVA=3DC:\Java\jdk1.6.0_37\b=
in\java&quot;</div>
<div>=A0if exist &quot;C:\Java\jdk1.6.0_37\lib\tools.jar&quot; (set &quot;J=
AVAC_JAR=3DC:\Java\jdk1.6.0_3</div><div>7\lib\tools.jar&quot; )</div><div>)=
</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">j=
boss-5.1.0.GA</a>\bin&gt;rem Add -server to the JVM options, if supporte</d=
iv>
<div>d</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0=
.GA">jboss-5.1.0.GA</a>\bin&gt;&quot;C:\Java\jdk1.6.0_37\bin\java&quot; -se=
rver -version</div><div>=A0 =A02&gt;&amp;1 =A0| findstr /I hotspot =A01&gt;=
nul</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;if not errorlevel 1 (set JAVA_OPTS=3D-Dprogram.na</div><=
div>me=3Drun.bat -Xms128M -Xmx512M -XX:MaxPermSize=3D256M -Dsun.rmi.dgc.cli=
ent.gcInterva</div>
<div>l=3D3600000 -Dsun.rmi.dgc.server.gcInterval=3D3600000 -Dorg.jboss.reso=
lver.warning=3Dt</div><div>rue -server )</div><div><br></div><div>C:\apps\J=
boss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem Set Ja=
va platform if 64-Bit JVM used</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;set JAVA_PLATFORM=3D</div><div><br></div><div>C:\apps\Jb=
oss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;&quot;C:\Ja=
va\jdk1.6.0_37\bin\java&quot; -version =A0 2&gt;&amp;1</div>
<div>=A0| findstr /I &quot;64-Bit ^| x86_64&quot; =A01&gt;nul</div><div><br=
></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA<=
/a>\bin&gt;if not errorlevel 1 (if /I &quot;AMD64&quot; =3D=3D &quot;IA64&q=
uot; (s</div>
<div>et JAVA_PLATFORM=3Di64 ) =A0else if /I &quot;AMD64&quot; =3D=3D &quot;=
AMD64&quot; (set JAVA_PLATFORM=3Dx64 )</div><div>else if /I &quot;AMD64&quo=
t; =3D=3D &quot;x64&quot; (set JAVA_PLATFORM=3Dx64 ) =A0else if /I &quot;&q=
uot; =3D=3D &quot;IA64&quot; (s</div>
<div>et JAVA_PLATFORM=3Di64 ) =A0else if /I &quot;&quot; =3D=3D &quot;AMD64=
&quot; (set JAVA_PLATFORM=3Dx64 ) =A0else</div><div>(</div><div>echo PROCES=
SOR_ARCHITECTURE is not set. Unexpected results may occur.</div><div>=A0ech=
o Set PROCESSOR_ARCHITECTURE according to the 64-Bit JVM used.</div>
<div>) )</div><div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1=
.0.GA">jboss-5.1.0.GA</a>\bin&gt;if &quot;xx64&quot; =3D=3D &quot;x&quot; s=
et JAVA_PLATFORM=3Dx86</div><div><br></div><div>C:\apps\Jboss\<a href=3D"ht=
tp://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;rem Add native to the PATH i=
f present</div>
<div><br></div><div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5=
.1.0.GA</a>\bin&gt;set JBOSS_NATIVE_LOC=3D</div><div><br></div><div>C:\apps=
\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt;if exist=
 &quot;C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\b=
in\META</div>
<div>-INF\lib\windows-x64&quot; (set &quot;JBOSS_NATIVE_HOME=3DC:\apps\Jbos=
s\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin\M</div><div>ETA-=
INF\lib\windows-x64&quot; ) =A0else if exist &quot;C:\apps\Jboss\<a href=3D=
"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin\nati</div>
<div>ve&quot; (set &quot;JBOSS_NATIVE_HOME=3DC:\apps\Jboss\<a href=3D"http:=
//jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin\native&quot; )</div><div>\Git\bin&=
quot;;&quot;C:\Program was unexpected at this time.</div><div>C:\apps\Jboss=
\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&gt; =A0set &quot;=
PATH=3D;C:\Windows\system32;C:\Windows;C:\</div>
<div>Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\P=
rogram Fil</div><div>es\ThinkPad\Bluetooth Software\;C:\Program Files\Think=
Pad\Bluetooth Software\sys</div><div>wow64;C:\Program Files (x86)\Intel\Ope=
nCL SDK\2.0\bin\x86;C:\Program Files (x86)</div>
<div>\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\apache-maven-3.1.1\bin;=
&quot;C:\Progra</div><div>m Files (x86)\Git\bin&quot;;&quot;C:\Program File=
s\ant\bin&quot;;C:\Windows\system32;C:\Windows</div><div>;C:\Windows\System=
32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program</div>
<div>=A0Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Blueto=
oth Software</div><div>\syswow64;C:\Program Files (x86)\Intel\OpenCL SDK\2.=
0\bin\x86;C:\Program Files (</div><div>x86)\Intel\OpenCL SDK\2.0\bin\x64;C:=
\Program Files\apache-maven-3.1.1\bin;&quot;C:\Pr</div>
<div>ogram Files (x86)\Git\bin&quot;;&quot;C:\Program Files\ant\bin&quot;;C=
:\Java\jdk1.6.0_37;C:\Pro</div><div>gram Files\apache-maven-3.1.1\bin;C:\ap=
ps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin;C:\apps\J=
boss</div>
<div>\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&quot;</div><=
div>C:\apps\Jboss\<a href=3D"http://jboss-5.1.0.GA">jboss-5.1.0.GA</a>\bin&=
gt;</div><div><br></div><div><br></div></div><div>i have set JAVA_HOME and =
JBOSS_HOME without spaces in their path names.. kindly let me know what cha=
nges should i make to run.bat to start the server.</div>
<div><br></div><div>Thanks.</div></div>

--047d7b33cea66eda4c04f5ff38bc--

--===============3534735967583930371==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
--===============3534735967583930371==--