NewGenLib Desktop Installation

Note: NewGenLib Desktop directly connects to postgres database. Hence it is very necessary to mention to the postgres database about the clients systems' information. If you are launching the NewGenLib Desktop from clients, you need to make a note of the following steps

  1. Make a note of the IP address of the client on which you are planning to install the NewGenLib desktop.

  2. Open pg_hba.conf file using your favourite editor. In Windows you can open it using the following procedure, click on Start -> Programs -> Postgresql 8.0 -> Configuration files -> pg_hba.conf. In linux (in fedora) you may find it in /var/lib/pgsql/data directory

  3. In pg_hba.conf you can see a section “IPv4 local connections”, under this section add this value host <tab space> all <tab space> all <tab space> {ipaddress of the client}/32 <tab space> trust.

  4. In step 3, <tab space> means give a tab space and {ipaddress of the client} means ip address of the client that you made a note in step 1.

  5. Open postgresql.conf file using your favourite editor. In Windows you can open it using the following procedure, click on Start -> Programs -> Postgresql 8.0 -> Configuration files -> postgresql.conf. In linux (in fedora) you may find it in /var/lib/pgsql/data directory

  6. Under the section Connection Settings, you will find a property named “listen_addresses” (without the double quotes). Its value must be '*' (please note that the astrix must be closed with 2 single quotes as shown. Also if the line in which “listen_addresses” (without the double quotes) is starting with a # (hash) , please remove the hash. There fore that line must look like this listen_addresses = '*'

  7. Under the section Connection Settings, you will find a property named “port” (without the double quotes). Its value must be 5432. Also if the line in which “port” (without the double quotes) is starting with a # (hash) , please remove the hash. There fore that line must look like this port = 5432

  8. Now restart the postgresql service.

  9. Please note that erroneous entries in pg_hba.conf or postgresql.conf may result in failure of postgresql server. Therefore please refer to postgres documentation carefully (http://www.postgresql.org/docs/8.0/static/auth-methods.html#EXAMPLE-PG-IDENT.CONF ) before making any changes

  10. If you want to install NewGenLib on multiple clients, make multiple entries of the clients' ip addresses in pg_hba.conf as mentioned in step 3

Now install NewGenLib Desktop on the client.

  1. Download desktop.war.zip file from NewGenLib downloadable files in sourceforge.net

  2. On the server extract the contents of this zip file into jboss-3.2.1_tomcat-4.1.24/server/default/deploy directory. After extraction you must see a directory named desktop.war in the deploy directory

  3. Start the Jboss Server

  4. In the Client machines, to launch the NewGenLib Desktop application please use this URL http://<server ip address>:8080/desktop/Launch

  5. You may launch desktop from any library client