-
1. Re: Change Jetty ListenPort
sodtom Oct 17, 2002 8:51 AM (in response to mischulze)Edit the jboss-service.xml in
JBOSS_HOME\server\SERVER_TYPE\deploy\jbossweb.sar\META-INF
JBOSS_HOME = Directory where JBos was intalled
SERVER_TYPE = Directory that implies your server type (e.g default) -
2. Re: Change Jetty ListenPort
jmoring Oct 17, 2002 9:24 AM (in response to mischulze)-Djetty.port=<Your Port> on the java command line also works
-
3. Re: Change Jetty ListenPort
hounce Oct 17, 2002 12:17 PM (in response to mischulze)... but for some reason -Djetty.port=<Your Port> doesn't
work for the shutdown (property seems to be not evaluated, always 8080 is used), therefore you would need to kill JBoss manually.
The other way (as sodtom stated) would be to modify jbossweb.sar/META-INF/jboss-service.xml: Simply search for 8080 (see page 107 of the QuickStart Guide). But I guess it has the same effect than setting the system property ... -
4. Re: Change Jetty ListenPort
mischulze Oct 17, 2002 1:08 PM (in response to mischulze)Thanks, i´ll try it!
-
5. Re: Change Jetty ListenPort
lordy Oct 17, 2002 6:37 PM (in response to mischulze)> ... but for some reason -Djetty.port=<Your Port>
> doesn't
> work for the shutdown (property seems to be not
> evaluated, always 8080 is used), therefore you would
> need to kill JBoss manually.
>
Which on Solaris would be another reason not to use the -Xrs switch rather than making Jboss a group leader.
(see Shutdown CTRL-C thread for more details if you are using Solaris )
Lordy -
6. Re: Change Jetty ListenPort
jmoring Oct 18, 2002 2:50 PM (in response to mischulze)Shutdown uses port 8082