[Dspace-tech] Customize default browsing list

2015-04-30 Thread ribin . jones
Hi,

I am running Dspace 5.1 in Ubuntu 14.04. I want to customize the default 
browsing list. I understand that I need to edit Messages.properties file for 
this. But I don't see any such file in my dspace server. Am I missing something 
here? Please guide...

Thanks,

Ribin Jones S.B 




--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] Customize default browsing list

2015-04-30 Thread ribin . jones
Hi,

I was referring to jspui. Is there any guide for jspui customization of browse 
index?

Ribin Jones S.B 

- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 30 April, 2015 3:50:49 PM
Subject: Re: [Dspace-tech] Customize default browsing list

Hi Ribin

I assume you are referring to the JSPUI.
The link below details setup using the XMLUI.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X
Perhaps it will help.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 30 April 2015 at 11:46, ribin.jo...@niist.res.in wrote:

 Hi,

 I am running Dspace 5.1 in Ubuntu 14.04. I want to customize the default
 browsing list. I understand that I need to edit Messages.properties file
 for this. But I don't see any such file in my dspace server. Am I missing
 something here? Please guide...

 Thanks,

 Ribin Jones S.B





 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] Internal system error while trying to submit with a new field

2015-04-28 Thread ribin . jones
Thanks Christian. It worked !!!

Ribin Jones S.B 



- Original Message -
From: Christian Scheible christian.schei...@uni-konstanz.de
To: dspace-tech@lists.sourceforge.net
Sent: Tuesday, 28 April, 2015 11:22:39 AM
Subject: Re: [Dspace-tech] Internal system error while trying to submit with a 
new field

Hi,

You have to add it to your database first.
For xmlui it is like this:
https://wiki.duraspace.org/display/DSPACE/Add+a+new+metadata+field


Am 28.04.2015 um 06:54 schrieb ribin.jo...@niist.res.in:
 Hi,

 I am running Dspace 5.1 in ubuntu 14.04. I got the installation successful. 
 Now, I wanted to add some more fields during an item submission process. I 
 added suitable entries in input-forms.xml and still I get Internal system 
 error while entering the data to the newly added field and try to submit the 
 item. Below is the logs:

 2015-04-28 10:37:12,324 INFO  org.dspace.content.Item @ 
 ribin.jo...@niist.res.in:session_id=7D19CE9842326C825D77DB3FD08DFE06:ip_addr=10.10.50.201:update_item:item_id=37
 2015-04-28 10:37:12,415 INFO  org.dspace.content.MetadataSchema @ Loading 
 schema cache for fast finds
 2015-04-28 10:37:12,434 WARN  org.dspace.content.DSpaceObject @ Invalid 
 metadata field: [dc.objective] : [jj]
 2015-04-28 10:37:12,436 ERROR 
 org.dspace.app.webui.servlet.SubmissionController @ Error loading step 
 class'org.dspace.submit.step.DescribeStep':
 java.sql.SQLException: Invalid metadata field: [dc.objective]
  at 
 org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
  at org.dspace.content.Item.update(Item.java:1100)
  at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:517)
  at 
 org.dspace.submit.step.DescribeStep.doProcessing(DescribeStep.java:341)
  at 
 org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401)
  at 
 org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252)
  at 
 org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:491)
  at 
 org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:427)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
  at 
 org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
  at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
  at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
  at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
  at 
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  at java.lang.Thread.run(Thread.java:745)

 Objecteive is the newly added field in the item submission form.

 Seems I am missing something here...Can someone help guide me for adding a 
 nee entry in the submit form?

 Thanks,

 Ribin Jones S.B

 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 DSpace-tech mailing list
 DSpace-tech

[Dspace-tech] Internal system error while trying to submit with a new field

2015-04-27 Thread ribin . jones
Hi,

I am running Dspace 5.1 in ubuntu 14.04. I got the installation successful. 
Now, I wanted to add some more fields during an item submission process. I 
added suitable entries in input-forms.xml and still I get Internal system 
error while entering the data to the newly added field and try to submit the 
item. Below is the logs:

2015-04-28 10:37:12,324 INFO  org.dspace.content.Item @ 
ribin.jo...@niist.res.in:session_id=7D19CE9842326C825D77DB3FD08DFE06:ip_addr=10.10.50.201:update_item:item_id=37
2015-04-28 10:37:12,415 INFO  org.dspace.content.MetadataSchema @ Loading 
schema cache for fast finds
2015-04-28 10:37:12,434 WARN  org.dspace.content.DSpaceObject @ Invalid 
metadata field: [dc.objective] : [jj]
2015-04-28 10:37:12,436 ERROR org.dspace.app.webui.servlet.SubmissionController 
@ Error loading step class'org.dspace.submit.step.DescribeStep':
java.sql.SQLException: Invalid metadata field: [dc.objective]
at org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
at org.dspace.content.Item.update(Item.java:1100)
at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:517)
at 
org.dspace.submit.step.DescribeStep.doProcessing(DescribeStep.java:341)
at 
org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401)
at 
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252)
at 
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:491)
at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:427)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)

Objecteive is the newly added field in the item submission form. 

Seems I am missing something here...Can someone help guide me for adding a nee 
entry in the submit form?

Thanks,

Ribin Jones S.B 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] New user registration reg.

2014-12-03 Thread ribin . jones
I'm using XML

Ribin Jones S.B 




- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 3 December, 2014 2:40:08 PM
Subject: Re: [Dspace-tech] New user registration reg.

XMLUI or JSPUI?


Regards,
~~helix84

Compulsory reading: DSpace Mailing 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=164703151iu=/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


[Dspace-tech] New user registration reg.

2014-12-02 Thread ribin . jones
Hi all,

I have dspace 4 up and running in Linux 14.04 LTS. I need some customizations 
to be done.

I need to collect more information from a person who is registering in dspace. 
Right now, we just have First Name, Last Name and Contact Telephone. I need to 
have more fields and also make it mandatory to fill in. Which is the file I 
should edit for this? 

Thanks in advance,

Ribin Jones S.B 


--
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=164703151iu=/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] Request copy in dspace 4

2014-01-22 Thread ribin . jones
Well, I have IP authentication for all the collections.

I still wonder how that request a copy button is seen for some collections by 
default and not all. Any help from the code developers, please?

Regards,

Ribin Jones 


- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 22 January, 2014 5:38:57 PM
Subject: Re: [Dspace-tech] Request copy in dspace 4

Hi Ribin

I may be wrong, but I think the appearance of the button is only triggered
when an item is deemed to be restricted.
What is restricted? Well... you would have to check the code.

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 22 January 2014 13:44, ribin.jo...@niist.res.in wrote:

 Hi tech team,

 We are trying to migrate from dspace 3.2 to 4 running in Ubuntu using
 JSPUI. We have around 8 collections and I see the Request a copy button
 for items in only 2 of my collections and it came by default when I
 installed and restored my old dspace. Request a copy button is missing in
 items of my remaining 6 odd collections. How can I enable this feature for
 all of my dspace collections/items?

 Regards,

 Ribin Jones



 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.

 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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


--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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] Collection empty even after restore - dspace 4

2014-01-06 Thread ribin . jones
I get the below error while running update-discovery-index:

root@ubuntu:/home/dspace# /home/dspace/bin/dspace update-discovery-index
Command not found: update-discovery-index
Usage: dspace [command-name] {parameters}
 - checker: Run the checksum checker
 - checker-emailer: Send emails related to the checksum checker
 - classpath: Calculate and display the DSpace classpath
 - cleanup: Remove deleted bitstreams from the assetstore
 - community-filiator: Tool to manage community and sub-community relationships
 - create-administrator: Create a DSpace administrator account
 - curate: Perform curation tasks on DSpace objects
 - dsprop: View a DSpace property from dspace.cfg
 - dsrun: Run a class directly
 - embargo-lifter: Embargo manager tool used to check, list and lift embargoes
 - export: Export items or collections
 - filter-media: Perform the media filtering to extract full text from 
documents and to create thumbnails
 - generate-sitemaps: Generate search engine and html sitemaps
 - harvest: Manage the OAI-PMH harvesting of external collections
 - import: Import items into DSpace
 - index-db-browse: General browse index command (requires extra parameters)
 - index-discovery: Update Discovery Solr Search Index
 - index-lucene-init: Initialise the Lucene search and browse indexes
 - index-lucene-update: Update the Lucene search and browse indexes
 - itemcounter: Update the item strength counts in the user interface
 - itemupdate: Item update tool for altering metadata and bitstream content in 
items
 - make-handle-config: Run the handle server simple setup command
 - metadata-export: Export metadata for batch editing
 - metadata-import: Import metadata after batch editing
 - doi-organiser: Run the DOI organiser
 - packager: Execute a packager
 - registry-loader: Load entries into a registry
 - read: Execute a stream of 'dspace' commands from a file or pipe
 - stat-general: Compile the general statistics
 - stat-initial: Compile the initial statistics
 - stat-monthly: Compile the monthly statistics
 - stat-report-general: Create the general statistics report
 - stat-report-initial: Create the initial statistics report
 - stat-report-monthly: Create the monthly statistics report
 - stats-log-converter: Convert dspace.log files ready for import into solr 
statistics
 - stats-log-importer: Import previously converted log files into solr 
statistics
 - stats-log-importer-elasticsearch: Import solr-format converted log files 
into Elastic Search statistics
 - stats-util: Statistics Client for Maintenance of Solr Statistics Indexes
 - structure-builder: Build DSpace community and collection structure
 - sub-daily: Send daily subscription notices
 - test-database: Test the DSpace database connection is OK
 - setup-database: Create the database tables
 - clean-database: Remove the database tables
 - test-email: Test the DSpace email server settings are OK
 - update-handle-prefix: Update handle records and metadata when moving from 
one handle to another
 - user: Manipulate a normal user account
 - migrate-embargo: Embargo manager tool used to migrate old version of Embargo 
to the new one included in dspace3
 - oai: OAI script manager
 - version: Display the version of DSpace and other troubleshooting information


Ribin Jones S.B 



- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Monday, 6 January, 2014 8:39:20 PM
Subject: Re: [Dspace-tech] Collection empty even after restore - dspace 4

DSpace 4 has Discovery enabled by default. Discovery uses a different
indexing command - update-discovery-index, see documentation. Did you
run this command?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] Collection empty even after restore - dspace 4

2014-01-06 Thread ribin . jones
That worked...Thanks hg :)

Ribin Jones S.B 


- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: Ivan Masár heli...@centrum.sk, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Tuesday, 7 January, 2014 10:16:20 AM
Subject: Re: [Dspace-tech] Collection empty even after restore - dspace 4

​For DSpace 4.X, try: */home/dspace/bin/dspace index-discovery*

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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

[Dspace-tech] Collection empty even after restore - dspace 4

2014-01-03 Thread ribin . jones
Hi all,

I am running dspace 3.2 in Ubuntu and trying to upgrade to dspace 4. I 
installed a fresh dspace 4 version. I successfully restored the database and I 
could see my collection and community names in the new dspace and I could login 
to dspace 4 using my admin credentials. But I am not able to see any items in 
the collections - it is all empty. I had restored the assetstore also to the 
new one. I have run /home/dspace/bin/dspace index-init also - but still the 
same. I have the correct entries in dspace.cfg for the assetstore location. 
What could be wrong here?

Any help please...

Ribin Jones S.B 


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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


[Dspace-tech] Dspace upgrade to 4 from 3.2

2013-12-18 Thread ribin . jones
I am running dspace 3.2 in Ubuntu..Now I want to upgrade to dspace 4. I used 
the below howto for the upgrade:

https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0


Build and everything was fine. I did appropriate changes in the dspace 4 
dspace.cfg file.

Now after the [dspace-source]/dspace/etc/postgres/database_schema_3-4.sql 
command, I restarted tomcat and postgres. Still I get my dspace 3.2 web page 
while browsing my dspace url. Is there anything specific we need to tell to 
take the new dspace.cfg or anything else?

Any help is very much appreciated.

Regards,

Ribin Jones 

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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] Dspace 4 release date reg.

2013-12-12 Thread ribin . jones
Thanks for the info, Tim.

Regards,

Ribin Jones 


- Original Message -
From: Tim Donohue tdono...@duraspace.org
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Thursday, 12 December, 2013 10:06:29 PM
Subject: Re: [Dspace-tech] Dspace 4 release date reg.

Hi Ribin  all,

We are in the final stages of the DSpace 4 release. Assuming no last 
minute issues pop up, the expectation is that DSpace 4 will likely be 
released/announced early next week.

More information on the 4.0 release is at:
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+4.0+Notes

Expect to hear more very soon!

- Tim

On 12/12/2013 1:22 AM, ribin.jo...@niist.res.in wrote:
 Hi,

 When can we expect the new dspace version 4 stable release? I understand it 
 has got a lot more exciting new looks and features.

 Ribin Jones




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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


[Dspace-tech] Dspace 4 release date reg.

2013-12-11 Thread ribin . jones
Hi,

When can we expect the new dspace version 4 stable release? I understand it has 
got a lot more exciting new looks and features.

Ribin Jones 




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/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


[Dspace-tech] Dspace home page - Blank

2013-10-31 Thread ribin . jones
Hi,

I get a blank home page when I access dspace. It was working well till now and 
this happened after adding an item into a collection - I dont think adding an 
item to a collection will cause this. We are using dspace 3.1 jspui in ubuntu. 
Attaching screen shot of the dspace home page. 

See the below error logs:

2013-10-31 15:18:54,439 WARN  org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.SiteHomeProcessor
2013-10-31 15:18:54,467 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=3F25540C2EEFCF9F47E5E39C4F76C128:internal_error:-- URL Was: 
http://ir.niist.res.in:8080/jspui/home.jsp
-- Method: GET
-- Parameters were:

org.apache.jasper.JasperException: org.apache.jasper.JasperException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -18
at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.apache.jasper.JasperException: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -18
at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:126)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
... 18 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -18
at java.lang.String.substring(String.java:1949)
at java.lang.String.substring(String.java:1916)
at org.apache.jsp.home_jsp._jspService(home_jsp.java:254)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
... 32 more


Any idea what could be wrong?

- Ribin

--
Android is increasing in popularity, but the open development platform that

Re: [Dspace-tech] Dspace home page - Blank

2013-10-31 Thread ribin . jones
Hi,

We had some five lines of code in home.jsp to display Recent Submissions in 
dspace home page. When I removed that specific lines of code in home.jsp, the 
original dspace home page appeared again. I am not sure what went wrong 
suddenly, since we have been using this code for a long time and there was no 
issues.

Ribin Jones S.B 




- Original Message -
From: SUZUKI Keiji z...@mbc.ocn.ne.jp
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 31 October, 2013 4:56:29 PM
Subject: Re: [Dspace-tech] Dspace home page - Blank

Hi Ribin,

Something wrong happens in home.jsp code.

If you installed Tomcat from Ubuntu package, check the line 254 of the
following file,

/var/lib/tomcat6/work/Catalina/localhost/jspui/org/apache/jsp/home_jsp.java

If you installed the Tomcat yourself, check
[tomcat-home]/work/Catalina/localhost/jspui/org/apache/jsp/home_jsp.java

 Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
 range: -18
 at java.lang.String.substring(String.java:1949)
 at java.lang.String.substring(String.java:1916)
 at org.apache.jsp.home_jsp._jspService(home_jsp.java:254)   # = THIS 
 IS THE LINE

If you can't fix the problem, attach this home_jsp.java and
the original jsp file [dspace]/webapps/jspui/home.jsp, so that
we will be able to some advise.

Regards,
Keiji Suzuki



2013/10/31  ribin.jo...@niist.res.in:
 Hi,

 I get a blank home page when I access dspace. It was working well till now 
 and this happened after adding an item into a collection - I dont think 
 adding an item to a collection will cause this. We are using dspace 3.1 jspui 
 in ubuntu. Attaching screen shot of the dspace home page.

 See the below error logs:

 2013-10-31 15:18:54,439 WARN  org.dspace.core.PluginManager @ No 
 Configuration entry found for Sequence Plugin 
 interface=org.dspace.plugin.SiteHomeProcessor
 2013-10-31 15:18:54,467 WARN  
 org.dspace.app.webui.servlet.InternalErrorServlet @ 
 :session_id=3F25540C2EEFCF9F47E5E39C4F76C128:internal_error:-- URL Was: 
 http://ir.niist.res.in:8080/jspui/home.jsp
 -- Method: GET
 -- Parameters were:

 org.apache.jasper.JasperException: org.apache.jasper.JasperException: 
 java.lang.StringIndexOutOfBoundsException: String index out of range: -18
 at 
 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
 at 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
 at 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
 at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
 at 
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Thread.java:679)
 Caused by: org.apache.jasper.JasperException: 
 java.lang.StringIndexOutOfBoundsException: String index out of range: -18
 at 
 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
 at 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
 at 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206

Re: [Dspace-tech] IP Authentication in dspace 3.1

2013-10-22 Thread ribin . jones
Terry,

I got ip authentication working in our Dspace.

I just have the below in my authentication-ip.cfg:

ip.grpname = ip, \

In authentication.cfg, I have the below:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = 
org.dspace.authenticate.IPAuthentication, 
org.dspace.authenticate.PasswordAuthentication

Pls note that there is no unnecessary white space in the above configuration 
line.

Thanks,

Ribin Jones S.B 



- Original Message -
From: Terry Brady tw...@georgetown.edu
To: ribin jones ribin.jo...@niist.res.in
Cc: Ivan Masár heli...@centrum.sk, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 23 October, 2013 3:09:40 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1


Ribin, 


Did you find a solution to this issue? I seem to be encountering something 
similar with IP authentication. 


I have my ip authentication mapping to a group named X. I have added group: X 
to a larger DSpace group Y. Group Y can access collections/items/bitstreams. 


If I connect from my designated IP, I am unable to access the items that Group 
Y can access. 


But, if I give group X explicit access to an item/collection/bitstream, then I 
am able to access the objects. 


Terry 



On Tue, Aug 13, 2013 at 12:23 AM,  ribin.jo...@niist.res.in  wrote: 


Hi Helix, 

I tested it and it doesn't seem to work. Pls see the below dspace log; 


2013-08-07 15:12:50,616 INFO 
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse:type=title,order=ASC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=1,community=123456789/632,collection=n/a,level=0,etal=-1
 
2013-08-07 15:12:50,617 INFO org.dspace.browse.BrowseEngine @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse_by_item:
 
2013-08-07 15:12:51,750 WARN org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.ItemHomeProcessor 

Access comes as anonymous:session even if I try to access from 10.10.50.0 
network (this subnet was given a special group name in authentication-ip.cfg) 


- Ribin 

- Original Message - 
From: helix84  heli...@centrum.sk  
To: ribin jones  ribin.jo...@niist.res.in  
Cc: dspace-tech  dspace-tech@lists.sourceforge.net  

Sent: Tuesday, 13 August, 2013 3:20:34 AM 
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1 



On Thu, Aug 8, 2013 at 12:56 PM,  ribin.jo...@niist.res.in  wrote: 
 So, does IP authentication work only if there is some other authentication 
 mechanism (ldap/passwd) above it? My understanding was that even if we don't 
 login, if access comes from a particular network, collection/community can be 
 be given appropriate access permission. 

I'm not sure. Did you test it? It should be easy to test. 

Anyway, I can't imagine why you'd want to remove 
PasswordAuthentication - you need that one to log in as DSpace 
administrator. If you don't have any other accounts defined for 
PasswordAuthentication, it doesn't hurt in any way. 


Regards, 
~~helix84 

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 

-- 
Get 100% visibility into Java/.NET code with AppDynamics Lite! 
It's a free troubleshooting tool designed for production. 
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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 




-- 
Terry Brady 
Applications Programmer Analyst 
Lauinger Information Technology 
202-687-7053

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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

[Dspace-tech] Increase dspace banner/logo width

2013-10-09 Thread ribin . jones
Hi everyone,

I am using dspace3.2 jspui running in ubuntu. How can we increase the banner 
width of dspace logo which is displayed in the home page? I basically need to 
replace the dspace logo with our institutional banner. I replaced the 
dspace-blue.gif file with our new banner and changed the banner width in 
header-default.jsp file. I get the new banner displayed in the home page, but 
the banner size is just as small as the original dspace logo...I need to 
increase the width. Any help?

Thanks,

Ribin Jones S.B 

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/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] IP Authentication in dspace 3.1

2013-08-12 Thread ribin . jones
Hi Helix,

I tested it and it doesn't seem to work. Pls see the below dspace log;

2013-08-07 15:12:50,616 INFO  
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse:type=title,order=ASC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=1,community=123456789/632,collection=n/a,level=0,etal=-1
2013-08-07 15:12:50,617 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse_by_item:
2013-08-07 15:12:51,750 WARN  org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.ItemHomeProcessor

Access comes as anonymous:session even if I try to access from 10.10.50.0 
network (this subnet was given a special group name in authentication-ip.cfg)

- Ribin 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, 13 August, 2013 3:20:34 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

On Thu, Aug 8, 2013 at 12:56 PM,  ribin.jo...@niist.res.in wrote:
 So, does IP authentication work only if there is some other authentication 
 mechanism (ldap/passwd) above it? My understanding was that even if we don't 
 login, if access comes from a particular network, collection/community can be 
 be given appropriate access permission.

I'm not sure. Did you test it? It should be easy to test.

Anyway, I can't imagine why you'd want to remove
PasswordAuthentication - you need that one to log in as DSpace
administrator. If you don't have any other accounts defined for
PasswordAuthentication, it doesn't hurt in any way.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-08 Thread ribin . jones
Hi,

Sorry to bother oncemore. I was seeing the below link:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg17093.html

In step 5 it says Log in as any user using some other authentocation method 
(Password, LDAP, ...) 

So, does IP authentication work only if there is some other authentication 
mechanism (ldap/passwd) above it? My understanding was that even if we don't 
login, if access comes from a particular network, collection/community can be 
be given appropriate access permission.

Pls correct me if I am wrong.

- Ribin 


- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 8 August, 2013 12:58:46 PM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

On Thu, Aug 8, 2013 at 6:03 AM,  ribin.jo...@niist.res.in wrote:
 Any help on this?

Sorry, no idea.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-07 Thread ribin . jones
What is strange is that even after I did the configurations, when I check the 
logs, the access comes as anonymous. Is it something usual when we use IP 
authentication?

- Ribin 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 9:50:13 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

Pls see my answers below:

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 3:27:49 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

On Tue, Aug 6, 2013 at 10:50 AM,  ribin.jo...@niist.res.in wrote:
 I even tried with a single IP...still I see in the dspace log as access 
 coming from anonymous. I had created a group by name SplGrp from dspace 
 web interface and it is mentioned as ip.SplGrp = 10.10.50.201, \ in 
 authentication-ip.cfg

It looks correct.
1) Does the specific _item_ you're trying to access the READ right for the 
SplGrp group?
   I gave READ access permission for group SplGrp for one particular item I 
was trying to access and now it asks for a username/pwd when I try to access it 
from any network.

2) Is there any address translation (NAT) between the client
(10.10.50.201) and DSpace?
NO
2a) Check dspace.log to see what DSpace sees as your address.

   Please see the dspace logs below when I try to access an item. There 
is no NAT happenening  in-between and access comes from 10.10.50.201 which is a 
local PC in the LAN:

2013-08-07 15:12:50,616 INFO  
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse:type=title,order=ASC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=1,community=123456789/632,collection=n/a,level=0,etal=-1
2013-08-07 15:12:50,617 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse_by_item:
2013-08-07 15:12:51,750 WARN  org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.ItemHomeProcessor

2b) Also look for any errors and messages there. If there are no
messages, raise the log level to DEBUG and try again:

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-07 Thread ribin . jones
Any help on this?

Ribin 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 11:46:43 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

What is strange is that even after I did the configurations, when I check the 
logs, the access comes as anonymous. Is it something usual when we use IP 
authentication?

- Ribin 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 9:50:13 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

Pls see my answers below:

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 3:27:49 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

On Tue, Aug 6, 2013 at 10:50 AM,  ribin.jo...@niist.res.in wrote:
 I even tried with a single IP...still I see in the dspace log as access 
 coming from anonymous. I had created a group by name SplGrp from dspace 
 web interface and it is mentioned as ip.SplGrp = 10.10.50.201, \ in 
 authentication-ip.cfg

It looks correct.
1) Does the specific _item_ you're trying to access the READ right for the 
SplGrp group?
   I gave READ access permission for group SplGrp for one particular item I 
was trying to access and now it asks for a username/pwd when I try to access it 
from any network.

2) Is there any address translation (NAT) between the client
(10.10.50.201) and DSpace?
NO
2a) Check dspace.log to see what DSpace sees as your address.

   Please see the dspace logs below when I try to access an item. There 
is no NAT happenening  in-between and access comes from 10.10.50.201 which is a 
local PC in the LAN:

2013-08-07 15:12:50,616 INFO  
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse:type=title,order=ASC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=1,community=123456789/632,collection=n/a,level=0,etal=-1
2013-08-07 15:12:50,617 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse_by_item:
2013-08-07 15:12:51,750 WARN  org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.ItemHomeProcessor

2b) Also look for any errors and messages there. If there are no
messages, raise the log level to DEBUG and try again:

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-06 Thread ribin . jones

Correction:

I added in the below file:
[dspace]/config/modules/authentication.cfg

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.IPAuthentication

Right now, when I access from any of my network, it asks for username/passwd. I 
had given only one particular subnet of my network in authentication-ip.cfg

Thanks for any help.

- Ribin 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, 6 August, 2013 10:19:01 AM
Subject: IP Authentication in dspace 3.1

Hi,

I need to provide full access to all my collections in dspace within my 
institute network - The pdf files associated with each item should be 
downloadable if accessed from within my network. If access comes from outside 
our institute network, it should ask for a Request Copy or a username/passwd 
page. How can we achieve this? I am running dspace 3.1.

I was following the below url:

https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#AuthenticationPlugins-IPAuthentication

I entered the below line in my dspace.cfg:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ 
org.dspace.authenticate.IPAuthentication

and also a line in 
/home/dspace/dspace-3.1-src-release/dspace/config/modules/authentication-ip.cfg

ip.Anonymous = our subnet

Thanks for any help

Ribin Jones

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-06 Thread ribin . jones
Still not working...Is there anything specific that need to be done while 
creating community or collection for this to take effect?

Ribin 


- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, 6 August, 2013 12:24:48 PM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

Hi Ribin,

what notation did you use for the subnet? There has been a bug that
causes it to work incorrectly for CIDR ranges:

https://jira.duraspace.org/browse/DS-1235

There's a patch there, too. Could you please test it and comment there
with your results? Thanks.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-06 Thread ribin . jones
I even tried with a single IP...still I see in the dspace log as access coming 
from anonymous. I had created a group by name SplGrp from dspace web 
interface and it is mentioned as ip.SplGrp = 10.10.50.201, \ in 
authentication-ip.cfg

Ribin 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, 6 August, 2013 1:44:17 PM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

Still not working...Is there anything specific that need to be done while 
creating community or collection for this to take effect?

Ribin 


- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, 6 August, 2013 12:24:48 PM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

Hi Ribin,

what notation did you use for the subnet? There has been a bug that
causes it to work incorrectly for CIDR ranges:

https://jira.duraspace.org/browse/DS-1235

There's a patch there, too. Could you please test it and comment there
with your results? Thanks.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] IP Authentication in dspace 3.1

2013-08-06 Thread ribin . jones
Pls see my answers below:

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 3:27:49 AM
Subject: Re: [Dspace-tech] IP Authentication in dspace 3.1

On Tue, Aug 6, 2013 at 10:50 AM,  ribin.jo...@niist.res.in wrote:
 I even tried with a single IP...still I see in the dspace log as access 
 coming from anonymous. I had created a group by name SplGrp from dspace 
 web interface and it is mentioned as ip.SplGrp = 10.10.50.201, \ in 
 authentication-ip.cfg

It looks correct.
1) Does the specific _item_ you're trying to access the READ right for the 
SplGrp group?
   I gave READ access permission for group SplGrp for one particular item I 
was trying to access and now it asks for a username/pwd when I try to access it 
from any network.

2) Is there any address translation (NAT) between the client
(10.10.50.201) and DSpace?
NO
2a) Check dspace.log to see what DSpace sees as your address.

   Please see the dspace logs below when I try to access an item. There 
is no NAT happenening  in-between and access comes from 10.10.50.201 which is a 
local PC in the LAN:

2013-08-07 15:12:50,616 INFO  
org.dspace.app.webui.servlet.AbstractBrowserServlet @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse:type=title,order=ASC,value=null,month=null,year=null,starts_with=null,vfocus=null,focus=-1,rpp=20,sort_by=1,community=123456789/632,collection=n/a,level=0,etal=-1
2013-08-07 15:12:50,617 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=8EA1C12719F4C5C76F7715D4FF217706:ip_addr=10.10.50.201:browse_by_item:
2013-08-07 15:12:51,750 WARN  org.dspace.core.PluginManager @ No Configuration 
entry found for Sequence Plugin interface=org.dspace.plugin.ItemHomeProcessor

2b) Also look for any errors and messages there. If there are no
messages, raise the log level to DEBUG and try again:

https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] Request copy add-on in dspace 3.x

2013-08-06 Thread ribin . jones
I am using JSPUI. So, is request copy add-on possible in jspui? I couldn't 
understand it quite well.

- Ribin 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 7 August, 2013 3:33:20 AM
Subject: Re: [Dspace-tech] Request copy add-on in dspace 3.x

On Mon, Aug 5, 2013 at 11:59 AM,  ribin.jo...@niist.res.in wrote:
 I understand from the below link that the request copy add-on for dspace 3.x 
 is not yet available. Any idea when it will be released or is there any other 
 tweaks to install request copy in dspace 3.x?

You didn't indicate which interface you're using. This Jira issue
links to a patch for DSpace 3.x XMLUI:

https://jira.duraspace.org/browse/DS-824


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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


[Dspace-tech] IP Authentication in dspace 3.1

2013-08-05 Thread ribin . jones
Hi,

I need to provide full access to all my collections in dspace within my 
institute network - The pdf files associated with each item should be 
downloadable if accessed from within my network. If access comes from outside 
our institute network, it should ask for a Request Copy or a username/passwd 
page. How can we achieve this? I am running dspace 3.1.

I was following the below url:

https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#AuthenticationPlugins-IPAuthentication

I entered the below line in my dspace.cfg:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ 
org.dspace.authenticate.IPAuthentication

and also a line in 
/home/dspace/dspace-3.1-src-release/dspace/config/modules/authentication-ip.cfg

ip.Anonymous = our subnet

Thanks for any help

Ribin Jones

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/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] how to change dspace url?

2013-07-19 Thread ribin . jones
Yes.. Now the output seems okay;

root@testpc:~# netstat -tapn | grep java
tcp0  0 0.0.0.0:80  0.0.0.0:*   LISTEN  
1448/java
tcp0  0 127.0.0.1:8005  0.0.0.0:*   LISTEN  
1448/java

But web page displays nothing while accessing using http://ip/jspui. The 
cursor just rotates...

Ribin 

- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net, Kostas Stamatis 
kstama...@ekt.gr
Sent: Friday, 19 July, 2013 12:16:58 PM
Subject: Re: [Dspace-tech] how to change dspace url?



Hi Ribin 


Check that you completed all the steps correctly and look at the example 
outputs. 


Regards 


hg 



On 19 July 2013 08:37,  ribin.jo...@niist.res.in  wrote: 


I am having trouble: 

Below was the initial output: 
root@testpc:/etc/authbind/byport# netstat -tapn | grep java 
tcp6 0 0 :::8080 :::* LISTEN 1418/java 
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 1418/java 

After following the howto, I get the below one: 

root@testpc:/etc/authbind/byport# netstat -tapn | grep java 
tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 1510/java 


Ribin 

- Original Message - 
From: Hilton Gibson  hilton.gib...@gmail.com  
To: Kostas Stamatis  kstama...@ekt.gr  
Cc: ribin jones  ribin.jo...@niist.res.in , dspace-tech  
dspace-tech@lists.sourceforge.net  
Sent: Friday, 19 July, 2013 11:16:21 AM 
Subject: Re: [Dspace-tech] how to change dspace url? 



With Ubuntu, see the following. 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05#Step_5.2:_Allow_Tomcat_to_listen_on_ports_.2280.22_and_.22443.22
 

http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S08#Step_8.1_Configure_the_default_ROOT_webapp
 



Regards 


hg 



On 19 July 2013 07:34, Kostas Stamatis  kstama...@ekt.gr  wrote: 


Hi Ribin, 

You have two options: 

1) Either you start tomcat in the http default port which is 80 (instead of 
8080). For this, you have to edit server.conf configuration file within 
tomcat install dir. In such a case you don't need to add :8080 after the ip 
since 80 is the default. 

or 

2) Install an Apache server in front that runs on port 80 by default, and 
using mod_jk module of Apache redirect the traffic to your internal tomcat 
server that hosts DSpace. 

In the first case, you will need /jspui at the end or you can change the 
webapp name from jspui to something more user friendly. 
In the second case, you can omit the webapp name jspui at the end but you 
will have to write the appropriate rewrite rules on Apache conf files 


Regards, 

Kostas 





-Original Message- 
From: ribin.jo...@niist.res.in [mailto: ribin.jo...@niist.res.in ] 
Sent: Friday, July 19, 2013 8:22 AM 
To: dspace-tech 
Subject: [Dspace-tech] how to change dspace url? 

Hi, 

My dspace url is http://ip:8080/jspui. Is it possible to have a url like 
http://ip ? What should be done for this? Any help is greatly appreciated. 

- Ribin 


 
-- 
See everything from the browser to the database with AppDynamics Get 
end-to-end visibility with application monitoring from AppDynamics Isolate 
bottlenecks and diagnose root cause in seconds. 
Start your free trial of AppDynamics Pro today! 
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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 


-- 
See everything from the browser to the database with AppDynamics 
Get end-to-end visibility with application monitoring from AppDynamics 
Isolate bottlenecks and diagnose root cause in seconds. 
Start your free trial of AppDynamics Pro today! 
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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 




-- 


Hilton Gibson 
Linux Systems Administrator 
JS Gericke Library 
Room 1025C 
Stellenbosch University 
Private Bag X5036 
Stellenbosch 
7599 
South Africa 


Tel: +27 21 808 4100 | Cell: +27 84 646 4758 
http://library.sun.ac.za 
http://scholar.sun.ac.za 
http://www.journals.ac.za 




-- 


Hilton Gibson 
Linux Systems Administrator 
JS Gericke Library 
Room 1025C 
Stellenbosch University 
Private Bag X5036 
Stellenbosch 
7599 
South Africa 


Tel: +27 21 808 4100 | Cell: +27 84 646 4758 
http://library.sun.ac.za 
http://scholar.sun.ac.za 
http://www.journals.ac.za

[Dspace-tech] how to change dspace url?

2013-07-18 Thread ribin . jones
Hi,

My dspace url is http://ip:8080/jspui. Is it possible to have a url like 
http://ip ? What should be done for this? Any help is greatly appreciated.

- Ribin


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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


[Dspace-tech] IP restriction and Request copy add on

2013-07-09 Thread ribin . jones
Hi,

I am running dspace 3.1 in Ubuntu 12.04. I have couple of requirements:

1. I need to provide full access to all my collections within my institute 
network - The pdf files associated with each item should be downloadable if 
accessed from within my network. If access comes from outside our institute 
network, it should ask for a Request Copy. How can we achieve this?

2. I need help in installing Request copy plugin

Thanks,

Ribin 

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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


[Dspace-tech] Dspace 3.1 - error during fresh_install

2013-06-27 Thread ribin . jones
Hi,

I was trying to install Dspace 3.1 and I get the below error while I do ant 
fresh_install:

test_database:
 [java] 2013-06-27 16:30:41,690 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] Exception in thread main java.lang.ExceptionInInitializerError
 [java] Caused by: java.lang.IllegalStateException: Cannot load license: 
/home/dspace/dspace-3.1-src-release/config/default.license
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:991)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)
 [java] Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] ... 3 more
 [java] Could not find the main class: 
org.dspace.storage.rdbms.DatabaseManager. Program will exit.
 [java] 2013-06-27 16:30:41,701 FATAL org.dspace.core.ConfigurationManager 
@ Can't load license: /home/dspace/dspace-3.1-src-release/config/default.license
 [java] java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)

BUILD FAILED
/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml:777:
 Java returned: 1

Any help?

Ribin Jones S.B 


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Dspace 3.1 - error during fresh_install

2013-06-27 Thread ribin . jones
It says Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory).

But my default.license is in the below location:

/home/dspace/dspace-3.1-src-release/dspace/config/default.license

Ribin Jones S.B 



- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 27 June, 2013 4:33:11 PM
Subject: Dspace 3.1 - error during fresh_install

Hi,

I was trying to install Dspace 3.1 and I get the below error while I do ant 
fresh_install:

test_database:
 [java] 2013-06-27 16:30:41,690 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] Exception in thread main java.lang.ExceptionInInitializerError
 [java] Caused by: java.lang.IllegalStateException: Cannot load license: 
/home/dspace/dspace-3.1-src-release/config/default.license
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:991)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)
 [java] Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] ... 3 more
 [java] Could not find the main class: 
org.dspace.storage.rdbms.DatabaseManager. Program will exit.
 [java] 2013-06-27 16:30:41,701 FATAL org.dspace.core.ConfigurationManager 
@ Can't load license: /home/dspace/dspace-3.1-src-release/config/default.license
 [java] java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)

BUILD FAILED
/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml:777:
 Java returned: 1

Any help?

Ribin Jones S.B 

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Dspace 3.1 - error during fresh_install

2013-06-27 Thread ribin . jones
Yes, my build is successful. But error shows up during ant fresh_install.

Ribin Jones S.B 


- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 27 June, 2013 5:33:21 PM
Subject: Re: [Dspace-tech] Dspace 3.1 - error during fresh_install


Hi Ribin 


Are you building from the correct folder? 
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S06 


Regards 


hg 



On 27 June 2013 13:03,  ribin.jo...@niist.res.in  wrote: 


Hi, 

I was trying to install Dspace 3.1 and I get the below error while I do ant 
fresh_install: 

test_database: 
[java] 2013-06-27 16:30:41,690 INFO org.dspace.core.ConfigurationManager @ 
Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg 
[java] Exception in thread main java.lang.ExceptionInInitializerError 
[java] Caused by: java.lang.IllegalStateException: Cannot load license: 
/home/dspace/dspace-3.1-src-release/config/default.license 
[java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:991) 
[java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 
[java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175) 
[java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64) 
[java] Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory) 
[java] at java.io.FileInputStream.open(Native Method) 
[java] at java.io.FileInputStream.init(FileInputStream.java:137) 
[java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971) 
[java] ... 3 more 
[java] Could not find the main class: org.dspace.storage.rdbms.DatabaseManager. 
Program will exit. 
[java] 2013-06-27 16:30:41,701 FATAL org.dspace.core.ConfigurationManager @ 
Can't load license: /home/dspace/dspace-3.1-src-release/config/default.license 
[java] java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory) 
[java] at java.io.FileInputStream.open(Native Method) 
[java] at java.io.FileInputStream.init(FileInputStream.java:137) 
[java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971) 
[java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 
[java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175) 
[java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64) 

BUILD FAILED 
/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml:777:
 Java returned: 1 

Any help? 

Ribin Jones S.B 


-- 
This SF.net email is sponsored by Windows: 

Build for Windows Store. 

http://p.sf.net/sfu/windows-dev2dev 
___ 
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 




-- 


Hilton Gibson 
Linux Systems Administrator 
JS Gericke Library 
Room 1025C 
Stellenbosch University 
Private Bag X5036 
Stellenbosch 
7599 
South Africa 


Tel: +27 21 808 4100 | Cell: +27 84 646 4758 
http://library.sun.ac.za 
http://scholar.sun.ac.za 
http://www.journals.ac.za 

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Dspace 3.1 - error during fresh_install

2013-06-27 Thread ribin . jones
Below is the error again;

root@dspace:/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build# 
ant fresh_install
Buildfile: 
/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml

init_installation:

init_configs:

test_database:
 [java] 2013-06-28 10:10:12,882 INFO  org.dspace.core.ConfigurationManager 
@ Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg
 [java] 2013-06-28 10:10:12,895 FATAL org.dspace.core.ConfigurationManager 
@ Can't load license: /home/dspace/dspace-3.1-src-release/config/default.license
 [java] java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)
 [java] Exception in thread main java.lang.ExceptionInInitializerError
 [java] Caused by: java.lang.IllegalStateException: Cannot load license: 
/home/dspace/dspace-3.1-src-release/config/default.license
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:991)
 [java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 [java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175)
 [java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64)
 [java] Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory)
 [java] at java.io.FileInputStream.open(Native Method)
 [java] at java.io.FileInputStream.init(FileInputStream.java:137)
 [java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971)
 [java] ... 3 more
 [java] Could not find the main class: 
org.dspace.storage.rdbms.DatabaseManager. Program will exit.

BUILD FAILED
/home/dspace/dspace-3.1-src-release/dspace/target/dspace-3.1-build/build.xml:777:
 Java returned: 1

Total time: 4 seconds


Ribin Jones S.B 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: Hilton Gibson hilton.gib...@gmail.com
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Friday, 28 June, 2013 9:49:58 AM
Subject: Re: [Dspace-tech] Dspace 3.1 - error during fresh_install

Yes, my build is successful. But error shows up during ant fresh_install.

Ribin Jones S.B 


- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Thursday, 27 June, 2013 5:33:21 PM
Subject: Re: [Dspace-tech] Dspace 3.1 - error during fresh_install


Hi Ribin 


Are you building from the correct folder? 
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S06 


Regards 


hg 



On 27 June 2013 13:03,  ribin.jo...@niist.res.in  wrote: 


Hi, 

I was trying to install Dspace 3.1 and I get the below error while I do ant 
fresh_install: 

test_database: 
[java] 2013-06-27 16:30:41,690 INFO org.dspace.core.ConfigurationManager @ 
Loading system provided config property (-Ddspace.configuration): 
config/dspace.cfg 
[java] Exception in thread main java.lang.ExceptionInInitializerError 
[java] Caused by: java.lang.IllegalStateException: Cannot load license: 
/home/dspace/dspace-3.1-src-release/config/default.license 
[java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:991) 
[java] at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:130)
 
[java] at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:175) 
[java] at 
org.dspace.storage.rdbms.DatabaseManager.clinit(DatabaseManager.java:64) 
[java] Caused by: java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory) 
[java] at java.io.FileInputStream.open(Native Method) 
[java] at java.io.FileInputStream.init(FileInputStream.java:137) 
[java] at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:971) 
[java] ... 3 more 
[java] Could not find the main class: org.dspace.storage.rdbms.DatabaseManager. 
Program will exit. 
[java] 2013-06-27 16:30:41,701 FATAL org.dspace.core.ConfigurationManager @ 
Can't load license: /home/dspace/dspace-3.1-src-release/config/default.license 
[java] java.io.FileNotFoundException: 
/home/dspace/dspace-3.1-src-release/config/default.license (No such file or 
directory

Re: [Dspace-tech] Lock down user regn. in dspace jspui

2013-06-26 Thread ribin . jones
The feedback link will take us to the user login page which is now irrelevant.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:30:35 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

I guess that the outside users can contact admin via the feedback form  
http://{your_hostname}/dspace/feedback - a link that appears in the footer of 
your DSpace webpages. You have to set the feedback recipient from the dspace 
config file ({your_dspace_install_path}/config/dspace.cfg) and the 
feedback.recipient option.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 8:21 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

I commented out the below line and it worked:

pstronga href=%= request.getContextPath() %/registerfmt:message 
key=jsp.components.login-form.newuser//a/strong/p 

This was actually line no. 52 for me.

Now, what can be done so that a user can contact the dspace admin?

Ribin Jones S.B 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: Kostas Stamatis kstama...@ekt.gr
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:42:37 AM
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of 
which 21st line is already commented out which is a part of copyright 
instructions.

One more thing I need is that new users need not be registered..meanwhile 
outside users should have a provision to contact the Dspace admin.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:27:43 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

Dear Ribin,

What you need to do is the following:

1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 

2) Add the following lines (around line 73 - in the filter mapping section):

filter-mapping
filter-nameadmin-only/filter-name
url-pattern/register/url-pattern
  /filter-mapping

This tells DSpace that the /register URL will be protected and only admin can 
have access.

3) Reload webapp

I guess that you might want to remove the link to the registration page as 
well. For this:

1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp

2) Comment out  line 21 which prints the link to the register servlet


Best regards

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in]
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui

Hi all, 

We want a closed user-community for DSpace, where the DSpace admin will be 
creating user accounts and distributing them to users. 

So, under JSPUI, how does one lock down User Registration so that only the 
admin can create user accounts? 

Under XMLUI, it looks like there's the following configuration: 

 xmlui.user.registration false 

However, I haven't found an equivalent configuration under JSPUI. 

Please let me know how we can lock down user registration in jspui.

Thanks again for your time.

Ribin Jones S.B 


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https

Re: [Dspace-tech] Lock down user regn. in dspace jspui

2013-06-26 Thread ribin . jones
Yea...got it working now... 

Thanks...

Got couple more requirements:

1. Need to edit the home page text (text like below in the home page need to be 
edited):

DSpace is Live

Welcome to our digital repository of My University research!

More exciting news to appear here.

Which file need to be edited for this?

2. Need to have access restriction for jspui. The journals and articles in 
dspace should be accessible without asking for a username/pwd if accessed from 
within our campus network.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:41:08 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

That's not true... feedback link should not normally take you to the user login 
page.

This is happening in your installation because the dspace.hostname option in 
the configuration file (dspace.cfg) is not set properly. It should match the 
real hostname that you use to access your DSpace. Otherwise, DSpace thinks this 
as an attack and redirects you to login page.

Try to set the dspace.hostname appropriately, reload webapp and test again.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:04 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

The feedback link will take us to the user login page which is now irrelevant.

Ribin Jones S.B
Scientist
IT LAB, Knowledge Resource Centre
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India Pappanamcode, Thiruvananthapuram - 695019 Kerala, India 
www.niist.res.in
Mob: +91 9895226242 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:30:35 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

I guess that the outside users can contact admin via the feedback form  
http://{your_hostname}/dspace/feedback - a link that appears in the footer of 
your DSpace webpages. You have to set the feedback recipient from the dspace 
config file ({your_dspace_install_path}/config/dspace.cfg) and the 
feedback.recipient option.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in]
Sent: Wednesday, June 26, 2013 8:21 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

I commented out the below line and it worked:

pstronga href=%= request.getContextPath() %/registerfmt:message 
key=jsp.components.login-form.newuser//a/strong/p 

This was actually line no. 52 for me.

Now, what can be done so that a user can contact the dspace admin?

Ribin Jones S.B 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: Kostas Stamatis kstama...@ekt.gr
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:42:37 AM
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of 
which 21st line is already commented out which is a part of copyright 
instructions.

One more thing I need is that new users need not be registered..meanwhile 
outside users should have a provision to contact the Dspace admin.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:27:43 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

Dear Ribin,

What you need to do is the following:

1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 

2) Add the following lines (around line 73 - in the filter mapping section):

filter-mapping
filter-nameadmin-only/filter-name
url-pattern/register/url-pattern
  /filter-mapping

This tells DSpace that the /register URL will be protected and only admin can 
have access.

3) Reload webapp

I guess that you might want to remove the link to the registration page as 
well. For this:

1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp

2) Comment out  line 21 which prints the link to the register servlet


Best regards

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in]
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui

Hi all, 

We want a closed user-community for DSpace, where the DSpace admin will be 
creating user accounts and distributing them to users. 

So, under JSPUI, how does one lock down User Registration so that only the 
admin can create user accounts? 

Under XMLUI, it looks like there's

Re: [Dspace-tech] Lock down user regn. in dspace jspui

2013-06-26 Thread ribin . jones
In point number 2 of the mentioned thread it says 2) edit 
[dspace]/config/modules/authentication-ip.cfg and for each group add, for 
example:

But my installation doesn't have such a file of nor a folder like modules 
inside config.

Thanks,

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 12:05:34 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

1) The first page can be found in the following path: 
{your_jspui_webapp_path}/home.jsp. However, if you want to edit the very top 
message you need to do it in the file 
{your_dspace_install_path}/config/news-top.html and if you want to edit the 
text in the right sidebar you need to do it in the file 
{your_dspace_install_path}/config/news-side.html

2) Take a look on this older thread: 
http://sourceforge.net/mailarchive/message.php?msg_id=29268918
 

Regards,

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:20 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Yea...got it working now... 

Thanks...

Got couple more requirements:

1. Need to edit the home page text (text like below in the home page need to be 
edited):

DSpace is Live

Welcome to our digital repository of My University research!

More exciting news to appear here.

Which file need to be edited for this?

2. Need to have access restriction for jspui. The journals and articles in 
dspace should be accessible without asking for a username/pwd if accessed from 
within our campus network.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:41:08 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

That's not true... feedback link should not normally take you to the user login 
page.

This is happening in your installation because the dspace.hostname option in 
the configuration file (dspace.cfg) is not set properly. It should match the 
real hostname that you use to access your DSpace. Otherwise, DSpace thinks this 
as an attack and redirects you to login page.

Try to set the dspace.hostname appropriately, reload webapp and test again.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:04 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

The feedback link will take us to the user login page which is now irrelevant.

Ribin Jones S.B
Scientist
IT LAB, Knowledge Resource Centre
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India Pappanamcode, Thiruvananthapuram - 695019 Kerala, India 
www.niist.res.in
Mob: +91 9895226242 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:30:35 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

I guess that the outside users can contact admin via the feedback form  
http://{your_hostname}/dspace/feedback - a link that appears in the footer of 
your DSpace webpages. You have to set the feedback recipient from the dspace 
config file ({your_dspace_install_path}/config/dspace.cfg) and the 
feedback.recipient option.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in]
Sent: Wednesday, June 26, 2013 8:21 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

I commented out the below line and it worked:

pstronga href=%= request.getContextPath() %/registerfmt:message 
key=jsp.components.login-form.newuser//a/strong/p 

This was actually line no. 52 for me.

Now, what can be done so that a user can contact the dspace admin?

Ribin Jones S.B 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: Kostas Stamatis kstama...@ekt.gr
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:42:37 AM
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of 
which 21st line is already commented out which is a part of copyright 
instructions.

One more thing I need is that new users need not be registered..meanwhile 
outside users should have a provision to contact the Dspace admin.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:27

Re: [Dspace-tech] Lock down user regn. in dspace jspui

2013-06-26 Thread ribin . jones
Where can I find which version am I running?

Ribin Jones S.B 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 12:25:09 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

What is the version of your DSpace installation? IP-authentication was added in 
version 1.8.0 of DSpace.

I guess that if you have an older version, IP restriction is not possible.


Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:50 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

In point number 2 of the mentioned thread it says 2) edit 
[dspace]/config/modules/authentication-ip.cfg and for each group add, for 
example:

But my installation doesn't have such a file of nor a folder like modules 
inside config.

Thanks,

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 12:05:34 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

1) The first page can be found in the following path: 
{your_jspui_webapp_path}/home.jsp. However, if you want to edit the very top 
message you need to do it in the file 
{your_dspace_install_path}/config/news-top.html and if you want to edit the 
text in the right sidebar you need to do it in the file 
{your_dspace_install_path}/config/news-side.html

2) Take a look on this older thread: 
http://sourceforge.net/mailarchive/message.php?msg_id=29268918
 

Regards,

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:20 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Yea...got it working now... 

Thanks...

Got couple more requirements:

1. Need to edit the home page text (text like below in the home page need to be 
edited):

DSpace is Live

Welcome to our digital repository of My University research!

More exciting news to appear here.

Which file need to be edited for this?

2. Need to have access restriction for jspui. The journals and articles in 
dspace should be accessible without asking for a username/pwd if accessed from 
within our campus network.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:41:08 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

That's not true... feedback link should not normally take you to the user login 
page.

This is happening in your installation because the dspace.hostname option in 
the configuration file (dspace.cfg) is not set properly. It should match the 
real hostname that you use to access your DSpace. Otherwise, DSpace thinks this 
as an attack and redirects you to login page.

Try to set the dspace.hostname appropriately, reload webapp and test again.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:04 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

The feedback link will take us to the user login page which is now irrelevant.

Ribin Jones S.B
Scientist
IT LAB, Knowledge Resource Centre
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India Pappanamcode, Thiruvananthapuram - 695019 Kerala, India 
www.niist.res.in
Mob: +91 9895226242 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 11:30:35 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

I guess that the outside users can contact admin via the feedback form  
http://{your_hostname}/dspace/feedback - a link that appears in the footer of 
your DSpace webpages. You have to set the feedback recipient from the dspace 
config file ({your_dspace_install_path}/config/dspace.cfg) and the 
feedback.recipient option.


Regards,

Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in]
Sent: Wednesday, June 26, 2013 8:21 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

I commented out the below line and it worked:

pstronga href=%= request.getContextPath() %/registerfmt:message 
key=jsp.components.login-form.newuser//a/strong/p 

This was actually line no. 52 for me.

Now, what can be done so that a user can contact the dspace admin?

Ribin Jones S.B 


- Original Message -
From

Re: [Dspace-tech] Lock down user regn. in dspace jspui

2013-06-26 Thread ribin . jones
Thanks...

Could you please guide me in installing the requestcopy add on in my dspace? I 
have downloaded it, but I am a bit confused where to put the source files and 
everything..

Thanks,

Ribin 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 2:00:01 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

According to this: 
https://svn.duraspace.org/dspace/sandbox/authority-control-1_6-prototype/dspace/CHANGES
 I think you have the 1.5.2 version.

As I have already told you, I do not think that IP restrictions apply to this 
version... 


Kostas


-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 11:12 AM
To: Kostas Stamatis
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

I see these in that file:

(Graham Triggs)
 - Fixes for critical bugs identified by Findbugs

(Mark Diggory)
 - [DS-100] XMLUI OpenURL support contributed by the National Evolutionary 
Synthesis Center (NESCent) and @mire.
 - [DS-93]  Upgrade XMLUI to Cocoon 2.2
.
.
.
.
.
.
(Larry Stone)
 - SF Patch [2621423] Add method to instrument Context's cache usage

(Bruc Liong / Xiang Kevin Li / Stuart Hicks)
- [DS-48] shibboleth+dspace1.5.1 patch - ID: 2412723

1.5.1 final
===

(Scott Philips)
- (Scott Phillips) Fixed bug where users could not finish registering nor reset
  their password because the authentication method signatures were changed.
- Jay Paz (SF#1898241) Additional fixes to patch to enable reuse of methods.


So, I guess it is 1.5.2, right?

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 1:17:24 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

Well, two options:

1) The version is part of the meta information of a page, in the form:  meta 
name=Generator content=DSpace [Version] /. Thus, in a DSpace page, open 
the source code (ctrl u in most browsers or right click  show source code) 
and search for the aforementioned meta info.

2) In older DSpace installations, no meta can be found there. Thus, the only 
hint is in the {dspace-sources}/CHANGES file, where all the versions and their 
changes are listed.


Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:59 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Where can I find which version am I running?

Ribin Jones S.B 

- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 12:25:09 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

What is the version of your DSpace installation? IP-authentication was added in 
version 1.8.0 of DSpace.

I guess that if you have an older version, IP restriction is not possible.


Kostas



-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:50 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

In point number 2 of the mentioned thread it says 2) edit 
[dspace]/config/modules/authentication-ip.cfg and for each group add, for 
example:

But my installation doesn't have such a file of nor a folder like modules 
inside config.

Thanks,

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 12:05:34 PM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

1) The first page can be found in the following path: 
{your_jspui_webapp_path}/home.jsp. However, if you want to edit the very top 
message you need to do it in the file 
{your_dspace_install_path}/config/news-top.html and if you want to edit the 
text in the right sidebar you need to do it in the file 
{your_dspace_install_path}/config/news-side.html

2) Take a look on this older thread: 
http://sourceforge.net/mailarchive/message.php?msg_id=29268918
 

Regards,

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 9:20 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Yea...got it working now... 

Thanks...

Got couple more requirements:

1. Need to edit the home page text (text like below in the home page need to be 
edited):

DSpace is Live

Welcome to our digital repository of My University research!

More exciting news to appear here.

Which file need to be edited

[Dspace-tech] Lock down user regn. in dspace jspui

2013-06-25 Thread ribin . jones
Hi all, 

We want a closed user-community for DSpace, where the DSpace admin will be 
creating user accounts and distributing them to users. 

So, under JSPUI, how does one lock down User Registration so that only the 
admin can create user accounts? 

Under XMLUI, it looks like there's the following configuration: 

 xmlui.user.registration false 

However, I haven't found an equivalent configuration under JSPUI. 

Please let me know how we can lock down user registration in jspui.

Thanks again for your time.

Ribin Jones S.B 

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Lock down user regn. in dspace jspui

2013-06-25 Thread ribin . jones
Hi,

My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of 
which 21st line is already commented out which is a part of copyright 
instructions.

One more thing I need is that new users need not be registered..meanwhile 
outside users should have a provision to contact the Dspace admin.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:27:43 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

Dear Ribin,

What you need to do is the following:

1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 

2) Add the following lines (around line 73 - in the filter mapping section):

filter-mapping
filter-nameadmin-only/filter-name
url-pattern/register/url-pattern
  /filter-mapping

This tells DSpace that the /register URL will be protected and only admin
can have access.

3) Reload webapp

I guess that you might want to remove the link to the registration page as
well. For this:

1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp

2) Comment out  line 21 which prints the link to the register servlet


Best regards

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui

Hi all, 

We want a closed user-community for DSpace, where the DSpace admin will be
creating user accounts and distributing them to users. 

So, under JSPUI, how does one lock down User Registration so that only the
admin can create user accounts? 

Under XMLUI, it looks like there's the following configuration: 

 xmlui.user.registration false 

However, I haven't found an equivalent configuration under JSPUI. 

Please let me know how we can lock down user registration in jspui.

Thanks again for your time.

Ribin Jones S.B 


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] Lock down user regn. in dspace jspui

2013-06-25 Thread ribin . jones
Hi,

I commented out the below line and it worked:

pstronga href=%= request.getContextPath() %/registerfmt:message 
key=jsp.components.login-form.newuser//a/strong/p 

This was actually line no. 52 for me.

Now, what can be done so that a user can contact the dspace admin?

Ribin Jones S.B 


- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: Kostas Stamatis kstama...@ekt.gr
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:42:37 AM
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui

Hi,

My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of 
which 21st line is already commented out which is a part of copyright 
instructions.

One more thing I need is that new users need not be registered..meanwhile 
outside users should have a provision to contact the Dspace admin.

Ribin Jones S.B 


- Original Message -
From: Kostas Stamatis kstama...@ekt.gr
To: ribin jones ribin.jo...@niist.res.in, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, 26 June, 2013 10:27:43 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui

Dear Ribin,

What you need to do is the following:

1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml 

2) Add the following lines (around line 73 - in the filter mapping section):

filter-mapping
filter-nameadmin-only/filter-name
url-pattern/register/url-pattern
  /filter-mapping

This tells DSpace that the /register URL will be protected and only admin
can have access.

3) Reload webapp

I guess that you might want to remove the link to the registration page as
well. For this:

1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp

2) Comment out  line 21 which prints the link to the register servlet


Best regards

Kostas




-Original Message-
From: ribin.jo...@niist.res.in [mailto:ribin.jo...@niist.res.in] 
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui

Hi all, 

We want a closed user-community for DSpace, where the DSpace admin will be
creating user accounts and distributing them to users. 

So, under JSPUI, how does one lock down User Registration so that only the
admin can create user accounts? 

Under XMLUI, it looks like there's the following configuration: 

 xmlui.user.registration false 

However, I haven't found an equivalent configuration under JSPUI. 

Please let me know how we can lock down user registration in jspui.

Thanks again for your time.

Ribin Jones S.B 


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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] SS attached - Re: how to disable download form communities and collection for unregistered users

2013-05-28 Thread ribin . jones
Btw, my issue is sorted out...I set appropriate permission for 2012 collection 
and the effect of this permission setting happens only for items that are 
entered after setting the permission - all old items remain as it is...Till 
now, I was setting permission for collections and checking old items and they 
were not working...I will change permission of individual items and make those 
also as I needed. Now, everything is fine and thanks very much for all the 
help..

Regards,

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Tuesday, May 28, 2013 11:56:06 AM
Subject: Re: SS attached - Re: [Dspace-tech] how to disable download form 
communities and collection for unregistered users

On Tue, May 28, 2013 at 6:17 AM,  ribin.jo...@niist.res.in wrote:
 See the attachment. This is what I enter. But when I give find, it shows 41 
 (ID=42).

You need to type 12345678/42 to the Handle field (NOT 42 to the
Internal ID field).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
If you are talking about the Collection's Authorizations, I have it done - 
both 2007 and 2012 collections have the same permissions.

Another thing I noted is that, I get the below log in the back end while I try 
to access and download the journal from 2007 collection.

2013-05-27 11:46:49,476 INFO  org.dspace.app.webui.servlet.DSpaceServlet @ 
anonymous:session_id=93361DF73BB0183A3CE80307A83DDFA9:ip_addr=10.10.100.1:view_item:handle=123456789/44
2013-05-27 11:46:55,042 INFO  org.dspace.app.webui.servlet.BitstreamServlet @ 
anonymous:session_id=93361DF73BB0183A3CE80307A83DDFA9:ip_addr=10.10.100.1:view_bitstream:bitstream_id=71

But when I try to access and download the 2012 journal I get only the below log:

2013-05-27 11:48:41,806 INFO  org.dspace.app.webui.servlet.DSpaceServlet @ 
anonymous:session_id=93361DF73BB0183A3CE80307A83DDFA9:ip_addr=10.10.100.1:view_item:handle=123456789/362

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: jayachandra B jayachandra1...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: Andrea Bollini a.boll...@cineca.it, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 11:40:25 AM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users


Remove publicly readable option to 2012 collection. 




On Mon, May 27, 2013 at 11:24 AM,  ribin.jo...@niist.res.in  wrote: 


Let me explain my situation: 

I have a Community by name Journal Articles and I have various collections in 
this community namely 2007, 2008, 2012 etc. In these collections we have 
various documents. While accessing a journal from 2007 and 2008 collection, it 
shows the abstract and the basic info regarding a journal and while we try to 
download the journal, it asks for uname/pwd (any registered user can access and 
this is an easy process to get anyone to have a user account). But in my 2012 
collections, it is possible to download the journal - it never asks for a 
username/pwd). I don;t know why it works in 2007 and 2008 collections and not 
in 2012 collection. 

Let me know if you need any further info. 

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message - 
From: Andrea Bollini  a.boll...@cineca.it  
To: dspace-tech@lists.sourceforge.net 
Sent: Friday, May 24, 2013 3:18:41 PM 
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users 



You should change the default bitstream read policy of any collections so to 
give permission to a specific group say: Registred users. 
https://wiki.duraspace.org/display/DSDOC3x/Functional+Overview#FunctionalOverview-Authorization
 

You don't need to put people inside this grop manually, instead you can use the 
login.specialgroup configuration for the PasswordLogin 
login.specialgroup = Registred users 
https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#AuthenticationPlugins-ConfiguringAuthenticationbyPassword
 

Hope this help, 
Andrea 

Il 24/05/2013 11:41, ribin.jo...@niist.res.in ha scritto: 


My motive is to keep a track of who all access which documents. 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India www.niist.res.in Mob: +91 9895226242 

- Original Message - 
From: Hilton Gibson  hilton.gib...@gmail.com  To: ribin jones  
ribin.jo...@niist.res.in  Cc: dspace-tech  
dspace-tech@lists.sourceforge.net  Sent: Friday, May 24, 2013 3:00:03 PM 
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users 


Hi Ribin 


Doesn't this request obviate the open access nature of an institutional 
repository. 
DSpace was built to be an open access institutional repository vehicle. 
I also do not think it was meant to be a peer-reviewed system for submission of 
academic articles. 
Perhaps the mission and scope of DSpace has changed, I am not sure. 
Recently a set core principles was released. Perhaps someone on this list can 
point us to the online documentation regarding these core principles. 


Regards 


hg 



On 24 May 2013 11:22,  ribin.jo...@niist.res.in  wrote: 


Hi, 

I have created a Community in dspace. How do we set permission in Communities 
and Collections so that when an anonymous user tries to download the file asks 
for the email address and password? 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST

Re: [Dspace-tech] how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
What should I do in Advanced Policy Manager ? What kind of permission should 
I give?

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: jayachandra B jayachandra1...@gmail.com, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 1:16:40 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

On Mon, May 27, 2013 at 8:20 AM,  ribin.jo...@niist.res.in wrote:
 If you are talking about the Collection's Authorizations, I have it done - 
 both 2007 and 2012 collections have the same permissions.

This is a likely source of error:

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-Ichangedaccessrestrictionsonacollection,butrestrictionsdidn'tchangeonitsitems

 But when I try to access and download the 2012 journal I get only the below 
 log:

That's only a consequence of not having access to the bitstream.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
I have the Anonymous READ access for the 2012 collection. Also, I checked an 
item in 2007 collection and gave the same permission for an item in 2012 
collection...but issue is still the same.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: jayachandra B jayachandra1...@gmail.com, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 1:52:09 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

On Mon, May 27, 2013 at 10:14 AM,  ribin.jo...@niist.res.in wrote:
 What should I do in Advanced Policy Manager ? What kind of permission 
 should I give?

Well, first, you need to identify whether this is the problem. Did you
remove the Anonymous READ policy from your 2012 collection after it
already had items in it? In that case they will still have Anonymous
READ access, because items inherit collection policies only during
submission.

After you verified that the items still have Anonymous READ access,
you will use the wildcard tools to remove it. Compare and contrast
access policies on your 2007 and 2012 items (not collections) if you
want them to be the same.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
I am working from jspui admin login. I searched for an item in 2007 collection 
and gave its same permission for an item in 2012 collection - but still same 
issue.

Ribin Jones S.B 


- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: jayachandra B jayachandra1...@gmail.com, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 2:23:09 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

On Mon, May 27, 2013 at 10:34 AM,  ribin.jo...@niist.res.in wrote:
 I have the Anonymous READ access for the 2012 collection. Also, I checked an 
 item in 2007 collection and gave the same permission for an item in 2012 
 collection...but issue is still the same.

OK, I should have been more specific. Check the item's *bitstream*
Anonymous READ policy.

This is what you want to remove:
http://i.imgur.com/atDVDu9.png


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] SS attached - Re: how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
Pls find the attached screenshots..Item#44 asks for uname/pwd while trying to 
download while Item#42 doesn't.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Sent: Monday, May 27, 2013 3:22:00 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

I now notice that within the same 2007 collection itself, some journals docs 
are downloadable now and some others not.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Sent: Monday, May 27, 2013 3:10:28 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

http://ir.niist.res.in:8080/jspui/handle/123456789/18

http://ir.niist.res.in:8080/jspui/handle/123456789/223

We can have a logmein session or so if needed.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: jayachandra B jayachandra1...@gmail.com, dspace-tech 
dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 3:03:33 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users

On Mon, May 27, 2013 at 11:23 AM,  ribin.jo...@niist.res.in wrote:
 I am working from jspui admin login. I searched for an item in 2007 
 collection and gave its same permission for an item in 2012 collection - but 
 still same issue.

Send either a link to the 2007 and 2012 items or screenshots of the
authorizations screen for both items.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] SS attached - Re: how to disable download form communities and collection for unregistered users

2013-05-27 Thread ribin . jones
Ah...sorry...you noticed it earlier..but I saw it just now.

Ribin 

- Original Message -
From: ribin jones ribin.jo...@niist.res.in
To: heli...@centrum.sk
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 5:22:15 PM
Subject: Re: SS attached - Re: [Dspace-tech] how to disable download form 
communities and collection for unregistered users

See the attachment. When I search for id 42, it shows 41 (ID = 42)..Not sure 
why it is so.

Ribin 


- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Monday, May 27, 2013 5:09:14 PM
Subject: Re: SS attached - Re: [Dspace-tech] how to disable download form 
communities and collection for unregistered users

On Mon, May 27, 2013 at 12:08 PM,  ribin.jo...@niist.res.in wrote:
 Pls find the attached screenshots..Item#44 asks for uname/pwd while trying to 
 download while Item#42 doesn't.

You sent me the screenshots for items 123456789/44 and 123456789/41,
which both require passwords. So I can't see the difference there.
Please, send me the screenshot also for 123456789/42 so that I can
compare it to one of those you sent me.

This is the current situation:

123456789/44 password
123456789/42 no password
123456789/41 password

Please, note, that handle (123456789/41) is not the same as item_id (ID=42).

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] how to disable download form communities and collection for unregistered users

2013-05-26 Thread ribin . jones
Let me explain my situation:

I have a Community by name Journal Articles and I have various collections in 
this community namely 2007, 2008, 2012 etc. In these collections we have 
various documents. While accessing a journal from 2007 and 2008 collection, it 
shows the abstract and the basic info regarding a journal and while we try to 
download the journal, it asks for uname/pwd (any registered user can access and 
this is an easy process to get anyone to have a user account). But in my 2012 
collections, it is possible to download the journal - it never asks for a 
username/pwd). I don;t know why it works in 2007 and 2008 collections and not 
in 2012 collection. 

Let me know if you need any further info.

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: Andrea Bollini a.boll...@cineca.it
To: dspace-tech@lists.sourceforge.net
Sent: Friday, May 24, 2013 3:18:41 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users



You should change the default bitstream read policy of any collections so to 
give permission to a specific group say: Registred users. 
https://wiki.duraspace.org/display/DSDOC3x/Functional+Overview#FunctionalOverview-Authorization
 

You don't need to put people inside this grop manually, instead you can use the 
login.specialgroup configuration for the PasswordLogin 
login.specialgroup = Registred users 
https://wiki.duraspace.org/display/DSDOC3x/Authentication+Plugins#AuthenticationPlugins-ConfiguringAuthenticationbyPassword
 

Hope this help, 
Andrea 

Il 24/05/2013 11:41, ribin.jo...@niist.res.in ha scritto: 


My motive is to keep a track of who all access which documents. 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India www.niist.res.in Mob: +91 9895226242 

- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com To: ribin jones 
ribin.jo...@niist.res.in Cc: dspace-tech 
dspace-tech@lists.sourceforge.net Sent: Friday, May 24, 2013 3:00:03 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users


Hi Ribin 


Doesn't this request obviate the open access nature of an institutional 
repository. 
DSpace was built to be an open access institutional repository vehicle. 
I also do not think it was meant to be a peer-reviewed system for submission of 
academic articles. 
Perhaps the mission and scope of DSpace has changed, I am not sure. 
Recently a set core principles was released. Perhaps someone on this list can 
point us to the online documentation regarding these core principles. 


Regards 


hg 



On 24 May 2013 11:22,  ribin.jo...@niist.res.in  wrote: 


Hi, 

I have created a Community in dspace. How do we set permission in Communities 
and Collections so that when an anonymous user tries to download the file asks 
for the email address and password? 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India www.niist.res.in Mob: +91 9895226242 


-- 
Try New Relic Now  We'll Send You this Cool Shirt 
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your 
browser, app,  servers with just a few lines of code. Try New Relic 
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may 
___ 
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 


-- 

CINECA  
Andrea Bollini 
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria 
Divisione Ricerca 
Via dei Tizii, 6 
00185 Roma , Italy 
tel. +39 06 59 292 853 - mob. +39 348 82 77 525 
http://www.cineca.it 
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists

[Dspace-tech] how to disable download form communities and collection for unregistered users

2013-05-24 Thread ribin . jones
Hi,

I have created a Community in dspace. How do we set permission in Communities 
and Collections so that when an anonymous user tries to download the file asks 
for the email address and password?

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] how to disable download form communities and collection for unregistered users

2013-05-24 Thread ribin . jones
My motive is to keep a track of who all access which documents. 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech dspace-tech@lists.sourceforge.net
Sent: Friday, May 24, 2013 3:00:03 PM
Subject: Re: [Dspace-tech] how to disable download form communities and 
collection for unregistered users


Hi Ribin 


Doesn't this request obviate the open access nature of an institutional 
repository. 
DSpace was built to be an open access institutional repository vehicle. 
I also do not think it was meant to be a peer-reviewed system for submission of 
academic articles. 
Perhaps the mission and scope of DSpace has changed, I am not sure. 
Recently a set core principles was released. Perhaps someone on this list can 
point us to the online documentation regarding these core principles. 


Regards 


hg 



On 24 May 2013 11:22,  ribin.jo...@niist.res.in  wrote: 


Hi, 

I have created a Community in dspace. How do we set permission in Communities 
and Collections so that when an anonymous user tries to download the file asks 
for the email address and password? 

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 


-- 
Try New Relic Now  We'll Send You this Cool Shirt 
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your 
browser, app,  servers with just a few lines of code. Try New Relic 
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may 
___ 
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 




-- 


Hilton Gibson 
Systems Administrator 
JS Gericke Library 
Room 1025C 
Stellenbosch University 
Private Bag X5036 
Stellenbosch 
7599 
South Africa 


Tel: +27 21 808 4100 | Cell: +27 84 646 4758 
http://library.sun.ac.za 
http://scholar.sun.ac.za 
http://ar1.sun.ac.za 
http://aj1.sun.ac.za 

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
Hi,

I am getting the below error while I am doing keyword search in Collections and 
Communities of dspace. I am a newbie and please help me out:

2013-05-22 12:18:37,064 INFO  org.dspace.app.webui.servlet.CommunityListServlet 
@ 
anonymous:session_id=3A68B48FDB6F78295600FECEE2757233:ip_addr=10.10.100.1:view_community_list:
2013-05-22 12:18:39,803 INFO  org.dspace.app.webui.servlet.DSpaceServlet @ 
anonymous:session_id=3A68B48FDB6F78295600FECEE2757233:ip_addr=10.10.100.1:view_collection:collection_id=17
2013-05-22 12:18:39,803 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=3A68B48FDB6F78295600FECEE2757233:ip_addr=10.10.100.1:browse_mini:
2013-05-22 12:18:45,504 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=3A68B48FDB6F78295600FECEE2757233:internal_error:-- URL Was: 
http://ir.niist.res.in:8080/jspui/simple-search?query=biodiesel
-- Method: GET
-- Parameters were:
-- query: biodiesel

java.io.IOException: read past EOF
at 
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146)
at 
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66)
at org.apache.lucene.index.SegmentInfos$2.doBody(SegmentInfos.java:357)
at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
at 
org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:349)
at 
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:350)
at 
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:334)
at 
org.apache.lucene.index.IndexReader.getCurrentVersion(IndexReader.java:319)
at org.dspace.search.DSQuery.getSearcher(DSQuery.java:482)
at org.dspace.search.DSQuery.doQuery(DSQuery.java:148)
at 
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:242)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)


Is it something related to permission issues in any files/folder in the 
backend? I am running Dspace 1.5.2 in Ubuntu 12.04


Regards,

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
I am new to this whole thing...Could you pls be specific on solving this issue?

Regards,

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech DSpace-tech@lists.sourceforge.net
Sent: Wednesday, May 22, 2013 1:02:32 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search

On Wed, May 22, 2013 at 8:59 AM,  ribin.jo...@niist.res.in wrote:
 java.io.IOException: read past EOF
 at 
 org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146)
 at 
 org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)

Hi Ribin,

it seems like this issue in Lucene:
https://issues.apache.org/jira/browse/LUCENE-2729

 Is it something related to permission issues in any files/folder in the 
 backend? I am running Dspace 1.5.2 in Ubuntu 12.04

Probably not, but it never hurts to run
chown -R [dspace-user]:[dspace-group] [dspace]/search

It seems your lucene index has become corrupted for some reason. It's
no big deal, it can be easily recreated. Stop Tomcat and run
[dspace]/bin/dspace index-init -r -v

This can take a while but the error should go away after you start
Tomcat. If the error ever occurs again, don't hesitate to contact us
and we'll try to investigate further.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
I get the below error:

root@itlab:/home/dspace/log# java -cp 
/home/dspace/lib/lucene-core-2.3.0.jar-ea:org.apache.lucene... 
org.apache.lucene.index.CheckIndex /home/dspace/search/ -fix
Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/lucene/index/CheckIndex
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.index.CheckIndex
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.apache.lucene.index.CheckIndex. Program will 
exit.

Our Dspace is version 1.5.2 and lucene 2.3 ...Pls chk whether the syntax of the 
command I have given above is correct.

Regards,

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech DSpace-tech@lists.sourceforge.net
Sent: Wednesday, May 22, 2013 2:14:20 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search

That means that the error is also triggered when indexing, not just
when querying the index. Try this to fix the index structure:

java -cp /home/dspace/lib/lucene-core-3.5.0.jar
-ea:org.apache.lucene... org.apache.lucene.index.CheckIndex
/home/dspace/search -fix

This assumes DSpace 3. If you're using an older version, lucene-core
version may also be different.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
Did that...It says:

root@itlab:/home/dspace/log# java -cp /home/dspace/lib/lucene-core-2.3.0.jar 
-ea:org.apache.lucene... org.apache.lucene.index.CheckIndex 
/home/dspace/search/ -fix

Opening index @ /home/dspace/search/

Segments file=segments_x4 numSegments=0 version=FORMAT_SHARED_DOC_STORE [Lucene 
2.3]
No problems were detected with this index.

But still my keyword searching problem exists.

Regards,

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech DSpace-tech@lists.sourceforge.net
Sent: Wednesday, May 22, 2013 2:32:01 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search


On Wed, May 22, 2013 at 10:54 AM,  ribin.jo...@niist.res.in  wrote: 
 root@itlab:/home/dspace/log# java -cp 
 /home/dspace/lib/lucene-core-2.3.0.jar-ea:org.apache.lucene... 
 org.apache.lucene.index.CheckIndex /home/dspace/search/ -fix 

There should be a space before -ea. Here's the full command for you: 


java -cp /home/dspace/lib/lucene-core-2.3.0.jar -ea:org.apache.lucene... 
org.apache.lucene.index.CheckIndex /home/dspace/search/ -fix 



Regards, 
~~helix84 

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
Hi,

I had a working dspace and suddenly it stopped working..I am trying to fix it.

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: Hilton Gibson hilton.gib...@gmail.com
To: ribin jones ribin.jo...@niist.res.in
Cc: Ivan Masár heli...@centrum.sk, dspace-tech 
DSpace-tech@lists.sourceforge.net
Sent: Wednesday, May 22, 2013 2:42:23 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search


Ok. To be clear you are using Ubuntu 12.04 with DSpace 1.5.2 and want the XMLUI 
to be the default. 


If so, please review: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Dspace 


The wiki guide is a step-by-step procedure for the installation and setup of an 
institutional repository, based Ubuntu 12.04 LTS and DSpace 1.8.2. 


It has been used quite extensively and a PDF version is available from here: 
http://hdl.handle.net/10019.1/79321 


All these materials are free to use and distribute as you please, 


Cheers 


hg 





On 22 May 2013 10:03,  ribin.jo...@niist.res.in  wrote: 


I am new to this whole thing...Could you pls be specific on solving this issue? 

Regards, 

Ribin Jones S.B 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message - 
From: helix84  heli...@centrum.sk  
To: ribin jones  ribin.jo...@niist.res.in  
Cc: dspace-tech  DSpace-tech@lists.sourceforge.net  
Sent: Wednesday, May 22, 2013 1:02:32 PM 
Subject: Re: [Dspace-tech] Internal server error while doing keyword search 

On Wed, May 22, 2013 at 8:59 AM,  ribin.jo...@niist.res.in  wrote: 
 java.io.IOException: read past EOF 
 at 
 org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146)
  
 at 
 org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
  

Hi Ribin, 

it seems like this issue in Lucene: 
https://issues.apache.org/jira/browse/LUCENE-2729 

 Is it something related to permission issues in any files/folder in the 
 backend? I am running Dspace 1.5.2 in Ubuntu 12.04 

Probably not, but it never hurts to run 
chown -R [dspace-user]:[dspace-group] [dspace]/search 

It seems your lucene index has become corrupted for some reason. It's 
no big deal, it can be easily recreated. Stop Tomcat and run 
[dspace]/bin/dspace index-init -r -v 

This can take a while but the error should go away after you start 
Tomcat. If the error ever occurs again, don't hesitate to contact us 
and we'll try to investigate further. 


Regards, 
~~helix84 

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette 

-- 
Try New Relic Now  We'll Send You this Cool Shirt 
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your 
browser, app,  servers with just a few lines of code. Try New Relic 
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may 
___ 
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 




-- 


Hilton Gibson 
Systems Administrator 
JS Gericke Library 
Room 1025C 
Stellenbosch University 
Private Bag X5036 
Stellenbosch 
7599 
South Africa 


Tel: +27 21 808 4100 | Cell: +27 84 646 4758 
http://library.sun.ac.za 
http://scholar.sun.ac.za 
http://ar1.sun.ac.za 
http://aj1.sun.ac.za

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Internal server error while doing keyword search

2013-05-22 Thread ribin . jones
Great...It worked!!!

Thanks very much. :)

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre 
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology), 
Govt. of India 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala, India 
www.niist.res.in 
Mob: +91 9895226242 

- Original Message -
From: helix84 heli...@centrum.sk
To: ribin jones ribin.jo...@niist.res.in
Cc: dspace-tech DSpace-tech@lists.sourceforge.net
Sent: Wednesday, May 22, 2013 2:46:21 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search

OK, try this:

1) stop Tomcat
2) mv /home/dspace/search /home/dspace/search.bak
3) mkdir /home/dspace/search
4) /home/dspace/bin/dspace index-init -r -v
5) start Tomcat


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
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] Identify d-space version

2012-05-30 Thread ribin . jones
Hi,

I am new to DSpace. How do we identify the version of D-space which is 
currently installed in a server? Is there any particular configuration 
file/README file where it is written?

Thanks,

Ribin Jones S.B 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace migration to a new server

2012-05-29 Thread ribin . jones
Hi,

I am a newbie to D-Space. Please correct me if I am wrong and guide me to get a 
solution. 

We have a D-Space server running for several years now and I need to install a 
new server and have the latest 1.8.2 version installed. I come from a 
Networking background and joined recently in this Institute and here I need to 
manage the servers as well. I have installed D-Space in Ubuntu 10.4 and got it 
working. But right now, I need to migrate the contents of my old server to the 
new one. Do we have any process to do it? I tried to take postgre sql dump and 
restored in the new server - but nothing really happened. In fact, I am not 
sure whether I did the right steps also. Please help me out in this issue.

Regards,

Ribin Jones S.B 
Scientist 
IT LAB, Knowledge Resource Centre, 
National Institute for Interdisciplinary Science and Technology (NIIST) 
(Formerly Regional Research Laboratory) 
CSIR, Govt. of India, 
Pappanamcode, Thiruvananthapuram - 695019 
Kerala 
www.niist.res.in 
Mob: +91 9895226242 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech