[greenstone-users] Re: Problem in updating version from 2.72 to 2.83

From Diego Spano
DateSat Nov 13 03:55:35 2010
Subject [greenstone-users] Re: Problem in updating version from 2.72 to 2.83
In-Reply-To (AANLkTi=HNEmpPveJo4-i=2VuFfPMibsGryV2+tNFSD8L-mail-gmail-com)
Dear Lavji,

If you start the web server with gs2-server.bat, you will always get that
error, related to a Javaclass path bug. Try using "gsicontrol.bat". This
script allows you many things: change port number, start and stop the Apache
web server bundled with GS, etc. It accepts many parameters like:

web-start

web-stop

web-restart

configure-admin

configure-web

configure-apache

configure-cgi

set-port

test-gsdlhome

web-stop-tested

So, try the following:

1- In a command window, go to Greenstone install folder and run setup.bat.

2- Then run "gsicontrol.bat set-port". It will ask for a port number. Use

3333 (just to avoid conflicting with standard ports).

3- Now run "gsicontrol.bat web-start". It will run Apache web server.

4- In Internet Explorer write: " <http://localhost:3333>
http://localhost:3333". It has to show the message "It works" indicating
that Apache is running.

5- Write " <http://localhost:3333/greenstone/cgi-bin/library.cgi>
http://localhost:3333/greenstone/cgi-bin/library.cgi". It has to show
Greenstone main page.

Hope this helps!

Diego Spano

De: greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de Lavji
Zala
Enviado el: Jueves, 11 de Noviembre de 2010 10:06 a.m.
Para: greenstone-users@list.scms.waikato.ac.nz
CC: Nimesh Pancholi
Asunto: [greenstone-users] Re: Problem in updating version from 2.72 to 2.83

Dear All,

While updating Greenstone from 2.72 to 2.83 (windows platform) following
error found while opening gs2-server.bat file though command line.

Exception in thread "main" java.lang.NoClassDefFoundError:
org/greenstone/server

/Server2

Caused by: java.lang.ClassNotFoundException: org.greenstone.server.Server2

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Could not find the main class: org.greenstone.server.Server2. Program will
exit

I have no clue whether aforesaid error may be pertaining to Java or
greenstone?

Kindly guide me.

Kindest regards,

Lavji Zala


On Mon, Aug 16, 2010 at 1:12 PM, Lavji Zala <zala@micamail.in> wrote:

Dear Friends,

I have been using Greenstone 2.72 version (web Library) through server
(Apache). I would like to update the version from 2.72 to 2.83. I have tried
thrice (through instructions given in the document "Greenstone: Installing,
browsing, building"). But the Greenstone Server does not support to clients
computers. It supports only in localhost. I am using Windows 2000 platform.
I have made changes in httpd.conf as per installation guidelines.

We have two IP addresses in the Server. (1) 10.0.0.5 (2) 10.0.0.18

Kindly guide me.

Lavji N. Zala


--
Assistant Librarian
Knowledge Exchange & Information Centre (KEIC)
Mudra Institute of Communications, Ahmedabad (MICA)
Off Sarkhej-Sanand Highway
Shela Village
Ahmedabad - 380058
Ext: 168
Tel: +91 02717 308250
Fax: +91 02717 308349


--
Assistant Librarian
Knowledge Exchange & Information Centre (KEIC)
Mudra Institute of Communications, Ahmedabad (MICA)
Off Sarkhej-Sanand Highway
Shela Village
Ahmedabad - 380058
Ext: 168
Tel: +91 02717 308250
Fax: +91 02717 308349

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20101112/cb2cc32c/attachment.html