Hello everybody,
I'm from an italian library, looking for a simple cataloging system to support VuFind. A) I made a fresh installation a Ubuntu LAMP. Uname -a Linux freebook 3.5.0-25-generic #39~precise1-Ubuntu SMP Tue Feb 26 00:07:14 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux B) I made a fresh installation of Vufind. I followed the VuFind how-to that imply the installation of the Sun Java SDK (sudo apt-get -y install default-jdk). References: http://vufind.org/wiki/installation_ubuntu http://www.verussolutions.biz/files/NewGenLibVufind.pdf (obsolete, I think) Java -version java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) The system so far seems OK. I get "DB Error: connect failed" in the browser, of course, since no back-end is installed at this stage. C) Now I want to install NGL on the same machine. I followed the NGL how-to that imply the installation of the Oracle Java SDK (./jdk-6u43-linux-x64.bin). References: http://newgenlib.wikia.com/wiki/NewGenLib_Installation_on_Linux http://www.verussolutions.biz/kb/ubuntuInstallation (obsolete) I get in the browser: HTTP ERROR: 404 NOT_FOUND RequestURI=/newgenlibctxt Powered by jetty:// The old pdf warned about a possible port clash, but the related work-around seems out of date. My question is: can the Sun and Oracle Java SDKs coexists in the same server ? If not, can I use the Sun version for NGL ? How ? Thanks a lot. |
Hi, Since your Jetty is also running on Port 8080, kindly change Apache Tomcat's port to 7070. This can be done at NGL3/apache-tomcat-6.0.32/conf/server.xml Also if you changed this port 7070, change the following properties to port 7070 in /usr/NewGenLibFiles/SystemFiles/ENV_VAR.txt PORT SOLR_SERVER_URL_FOR_BIBLIOGRAPHIC_DATA SOLR_SERVER_URL_FOR_AUTHORITY_DATA Regards NGL Open Source Support Team On Fri, 22 Mar 2013 20:09:03 +0530, vincenzo [via NewGenLib] <[hidden email]> wrote: Hello everybody, -- Using Opera's mail client: http://www.opera.com/mail/
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
In reply to this post by vincenzo
Thanks a lot.
It was actually the port clash. |
In reply to this post by Verus Open Source Support
... After changing the port to 7070 NGL started to render the front end pages and to interact with the Carbon client.
However, after configuring VuFind for NewGenLib, VuFind won't accept NGL users at login. From the attached log, it seems that problem is still the port: SEVERE: Error initializing endpoint java.net.BindException: Address already in use <null>:7070 SEVERE: Failed to initialize connector [Connector[HTTP/1.1-7070]] LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use <null>:7070 SEVERE: Error starting endpoint java.net.BindException: Address already in use <null>:7070 SEVERE: Failed to start connector [Connector[HTTP/1.1-7070]] LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.net.BindException: Address already in use <null>:7070 However: org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-7070 1. could be a (new) port clash with coyote ? 2. could this explain the problem of Vufind not authenticating NGL users ? Thanks. catalina.2013-03-26.log |
Yes there is a port conflict again Please use port 8000 or any other free port On Wed, 27 Mar 2013 14:24:48 +0530, vincenzo [via NewGenLib] <[hidden email]> wrote: ... After changing the port to 7070 NGL started to render the front end pages and to interact with the Carbon client. -- Using Opera's mail client: http://www.opera.com/mail/
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
OK, thank you, I tried 8888 and I don't get those errors anymore.
However I still cannot login to VuFind using the NGL credentials. So I guess they are two unrelated issues. May somebody help me please ? I'm no programmer and I don't know how to troubleshoot this, other than from config and log files. |
Hi, are you able to see the availability of the item? If yes, it means that the driver is working. Also can you attach the NewGenLib.php (VuFind Driver for NGL) so that we will tweak it for users' login. The reason for tweaking is: NGL encrypts passwords using MD5. The old VuFind driver does not have this implementation On Wed, 27 Mar 2013 19:33:30 +0530, vincenzo [via NewGenLib] <[hidden email]> wrote: OK, thank you, I tried 8888 and I don't get those errors anymore. -- Using Opera's mail client: http://www.opera.com/mail/
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
I'm not sure what you mean with availability of the item.
Meanwhile I attach the indicated file, thanks. NewGenLib.php |
Please replace the old NewGenLib.php with the attached file On Thu, 28 Mar 2013 13:56:09 +0530, vincenzo [via NewGenLib] <[hidden email]> wrote: I'm not sure what you mean with availability of the item. -- Using Opera's mail client: http://www.opera.com/mail/ NewGenLib.php (33K) Download Attachment
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
I works!
I took the files from: http://sourceforge.net/projects/newgenlib/files/NewGenLib/vufind/vufindfiles.zip/download Is the new feature easily located in the code ? Maybe you could post the affected lines for future reference. Thanks again ! |
Respected Patron, We are glad it worked. We will propose the changes to VuFind personnel. So that in their future builds these changes will be incorporated in their future builds We will also update our files in the NGL binaries Regards NGL Open Source Support Team On Thu, 28 Mar 2013 14:41:59 +0530, vincenzo [via NewGenLib] <[hidden email]> wrote: I works! -- Using Opera's mail client: http://www.opera.com/mail/
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Great !
Not sure if I can continue in this topic, but I guess the following is still an integration issue with VuFind. Now I would like to add shibboleth access to VuFind. My question is: Once enabled and configured the shibboleth module, can I automatically provision the NGL users ? That is, can a new user (with no previous registration in NGL) login to VuFind via shibboleth and trigger a new user pending registration / profiling (possibly automatic, basing on the user attributes) in NGL ? I understand this would involve some configuration in VuFind as well but, NGL side, would it be possible ? (the applications run on the same server, so the web server REMOTE_USER should be visible to NGL) Any help would be much appreciated. |
Free forum by Nabble | Edit this page |