Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue
I think that did the trick — thanks! From: João Melo mailto:jm...@lyncode.com>> Date: Mon, 15 Dec 2014 16:28:16 + To: Tim Au Yeung mailto:y...@ucalgary.ca>> Cc: Alexander Wong mailto:amd...@gmail.com>>, dspace-tech mailto:dspace-tech@lists.sourceforge.net>> Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue Hi Tim, (ignore my previous reply) from what you describe seems like the problem could be related with the index phase. In terms of troubleshooting make sure: - The DSpace script is pointing to the exact same configuration file as the DSpace/OAI WebApp instance is. - The property bitstream.baseUrl property on dspace/config/modules/oai.cfg is pointing to the base url you're using. Regards, Joao On 15 December 2014 at 16:27, João Melo mailto:jm...@lyncode.com>> wrote: Hi Tim, from what you describe seems like the problem could be related with either the index phase. In terms of troubleshooting make sure: - The DSpace script is pointing to the exact same configuration file as the DSpace/OAI WebApp instance is. - Make sure the property bitstream.baseUrl property on dspace/config/modules/oai.cfg is pointing to the base url you're using. Regards, Joao On 15 December 2014 at 16:04, Tim Au Yeung mailto:y...@ucalgary.ca>> wrote: This is the confusing part on my end of things — the config file is set for the new URL. The correct URL shows up as a the permanent URL on the item page and in the e-mail sent when the item is submitted. I’ve cleaned the OAI cache and emptied and reimported the items and restarted the server several times. The only place localhost shows up in the config file is for the DB connection and mail host connection (which are correct). Tim From: Alexander Wong mailto:amd...@gmail.com>> Date: Mon, 15 Dec 2014 11:25:14 +0800 To: dspace-tech mailto:dspace-tech@lists.sourceforge.net>> Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue Dear Tim, Have you tried to look at dspace.cfg? It should be following the URL you set at dspace.cfg. Regards, Alexander Wong Systems Librarian, HK PolyU Library On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung mailto:y...@ucalgary.ca>> wrote: Hi all, We’ve been doing an upgrade and left the canonical URL as localhost while in development on our test server. We’re testing the other functions now and set the canonical URL to the machine’s IP address. Everything seems to work (DSpace sends e-mails with the correct URL and the correct persistent URL shows up in the item listing) but the bitstream URL for the OAI server continues to display localhost:8080 for the bitstream URL field. We cleared the OAI Solr index and re-imported the items as well as clearing the cache. Any suggestions on what else to try? Thanks, Tim -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net> https://lists.sourceforge.net/l
Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue
Hi Tim, from what you describe seems like the problem could be related with either the index phase. In terms of troubleshooting make sure: - The DSpace script is pointing to the exact same configuration file as the DSpace/OAI WebApp instance is. - Make sure the property bitstream.baseUrl property on dspace/config/modules/oai.cfg is pointing to the base url you're using. Regards, Joao On 15 December 2014 at 16:04, Tim Au Yeung wrote: > > This is the confusing part on my end of things — the config file is set > for the new URL. The correct URL shows up as a the permanent URL on the > item page and in the e-mail sent when the item is submitted. I’ve cleaned > the OAI cache and emptied and reimported the items and restarted the server > several times. The only place localhost shows up in the config file is for > the DB connection and mail host connection (which are correct). > > Tim > > From: Alexander Wong > Date: Mon, 15 Dec 2014 11:25:14 +0800 > To: dspace-tech > Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue > > Dear Tim, > > Have you tried to look at dspace.cfg? It should be following the URL you > set at dspace.cfg. > > Regards, > Alexander Wong > > Systems Librarian, HK PolyU Library > > On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung wrote: >> >> Hi all, >> >> We’ve been doing an upgrade and left the canonical URL as localhost >> while in development on our test server. We’re testing the other functions >> now and set the canonical URL to the machine’s IP address. Everything seems >> to work (DSpace sends e-mails with the correct URL and the correct >> persistent URL shows up in the item listing) but the bitstream URL for the >> OAI server continues to display localhost:8080 for the bitstream URL field. >> We cleared the OAI Solr index and re-imported the items as well as clearing >> the cache. Any suggestions on what else to try? >> >> Thanks, >> Tim >> >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> ___ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from > Actuate! Instantly Supercharge Your Business Reports and Dashboards with > Interactivity, Sharing, Native Excel Exports, App Integration & more Get > technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ > DSpace-tech mailing list DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue
Hi Tim, (ignore my previous reply) from what you describe seems like the problem could be related with the index phase. In terms of troubleshooting make sure: - The DSpace script is pointing to the exact same configuration file as the DSpace/OAI WebApp instance is. - The property bitstream.baseUrl property on dspace/config/modules/oai.cfg is pointing to the base url you're using. Regards, Joao On 15 December 2014 at 16:27, João Melo wrote: > > Hi Tim, > > from what you describe seems like the problem could be related with either > the index phase. In terms of troubleshooting make sure: > > - The DSpace script is pointing to the exact same configuration file as > the DSpace/OAI WebApp instance is. > - Make sure the property bitstream.baseUrl property > on dspace/config/modules/oai.cfg is pointing to the base url you're using. > > Regards, > Joao > > On 15 December 2014 at 16:04, Tim Au Yeung wrote: >> >> This is the confusing part on my end of things — the config file is set >> for the new URL. The correct URL shows up as a the permanent URL on the >> item page and in the e-mail sent when the item is submitted. I’ve cleaned >> the OAI cache and emptied and reimported the items and restarted the server >> several times. The only place localhost shows up in the config file is for >> the DB connection and mail host connection (which are correct). >> >> Tim >> >> From: Alexander Wong >> Date: Mon, 15 Dec 2014 11:25:14 +0800 >> To: dspace-tech >> Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue >> >> Dear Tim, >> >> Have you tried to look at dspace.cfg? It should be following the URL >> you set at dspace.cfg. >> >> Regards, >> Alexander Wong >> >> Systems Librarian, HK PolyU Library >> >> On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung wrote: >>> >>> Hi all, >>> >>> We’ve been doing an upgrade and left the canonical URL as localhost >>> while in development on our test server. We’re testing the other functions >>> now and set the canonical URL to the machine’s IP address. Everything seems >>> to work (DSpace sends e-mails with the correct URL and the correct >>> persistent URL shows up in the item listing) but the bitstream URL for the >>> OAI server continues to display localhost:8080 for the bitstream URL field. >>> We cleared the OAI Solr index and re-imported the items as well as clearing >>> the cache. Any suggestions on what else to try? >>> >>> Thanks, >>> Tim >>> >>> >>> -- >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>> ___ >>> DSpace-tech mailing list >>> DSpace-tech@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> List Etiquette: >>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>> >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from >> Actuate! Instantly Supercharge Your Business Reports and Dashboards with >> Interactivity, Sharing, Native Excel Exports, App Integration & more Get >> technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ >> DSpace-tech mailing list DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> >> >> -- >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.c
Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue
This is the confusing part on my end of things — the config file is set for the new URL. The correct URL shows up as a the permanent URL on the item page and in the e-mail sent when the item is submitted. I’ve cleaned the OAI cache and emptied and reimported the items and restarted the server several times. The only place localhost shows up in the config file is for the DB connection and mail host connection (which are correct). Tim From: Alexander Wong mailto:amd...@gmail.com>> Date: Mon, 15 Dec 2014 11:25:14 +0800 To: dspace-tech mailto:dspace-tech@lists.sourceforge.net>> Subject: Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue Dear Tim, Have you tried to look at dspace.cfg? It should be following the URL you set at dspace.cfg. Regards, Alexander Wong Systems Librarian, HK PolyU Library On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung mailto:y...@ucalgary.ca>> wrote: Hi all, We’ve been doing an upgrade and left the canonical URL as localhost while in development on our test server. We’re testing the other functions now and set the canonical URL to the machine’s IP address. Everything seems to work (DSpace sends e-mails with the correct URL and the correct persistent URL shows up in the item listing) but the bitstream URL for the OAI server continues to display localhost:8080 for the bitstream URL field. We cleared the OAI Solr index and re-imported the items as well as clearing the cache. Any suggestions on what else to try? Thanks, Tim -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] OAI 2.0 localhost/bitstream issue
Dear Tim, Have you tried to look at dspace.cfg? It should be following the URL you set at dspace.cfg. Regards, Alexander Wong Systems Librarian, HK PolyU Library On Fri, Dec 12, 2014 at 5:27 AM, Tim Au Yeung wrote: > > Hi all, > > We’ve been doing an upgrade and left the canonical URL as localhost > while in development on our test server. We’re testing the other functions > now and set the canonical URL to the machine’s IP address. Everything seems > to work (DSpace sends e-mails with the correct URL and the correct > persistent URL shows up in the item listing) but the bitstream URL for the > OAI server continues to display localhost:8080 for the bitstream URL field. > We cleared the OAI Solr index and re-imported the items as well as clearing > the cache. Any suggestions on what else to try? > > Thanks, > Tim > > > -- > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette