This content has been marked as final.
Show 3 replies
-
1. Re: Jboss4.2.1GA Installation and configuration
erasmomarciano Sep 1, 2008 7:00 AM (in response to pb_1)You have to create a start scritp for Jboss.
EX:
/home/jboss/jboss-4.0.4.GA/bin/run.bat -b 0.0.0.0.0 -c test1 > test1.log
-b 0.0.0.0.0: makes jboss listening on every address
or
nohup /home/jboss/jboss-4.0.4.GA/bin/run.bat -b your-ip -c test1 > test1.log
-b your-ip : makes jboss listening only on the given ip- address -
2. Re: Jboss4.2.1GA Installation and configuration
pb_1 Sep 1, 2008 7:58 AM (in response to pb_1)But i am not running jboss from CMD. I am running it from services.msc.
How do i run it with ip address in that case? -
3. Re: Jboss4.2.1GA Installation and configuration
peterj Sep 2, 2008 11:37 AM (in response to pb_1)JavaService, from ObjectWeb, stores startup information in the registry at (where XXX is the service name):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XXX\Parameters
Change/add registry entries there as follows:Start Param Count REG_WORD 0x000000002 (2) Start Param Number 0 REG_SZ -b Start Param Number 1 REG_SZ 0.0.0.0
For details, see the docs at http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/javaservice/javaservice%201.2/docs/description.html?rev=1.6
Have you see the problems with using JavaService mentioned at http://wiki.jboss.org/wiki/RunJBossAsAServiceOnWindows?