[Dspace-tech] Solr Forbidden error

2014-08-08 Thread Hardik Mishra
Hello All,

I am using Dspace 4.2 - JSPUI on Cent Os 5.5. The instance is configured to
use static IP in the dspace.url and dspace.hostname

So, When I access JSPUI it throws

org.dspace.plugin.PluginException:
org.dspace.app.webui.components.RecentSubmissionsException:
org.dspace.browse.BrowseException:
org.dspace.discovery.SearchServiceException: Server at
http://14.139.123.141:8080/solr/search returned non ok status:403,
message:Forbidden] with root cause
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://14.139.123.141:8080/solr/search returned non ok
status:403, message:Forbidden

I googled it, I got suggestion to deploy solr on the same tomcat inside
webapps which I did. But, This didn't solve the issue.

Second, I thought as its 403 http status code. So, It could be permission
issue. I have read-write permission to current user to dspace install
directory.

Any pointers ?

-- 
Thanks
Hardik Mishra
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Solr Forbidden error

2014-08-08 Thread Anja Le Blanc
Out of the box DSpace comes with solr localhost access only. Just to 
make sure nobody can just delete/modify your index via http requests.

Change solr configurations to user http://localhost:8080/solr.

Best regards,
Anja


On 08/08/2014 14:15, Hardik Mishra wrote:
> Hello All,
>
> I am using Dspace 4.2 - JSPUI on Cent Os 5.5. The instance is configured
> to use static IP in the dspace.url and dspace.hostname
>
> So, When I access JSPUI it throws
>
> org.dspace.plugin.PluginException:
> org.dspace.app.webui.components.RecentSubmissionsException:
> org.dspace.browse.BrowseException:
> org.dspace.discovery.SearchServiceException: Server at
> http://14.139.123.141:8080/solr/search returned non ok status:403,
> message:Forbidden] with root cause
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
> Server at http://14.139.123.141:8080/solr/search returned non ok
> status:403, message:Forbidden
>
> I googled it, I got suggestion to deploy solr on the same tomcat inside
> webapps which I did. But, This didn't solve the issue.
>
> Second, I thought as its 403 http status code. So, It could be
> permission issue. I have read-write permission to current user to dspace
> install directory.
>
> Any pointers ?
>
> --
> Thanks
> Hardik Mishra
>
>
>
> --
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
>
>
>
> ___
> 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
>

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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] Permission issue

2014-08-08 Thread Hardik Mishra
Hi David,
I get it when I access home page. i.e. index.jsp. When it gets recent
submission

Sent via Nexus 4
On Aug 8, 2014 6:51 PM, "Schuster, David"  wrote:

>  When do you get the error?  It may be that the information you are
> trying to access isn’t in the Dspace directory but someplace else like in
> Tomcat, and you don’t have permission to access it.  Or Tomcat doesn’t have
> rights to access it…
>
>
>
> Hello All,
>
>
>
> I am using Dspace 4.2 - JSPUI on Cent Os 5.5. The instance is configured
> to use static IP in the dspace.url and dspace.hostname
>
>
>
> So, When I access JSPUI it throws
>
>
>
> org.dspace.plugin.PluginException:
>
> org.dspace.app.webui.components.RecentSubmissionsException:
>
> org.dspace.browse.BrowseException:
>
> org.dspace.discovery.SearchServiceException: Server at
> http://14.139.123.141:8080/solr/search returned non ok status:403,
> message:Forbidden] with root cause
>
> org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
>
> Server at http://14.139.123.141:8080/solr/search returned non ok
> status:403, message:Forbidden
>
>
>
> I googled it, I got suggestion to deploy solr on the same tomcat inside
> webapps which I did. But, This didn't solve the issue.
>
>
>
> Second, I thought as its 403 http status code. So, It could be permission
> issue. I have read-write permission to current user to dspace install
> directory.
>
>
>
> Any pointers ?
>
>
>
>
>
> David Schuster
>
> Texas Woman's University
>
> Director of Library Information Technology & Technical Support
>
> Phone: 940-898-3909
>
> dschus...@twu.edu
>
>
>
> [image: Description: emailsignature]
>
>
>
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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

[Dspace-tech] Biblio-Transformation errors when importing Bibtex and RIS files

2014-08-08 Thread Roger Gillis
Hey everyone,

I'm attempting to import some exported metadata from Zotero in to Dspace
using the Biblio-Transformation-Engine via the command line. So far I've
tried importing using the RIS and the Bibtex format, with similar errors
for both.

I'm running Dspace 4.0 on Windows 2008. Here is the error that I get when
trying to run the import command:

c:\DSpace\bin>dspace import -b -m mapFile -e ad...@email.com
 -c 10587/1243 -s Ds
pace/imports/bibtex -i bibtex
Using DSpace installation in: c:\DSpace
Destination collections:
Owning  Collection: Test Collection
INFO: Dataloader will load data from the file specified in the command
prompt (a
nd not from the Spring XML configuration file)
INFO: Dataloader gr.ekt.bteio.loaders.BibTeXDataLoader@56518314 will be
used for
 the import!
Exception
gr.ekt.bte.exceptions.EmptySourceException: Input file is not open
at
gr.ekt.bteio.loaders.BibTeXDataLoader.loadFile(BibTeXDataLoader.java:
148)
at
gr.ekt.bteio.loaders.BibTeXDataLoader.getRecords(BibTeXDataLoader.jav
a:90)
at
gr.ekt.bteio.loaders.BibTeXDataLoader.getRecords(BibTeXDataLoader.jav
a:138)
at
gr.ekt.bte.core.TransformationEngine.transform(TransformationEngine.j
ava:87)
at
org.dspace.app.itemimport.ItemImport.addBTEItems(ItemImport.java:712)

at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:579)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.j
ava:225)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Adding items from directory: C:\DSpace\imports\20140808_1153_gBUDZqML
Generating mapfile: mapFile
Error, cannot open source directory C:\DSpace\imports\20140808_1153_gBUDZqML


Would anybody have an idea what might be going wrong here?

At first glance I thought it might be a permissions issue, but I tried it
with administrative privileges and it seems to make no difference.

Furthermore, if anybody has had any success in exporting Zotero and
importing into Dspace and would be willing to share, that would be
wonderful.

Thank you!


Roger Gillis
Archives & Scholarly Communication Librarian
Mount Saint Vincent University
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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

[Dspace-tech] Fwd: disable the option to save

2014-08-08 Thread Nisreen Qabbani
-- Forwarded message --
From: Nisreen Qabbani 
Date: Wed, Aug 6, 2014 at 11:34 AM
Subject: disable the option to save
To: "dspace-gene...@lists.sourceforge.net" <
dspace-gene...@lists.sourceforge.net>


Hello

I want to ask about how to disable the option to save the system and
limiting it to open

Thank you very much
Nisreen
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Solr Forbidden error

2014-08-08 Thread Hardik Mishra
Hi Anja,
Will you please elaborate ?
I have set access rights to read write in solr Dir. And also deployed in
the webapp instead of context entry

Thanks
Hardik Mishra
-- Forwarded message --
From: Anja Le Blanc 
To: dspace-tech@lists.sourceforge.net
Cc:
Date: Fri, 08 Aug 2014 14:29:21 +0100
Subject: Re: [Dspace-tech] Solr Forbidden error
Out of the box DSpace comes with solr localhost access only. Just to make
sure nobody can just delete/modify your index via http requests.

Change solr configurations to userhttp ://
localhost :8080/
solr .

Best regards,
Anja

Sent via Nexus 4

te
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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

[Dspace-tech] Upgrade 4.1 to 4.2

2014-08-08 Thread Ed Goulet
Hi All,

I just recently upgraded 4.1 to 4.2, built from source, hoping to take 
advantage of the bug fix:

Fixed occasional "Out of Memory" errors when indexing large 
bitstreams/files in Discovery (DS-1958)

But when I now login as admin, go to Control Panel -> DSpace 
Configuration ... DSpace Version still says "4.1"

I used the following when building / installing from 4.2 source:

mvn -U clean package
ant update

Then copied webapps over to Jetty server area, restart the service, etc

Any ideas why I'm still seeing 4.1 as version? Anyone else done this 
upgrade?

thx,

Ed


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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


[Dspace-tech] Solved: Upgrade 4.1 to 4.2

2014-08-08 Thread Ed Goulet
Figured it out ... I still had some old 4.1 jars in my webapps 
directory, so they were used instead of the 4.2 jars

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
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