Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper installer without network connectivity

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper installer without network connectivity


Chronological Thread 
  • From: Shannon Roddy <>
  • To: "" <>
  • Subject: [grouper-users] Grouper installer without network connectivity
  • Date: Tue, 15 Sep 2015 12:49:51 -0400

Hello,

According to the grouper wiki one can install grouper using local copies
of the install files if the target machine does not have networking, or
as in our case, is on a RFC1918 address space which is not NAT'd or
routable to the public Internet.

Running without network
The Grouper installer requires the internet to download the Grouper
tarballs. If you want to run this without the network, download all the
tarballs (example links for 2.0.2) (apiBinary, ui, ws, client) and the
subjects file (into subjects.sql), and quickstart file (into
quickstart.xml), ant, tomcat to the install directory. When the script
asks if you want to use the local files, type: t (or just <Enter> since
the default is t)


We have downloaded all of the files as documented above, but the
installer never prompts for local files to be used. See below:

# ls -1
grouper.api-2.2.1.tar.gz
grouper.apiBinary-2.2.1.tar.gz
grouper.client-2.2.1.tar.gz
grouper.clientBinary-2.2.1.tar.gz
grouper.installer-2.2.1
grouper.installer-2.2.1.tar.gz
grouper.installer-2.2.1.tar.gz.20141115
grouperInstaller.jar
grouperInstaller.jar.20141115
grouper.psp-2.2.1.tar.gz
grouper.ui-2.2.1.tar.gz
grouper.ws-2.2.1.tar.gz
index.html
patches
patches.1
quickstart.xml
subjects.sql

# java -jar grouperInstaller.jar
Do you want to 'install' a new installation of grouper, 'upgrade' an
existing installation,
'patch' an existing installation, or 'createPatch' for Grouper developers
(enter: 'install', 'upgrade', 'patch', 'createPatch' or blank for the
default) [install]:
Enter in the Grouper install directory (note: better if no spaces or
special chars) [/usr/local/src/grouper]: /opt/local
Enter the default IP address for checking ports (just hit enter to
accept the default unless on a machine with no network, might want to
change to 127.0.0.1): [0.0.0.0]:
Installing grouper version: 2.2.1
............Sep 15, 2015 12:41:02 PM
edu.internet2.middleware.grouperInstallerExt.org.apache.commons.httpclient.HttpMethodDirector
executeMethod
INFO: I/O exception (java.net.ConnectException) caught when processing
request: Connection timed out
Sep 15, 2015 12:41:02 PM
edu.internet2.middleware.grouperInstallerExt.org.apache.commons.httpclient.HttpMethodDirector
executeMethod
INFO: Retrying request

Alternatively to installing from local files, we do have an HTTP proxy
set up for the host, and are able to do things like wget, curl, etc. if
someone knows how to get the installer to pick up the proxy value.
e.g., this also fails:

# export JAVA_FLAGS="-Dhttp.proxyHost=xxxx.psu.edu -Dhttp.proxyPort=3128"
# java ${JAVA_FLAGS} -jar grouperInstaller.jar

Thank you,
Shannon Roddy



Archive powered by MHonArc 2.6.16.

Top of Page