-
1. Re: jetty-plugin.sar
rdoust Jun 30, 2002 11:17 PM (in response to keithcsl)I think that if you run jboss with -Djetty.port=9080 you'll get what you're looking for. If you're running in a Windows environment, set and environment variable called JAVA_OPTS=-Djetty.port=9080 and then run jboss using the script. It works for me.
Rich -
2. Re: jetty-plugin.sar
dsudduth Jul 1, 2002 12:36 PM (in response to keithcsl)How did you find this setting? Is there a reference as to the Jetty settings within JBoss?
-
3. Re: jetty-plugin.sar
rdoust Jul 1, 2002 1:54 PM (in response to keithcsl)Somewhere in the Jetty docs I think. This has more to do with Jetty than it does with JBoss.
-
4. Re: jetty-plugin.sar
dsudduth Jul 1, 2002 2:54 PM (in response to keithcsl)Thanks! Is there any way to setup more than one Jetty listener without creating an entire new JBoss instance? In other words, I want 5 Jetty HTTP listeners on ports 9090, 9091...9094 utilizing JBoss.
-
5. Re: jetty-plugin.sar
rdoust Jul 1, 2002 3:07 PM (in response to keithcsl)You might have more luck posting this question over on the Jetty mailing list. I haven't tried to do what you're asking, but it seems to me it should be possible.
-
6. Re: jetty-plugin.sar
keithcsl Jul 1, 2002 5:31 PM (in response to keithcsl)Thank you very much. I will try the JAVA_OPTS options.
-
7. Re: jetty-plugin.sar
sieve Jul 1, 2002 7:55 PM (in response to keithcsl)The sar file is a war file is a jar file. If you explode the jar file (jar xf jetty-plugin.sar), edit (emacs META-INF/jboss-service.xml), then jar it again (jar cvf ..\jetty-plugin.sar *), it deploys just fine.
-
8. Re: jetty-plugin.sar
jules Jul 8, 2002 6:08 PM (in response to keithcsl)in 3.0.1RC1:
- jetty-plugin.sar has been rebranded jbossweb.sar
- it is deployed unpacked (to make editing jboss-service.xml easier)
If you are looking at doc on jetty.mortbay.org then everywhere you see jetty.xml think the ConfigurationElement attribute in the jboss-service.xml, since this is where it is now embedded into the larger JBoss descriptor.
Yes, you can do anything in this ConfigurationElement that you can do in a jetty.xml - including adding multiple listeners....
Jules -
9. Re: jetty-plugin.sar
kbaker Aug 20, 2002 6:58 AM (in response to keithcsl)So when I setup multiple listeners with the jetty-plugin.sar... how do I then bind specific .ear files to them?
concept would be....
jettylistener:8081 --> application1.ear
jettylistener:8082 --> application2.ear
jettylistener:8083 --> application3.ear