hi!!
m new to JBoss run.bat doesnt seems to be workin for me...eventually I've set the correct path for JAVA_HOME.
Whenever I double click on the run.bat file...command prompt flashes for a while..n it goes off...
but when I try to run the bat file form the cmd prompt....I get " 'findstr' is not recognized as an internal or external command,
operable program or batch file."
any clues!!! Thank You in advance...
Thanks for the reply...
again I've verified my JAVA_HOME path, its correct...I've tested it..in command line..
meanwhile I've tried Jboss v6 this time I 'v edited run.bat....to add 'rem' before the first line
n the output I get is..
I am using jdk1.5
C:\Sun\jboss-6.0.0.M2(2)\jboss-6.0.0.20100216-M2\bin>if "Windows_NT" == "Windows
_NT" (set "DIRNAME=C:\Sun\jboss-6.0.0.M2(2)\jboss-6.0.0.20100216-M2\bin\" ) els
e (set DIRNAME=.\ )
C:\Sun\jboss-6.0.0.M2(2)\jboss-6.0.0.20100216-M2\bin>rem Read an optional config
uration file.
C:\Sun\jboss-6.0.0.M2(2)\jboss-6.0.0.20100216-M2\bin>if "x" == "x" (set "RUN_CON
F=C:\Sun\jboss-6.0.0.M2(2)\jboss-6.0.0.20100216-M2\bin\run.conf.bat" )
\jboss-6.0.0.20100216-M2\bin\run.conf.bat was unexpected at this time.
Thanks for the reply..
eventually i've upgraded to jdk6 update...hence output is....
C:\Documents and Settings\Swap>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_20
I've even changed the port to 9999,as OracleXE was listening to it...on my machine..
swapnil walke
Greenhorn
Joined: Feb 01, 2010
Posts: 4
posted
0
Hey guys...Problem was just with the port.....as OracleXE was already listening to port 8080....
as soon as I changed the port no in server/deploy/webapp.sar/server.xml file....it started working....
Peter and Jaikiran........thanks a lot for responding so quickly...it was amazing...
swapnil walke wrote:Hey guys...Problem was just with the port.....as OracleXE was already listening to port 8080....
as soon as I changed the port no in server/deploy/webapp.sar/server.xml file....it started working....
Good to know that you got it working. I would however have expected a different kind of error on the console for port related issues.
By the way, you might also want to move the Java installation out of the Program Files folder. It's always recommended not to install Java (or JBoss) in a folder containing a space in its path name. So you could move Java installation to C:/Java/jdk1.6.0_20 (and then set JAVA_HOME appropriately).