Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How to configure http.proxyHost with JST and Jboss 3.2.3 as generic server?
How to configure http.proxyHost with JST and Jboss 3.2.3 as generic server? [message #76782] Fri, 25 February 2005 05:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:how to include .gif to the web project ?
Next Topic:Atributes prompting for custom tagilbs
Goto Forum:
  


Current Time: Mon Sep 15 03:10:59 EDT 2025

Powered by FUDForum. Page generated in 0.03712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top