From jonesa at newschool.edu Wed Jun 2 11:54:29 2010 From: jonesa at newschool.edu (Allen Jones) Date: Wed, 02 Jun 2010 11:54:29 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu>, <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> Message-ID: <4C064674.5D0E.0030.0@newschool.edu> I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? Thanks, Allen Allen Jones Digital Library Programs - Director New School University Library phone- 212-229-5309 x4502 fax - 212-675-7361 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Allen Jones.vcf URL: From rochkind at jhu.edu Wed Jun 2 12:22:40 2010 From: rochkind at jhu.edu (Jonathan Rochkind) Date: Wed, 02 Jun 2010 12:22:40 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <4C064674.5D0E.0030.0@newschool.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu> <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> <4C064674.5D0E.0030.0@newschool.edu> Message-ID: <4C068550.20600@jhu.edu> 1. You need to configure the ISI and JCR services in services.yml and institutions.yml. For instance: config/umlaut_config/services.yml: IsiCitations: type: Isi priority: c Jcr: type: Jcr priority: c [ I am using a registration with ISI by IP address, so I need no username/password or API key. Assuming that's what your registration is, should be similar]. config/umlaut_config/institutions.yml Not sure what institutions you have in there, but you might only have one called 'global'? If so, make sure "IsiCitations" and "Jcr" are listed under it. If you've got that setup, then they _should_ just show up -- for records that have sufficient metadata for a lookup. Let me know if you've gotten that far, and they are not showing up. Jonathan Allen Jones wrote: > I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? > > Thanks, > > Allen > > > > Allen Jones > Digital Library Programs - Director > New School University Library > phone- 212-229-5309 x4502 > fax - 212-675-7361 > > From jonesa at newschool.edu Thu Jun 3 16:01:06 2010 From: jonesa at newschool.edu (Allen Jones) Date: Thu, 03 Jun 2010 16:01:06 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <4C068550.20600@jhu.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu> <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> <4C064674.5D0E.0030.0@newschool.edu> <4C068550.20600@jhu.edu> Message-ID: <4C07D1AE.5D0E.0030.0@newschool.edu> Jonathan, I had completed what you had outlined thus far. I get the following log event when trying to connect to jcr: [03 Jun 15:58:36] (pid:19155) ERROR: Threaded service raised exception. Service: Jcr, Connection refused - connect(2), /usr/local/lib/ruby/1.8/net/http.rb:560:in `initialize' not sure what URL it is trying to build. TR assures me that access has been granted to this IP Address. A >>> From: Jonathan Rochkind To: "umlaut-general at rubyforge.org" Date: 6/2/2010 1:26 PM Subject: Re: [Umlaut-general] JCR and ISI . You need to configure the ISI and JCR services in services.yml and institutions.yml. For instance: config/umlaut_config/services.yml: IsiCitations: type: Isi priority: c Jcr: type: Jcr priority: c [ I am using a registration with ISI by IP address, so I need no username/password or API key. Assuming that's what your registration is, should be similar]. config/umlaut_config/institutions.yml Not sure what institutions you have in there, but you might only have one called 'global'? If so, make sure "IsiCitations" and "Jcr" are listed under it. If you've got that setup, then they _should_ just show up -- for records that have sufficient metadata for a lookup. Let me know if you've gotten that far, and they are not showing up. Jonathan Allen Jones wrote: > I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? > > Thanks, > > Allen > > > > Allen Jones > Digital Library Programs - Director > New School University Library > phone- 212-229-5309 x4502 > fax - 212-675-7361 > > _______________________________________________ Umlaut-general mailing list Umlaut-general at rubyforge.org http://rubyforge.org/mailman/listinfo/umlaut-general From rochkind at jhu.edu Thu Jun 3 16:31:44 2010 From: rochkind at jhu.edu (Jonathan Rochkind) Date: Thu, 03 Jun 2010 16:31:44 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <4C07D1AE.5D0E.0030.0@newschool.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu> <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> <4C064674.5D0E.0030.0@newschool.edu> <4C068550.20600@jhu.edu> <4C07D1AE.5D0E.0030.0@newschool.edu> Message-ID: <4C081130.60807@jhu.edu> Sounds like it's not really granting you access, huh? That's what it sounds like to me, like TR is mistaken somehow. It's not just sending a GET URI, it's sending a POST URI with an XML body (this is what is required by the jcr uri), so it's hard to give you a little easily runnable test case to prove to TR that you don't have access yet. Hmm, let me think. Bah, I spent a while trying to come up with a simple test case for you to run something on the command line with curl that would demonstrate whether you have access or not, but could not get it to work. I suspect TR has not really given you access. I would suggest opening a support incident with them where you say you don't think you have access, and would like them to give you a simple way to confirm whether or not you have access for real. I can look up how to file a TR support incident if you don't have it handy, they've been relatively responsive for me. I can keep trying to come up with a nice little test case for you to prove to them you don't have access, but haven't managed to make it work yet. Jonathan Allen Jones wrote: > Jonathan, > > I had completed what you had outlined thus far. I get the following log event when trying to connect to jcr: > > [03 Jun 15:58:36] (pid:19155) ERROR: Threaded service raised exception. Service: Jcr, Connection refused - connect(2), /usr/local/lib/ruby/1.8/net/http.rb:560:in `initialize' > > not sure what URL it is trying to build. TR assures me that access has been granted to this IP Address. > > A > > > From: Jonathan Rochkind > To: "umlaut-general at rubyforge.org" > Date: 6/2/2010 1:26 PM > Subject: Re: [Umlaut-general] JCR and ISI > > . You need to configure the ISI and JCR services in services.yml and > institutions.yml. For instance: > > config/umlaut_config/services.yml: > > IsiCitations: > type: Isi > priority: c > > Jcr: > type: Jcr > priority: c > > [ I am using a registration with ISI by IP address, so I need no > username/password or API key. Assuming that's what your registration > is, should be similar]. > > config/umlaut_config/institutions.yml > > Not sure what institutions you have in there, but you might only have > one called 'global'? If so, make sure "IsiCitations" and "Jcr" are > listed under it. > > If you've got that setup, then they _should_ just show up -- for records > that have sufficient metadata for a lookup. Let me know if you've gotten > that far, and they are not showing up. > > Jonathan > > Allen Jones wrote: > >> I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? >> >> Thanks, >> >> Allen >> >> >> >> Allen Jones >> Digital Library Programs - Director >> New School University Library >> phone- 212-229-5309 x4502 >> fax - 212-675-7361 >> >> >> > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > From jonesa at newschool.edu Thu Jun 3 17:34:32 2010 From: jonesa at newschool.edu (Allen Jones) Date: Thu, 03 Jun 2010 17:34:32 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <4C081661.8000507@jhu.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu> <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> <4C064674.5D0E.0030.0@newschool.edu> <4C068550.20600@jhu.edu> <4C07D1AE.5D0E.0030.0@newschool.edu> <4C081661.8000507@jhu.edu> Message-ID: <4C07E794.5D0E.0030.0@newschool.edu> Jonathan, I'm checking something on our end. Curl is installed. that statement revealed what I thought - https is blocked on the firewall that extends our DMZ. Just did a wget https://www.citibank.com and the connection was refused as well. This sounds like zealous network services people trying to keep the librarians down - LOL. I'll let you know what I find out. A >>> From: Jonathan Rochkind To: "umlaut-general at rubyforge.org" , Allen Jones Date: 6/3/2010 4:53 PM Subject: Re: [Umlaut-general] JCR and ISI Okay! Here's a test case for you. You need 'curl' installed on the server that you have Umlaut on. Take the file attached to this message, jcr_request.xml, and save it somewhere on that server. (It is important you do this all from the same server Umlaut is on, since ISI authenticates via IP). Shell into that server, cd into the directory you have jcr_request.xml, and run this: curl -k --request POST -H "Content-type: application/xml;charset=utf-8" --data-binary @jcr_request.xml https://ws.isiknowledge.com/cps/xrpc You should get an XML response from ISI that looks something like what's below. If instead you get an error message or an error http status code -- then ISI has not actually granted you access, or there's otherwise something wrong with ISI's service for you. I'm afraid that ISI's service not infrequently misbehaves. The response should look something like this: Allen Jones wrote: > Jonathan, > > I had completed what you had outlined thus far. I get the following log event when trying to connect to jcr: > > [03 Jun 15:58:36] (pid:19155) ERROR: Threaded service raised exception. Service: Jcr, Connection refused - connect(2), /usr/local/lib/ruby/1.8/net/http.rb:560:in `initialize' > > not sure what URL it is trying to build. TR assures me that access has been granted to this IP Address. > > A > > > From: Jonathan Rochkind > To: "umlaut-general at rubyforge.org" > Date: 6/2/2010 1:26 PM > Subject: Re: [Umlaut-general] JCR and ISI > > . You need to configure the ISI and JCR services in services.yml and > institutions.yml. For instance: > > config/umlaut_config/services.yml: > > IsiCitations: > type: Isi > priority: c > > Jcr: > type: Jcr > priority: c > > [ I am using a registration with ISI by IP address, so I need no > username/password or API key. Assuming that's what your registration > is, should be similar]. > > config/umlaut_config/institutions.yml > > Not sure what institutions you have in there, but you might only have > one called 'global'? If so, make sure "IsiCitations" and "Jcr" are > listed under it. > > If you've got that setup, then they _should_ just show up -- for records > that have sufficient metadata for a lookup. Let me know if you've gotten > that far, and they are not showing up. > > Jonathan > > Allen Jones wrote: > >> I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? >> >> Thanks, >> >> Allen >> >> >> >> Allen Jones >> Digital Library Programs - Director >> New School University Library >> phone- 212-229-5309 x4502 >> fax - 212-675-7361 >> >> >> > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > From rochkind at jhu.edu Thu Jun 3 16:53:53 2010 From: rochkind at jhu.edu (Jonathan Rochkind) Date: Thu, 03 Jun 2010 16:53:53 -0400 Subject: [Umlaut-general] JCR and ISI In-Reply-To: <4C07D1AE.5D0E.0030.0@newschool.edu> References: <90FF863A96E1EC42B8B240D04C88FB1D12F07AF52E@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D12F07AF530@JHEMTEXVS2.win.ad.jhu.edu> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD89@JHEMTEXVS2.win.ad.jhu.edu> <23b83f161002100955n74ad6309s74f647c700483d4d@mail.gmail.com> <90FF863A96E1EC42B8B240D04C88FB1D13006CAD8A@JHEMTEXVS2.win.ad.jhu.edu> <4C064674.5D0E.0030.0@newschool.edu> <4C068550.20600@jhu.edu> <4C07D1AE.5D0E.0030.0@newschool.edu> Message-ID: <4C081661.8000507@jhu.edu> Okay! Here's a test case for you. You need 'curl' installed on the server that you have Umlaut on. Take the file attached to this message, jcr_request.xml, and save it somewhere on that server. (It is important you do this all from the same server Umlaut is on, since ISI authenticates via IP). Shell into that server, cd into the directory you have jcr_request.xml, and run this: curl -k --request POST -H "Content-type: application/xml;charset=utf-8" --data-binary @jcr_request.xml https://ws.isiknowledge.com/cps/xrpc You should get an XML response from ISI that looks something like what's below. If instead you get an error message or an error http status code -- then ISI has not actually granted you access, or there's otherwise something wrong with ISI's service for you. I'm afraid that ISI's service not infrequently misbehaves. The response should look something like this: Allen Jones wrote: > Jonathan, > > I had completed what you had outlined thus far. I get the following log event when trying to connect to jcr: > > [03 Jun 15:58:36] (pid:19155) ERROR: Threaded service raised exception. Service: Jcr, Connection refused - connect(2), /usr/local/lib/ruby/1.8/net/http.rb:560:in `initialize' > > not sure what URL it is trying to build. TR assures me that access has been granted to this IP Address. > > A > > > From: Jonathan Rochkind > To: "umlaut-general at rubyforge.org" > Date: 6/2/2010 1:26 PM > Subject: Re: [Umlaut-general] JCR and ISI > > . You need to configure the ISI and JCR services in services.yml and > institutions.yml. For instance: > > config/umlaut_config/services.yml: > > IsiCitations: > type: Isi > priority: c > > Jcr: > type: Jcr > priority: c > > [ I am using a registration with ISI by IP address, so I need no > username/password or API key. Assuming that's what your registration > is, should be similar]. > > config/umlaut_config/institutions.yml > > Not sure what institutions you have in there, but you might only have > one called 'global'? If so, make sure "IsiCitations" and "Jcr" are > listed under it. > > If you've got that setup, then they _should_ just show up -- for records > that have sufficient metadata for a lookup. Let me know if you've gotten > that far, and they are not showing up. > > Jonathan > > Allen Jones wrote: > >> I have confirmed with ISI that our umlaut server is registered with their linking service for umlaut to query. I was wondering what the next steps might be in trying to generate JCR and ISI citation results. Are there any required sfx services that should be turned on (ie DOI) on the sfx side? Where in the production.log might I see errors that these services cannot properly complete? >> >> Thanks, >> >> Allen >> >> >> >> Allen Jones >> Digital Library Programs - Director >> New School University Library >> phone- 212-229-5309 x4502 >> fax - 212-675-7361 >> >> >> > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > > _______________________________________________ > Umlaut-general mailing list > Umlaut-general at rubyforge.org > http://rubyforge.org/mailman/listinfo/umlaut-general > -------------- next part -------------- A non-text attachment was scrubbed... Name: jcr_request.xml Type: text/xml Size: 450 bytes Desc: not available URL: From Graham.Seaman at rhul.ac.uk Wed Jun 30 11:04:54 2010 From: Graham.Seaman at rhul.ac.uk (Seaman, Graham) Date: Wed, 30 Jun 2010 16:04:54 +0100 Subject: [Umlaut-general] installation problems continued... Message-ID: <570A1E8C2E229F4B96A70E0102786040047D85A8@exch-db-05.cc.rhul.local> Hi, After a 3 month delay I finally got back to installing Umlaut. I'm running on Centos, and have restarted my install with the version of umlaut from trunk. The initial setup/database load seems to have gone ok, and I can start umlaut up (but am having to use ./script/server -p8080 as port 3000 is firewalled). I've got institution.yml set up to use SFX only. The inital umlaut page appears, and I can successfully carry out a search on a journal title; the results look fine. But if I click on any of the journal titles or the corresponding sfx links in the results page, I get an exception thrown. My rails debugging skills are nil, and I'm a bit drowned in all the diagnostic/logging info that comes back, with the result that I'm not sure if I now have a code problem, a connection problem, or a configuration problem. As far as I can tell the context object values in the link seem sensible, and if I strip off the parameters (ie. everything following http://localhost:8080/resolv?) in the link, and feed them direct to sfx I get back the full xml ctx_obj_set. Tailing the SFX apache error log tells me that String.pm is complaining about an uninitialized value in a string comparison but nothing else - and these warnings come up on a lot of working searches anyway. The error reported on the umlaut web page seems to be an error in the error reporting, rather than the underlying problem: I'm getting NoMethodError in Resolve#index from 'resolve/_service_errors.rhtml at line 12, where the problem seems to be that dispatch.service.service_types_generated is a nil object. Any suggestions as to what to look at next? Thanks Graham -------------- next part -------------- An HTML attachment was scrubbed... URL: From rochkind at jhu.edu Wed Jun 30 11:17:16 2010 From: rochkind at jhu.edu (Jonathan Rochkind) Date: Wed, 30 Jun 2010 11:17:16 -0400 Subject: [Umlaut-general] installation problems continued... In-Reply-To: <570A1E8C2E229F4B96A70E0102786040047D85A8@exch-db-05.cc.rhul.local> References: <570A1E8C2E229F4B96A70E0102786040047D85A8@exch-db-05.cc.rhul.local> Message-ID: <4C2B5FFC.3010601@jhu.edu> Hmm, this is weird. I don't entirely understand it, not really enough info in your report for me to have an idea I'm afraid. Any way you could give me login to your machine, and I can try to figure it out for you? Otherwise, can you start up Umlaut, trigger the error, and then send me the entire Umlaut log file? Sorry it's not working as well as it should, apparently. I have no idea what's up with that "String.pm" thing. That's a perl file, there's no Perl in Umlaut, not sure where that's coming from. Oh wait, that's you looking at SFX error logs. That's probably not neccesary. Oh wait, maybe it is, I see from your description that maybe it is Umlaut somehow not dealing with SFX properly. Or not. I'm not sure I completely understand even what you're reporting I'm afraid. You could also send me a screen-cast of what you're doing to encounter the error, maybe? Just brainstorming for ways to send me more info without giving me access to your server. What version of SFX are you running? Jonathan Seaman, Graham wrote: > Hi, > > After a 3 month delay I finally got back to installing Umlaut. I'm running on Centos, and have restarted my install with the version of umlaut from trunk. The initial setup/database load seems to have gone ok, and I can start umlaut up (but am having to use ./script/server -p8080 as port 3000 is firewalled). > > I've got institution.yml set up to use SFX only. The inital umlaut page appears, and I can successfully carry out a search on a journal title; the results look fine. But if I click on any of the journal titles or the corresponding sfx links in the results page, I get an exception thrown. My rails debugging skills are nil, and I'm a bit drowned in all the diagnostic/logging info that comes back, with the result that I'm not sure if I now have a code problem, a connection problem, or a configuration problem. As far as I can tell the context object values in the link seem sensible, and if I strip off the parameters (ie. everything following http://localhost:8080/resolv?) in the link, and feed them direct to sfx I get back the full xml ctx_obj_set. Tailing the SFX apache error log tells me that String.pm is complaining about an uninitialized value in a string comparison but nothing else - and these warnings come up on a lot of working searches anyway. > > > The error reported on the umlaut web page seems to be an error in the error reporting, rather than the underlying problem: I'm getting NoMethodError in Resolve#index from 'resolve/_service_errors.rhtml at line 12, where the problem seems to be that dispatch.service.service_types_generated is a nil object. > > > > Any suggestions as to what to look at next? > > > > Thanks > > > > Graham > > > > > > > > >