Article

preycor's picture
article
Reads:

6006

Score:
1.5
1.5
2
 
Comments:

1

Configuring iManager 2.7 to Use a Proxy Server

Author Info

9 April 2008 - 7:29am
Submitted by: preycor

(View Disclaimer)

Problem

You want to configure your iManager to be able to access the Internet (for those plug-ins) through a proxy (such as squid or BorderManager).

Solution

1. Open imanager\bin\iManager.bat

2. Find the line that has ":DONE_VAR" in it.

3. Add the following just above that line. Obviously, replace "yourproxyipaddress" and "yourproxyport" appropriately.

set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.proxyHost=yourproxyipaddress
set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.proxyPort=yourproxyport

4. Find the line that has "start %JAVA_EXE% -Xms256m -Xmx512m" at the start and edit it to have " %CATALINA_OPTS% " between the "%JAVA_EXE%" and the "-Xms256m". The completed line should look something like this:

start %JAVA_EXE% %CATALINA_OPTS% -Xms256m -Xmx512m -Xbootclasspath/a:%BPATH% -cp 

%CLASSPATH% -Djava.endorsed.dir=%EPATH% 

-Djava.library.path=%NATIVE_LIB_PATH%;%SWT_LIB_PATH% %DEBUG_PARAMS% %MAIN_CLASS% %1 %2 %3 

%4 %5 %6 %7 %8 %9

5. Start your iManager and you'll see that it shows NPM's to download!


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

tking's picture

Secure proxy

Submitted by tking on 10 April 2008 - 6:36am.

Also good to know:

-Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber
-Dhttp.nonProxyHosts=*.mydomain.com|*.mydomain.ca
-Dhttp.proxyUser=someUserName
-Dhttp.proxyPassword=somePassword

I do not have a socks server but understand these work also.

-DsocksProxyHost=my.socks.com
-DsocksProxyPort=1080

© 2013 Novell