How to configure http.proxyHost with JST and Jboss 3.2.3 as generic server? [message #76782] |
Fri, 25 February 2005 05:51  |
Eclipse User |
|
|
|
Originally posted by: sigurdur.sveinsson.teamware.com
Hi,
I'm using the "Server" component of the JST and JBoss 3.2.3 as the generic
server in Eclipse 3.1 on Win XP.
My question is:
"Can I pass the 'http.proxyHost' and 'http.proxyPort' JVM start-up options
to JBoss through some API in the JST"?
I know I can change the "run.bat" JBoss startup file and include these
lines:
----------------
rem Setting the HTTP proxy settings for JBoss.
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=host.example.com
-Dhttp.proxyHost=7777
----------------
But as we have something called "Window->Preferences->Internet->Proxy
settings" in Eclipse 3.1 I would like the settins there to be passed to
the server I'm starting up in the "Server" view in JST.
In JBoss "run.bat" there says:
---------------
REM The %ARGS% env variable commented out in favor of using %* to include
REM all args in java command line. See bug #840239. [jpl]
....
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
---------------
where "%*" is used to include all args in the java command line. So, I
have another question:
"How can I pass java command line arguments to the JBoss server I'm
startin up in the JST "Server" view."
If it is not possible to pass java command line arguments to the servers,
then this is a JST/WST feature request! :)
Regards,
Siggi
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Re: How to configure http.proxyHost with JST and Jboss 3.2.3 as generic server? [message #76801 is a reply to message #76782] |
Fri, 25 February 2005 06:02  |
Eclipse User |
|
|
|
Originally posted by: j.rehpoehler.s2neueinformatik.de
You can configure the start parameters at "Run -> Debug...".
Choose your configuration and edit the JVM start parameters via the
"Arguments" tab (probably the VM arguments).
Hope that helps...
Jens
Sigurður Ingi Sveinsson schrieb:
> Hi,
>
> I'm using the "Server" component of the JST and JBoss 3.2.3 as the
> generic server in Eclipse 3.1 on Win XP.
>
> My question is:
>
> "Can I pass the 'http.proxyHost' and 'http.proxyPort' JVM start-up
> options to JBoss through some API in the JST"?
>
> I know I can change the "run.bat" JBoss startup file and include these
> lines:
>
> ----------------
> rem Setting the HTTP proxy settings for JBoss.
> set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=host.example.com
> -Dhttp.proxyHost=7777
> ----------------
>
> But as we have something called "Window->Preferences->Internet->Proxy
> settings" in Eclipse 3.1 I would like the settins there to be passed to
> the server I'm starting up in the "Server" view in JST.
>
>
> In JBoss "run.bat" there says:
>
> ---------------
> REM The %ARGS% env variable commented out in favor of using %* to include
> REM all args in java command line. See bug #840239. [jpl]
>
> ...
>
> "%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
> ---------------
>
> where "%*" is used to include all args in the java command line. So, I
> have another question:
>
> "How can I pass java command line arguments to the JBoss server I'm
> startin up in the JST "Server" view."
>
> If it is not possible to pass java command line arguments to the
> servers, then this is a JST/WST feature request! :)
>
> Regards,
> Siggi
>
|
|
|
Powered by
FUDForum. Page generated in 0.03927 seconds