Re: [Dspace-tech] help with dspace on windows

2015-08-05 Thread Luiz dos Santos
Did you deploy the jspui in the Tomcat?
Em 05/08/2015 00:54, manindra manindra.gun...@gmail.com escreveu:

 Hi,
 I need a help from you...i think u can do this.

 Im installing dspace on centOS ...everything went fine.
 Java jdk, maven, ant, tomcat, postgresql...everthing installed
 successfully.
 But when i open web browser and type the localhost address with port number
 along with jspui.
 i.e., http://192.168.108.31:8080/jspui
 Iam getting the following error.
 *HTTP Status 404 - /jspui

 type Status report

 message /jspui

 description The requested resource is not available.
 Apache Tomcat/8.0.24*

 i have tried so many ways to rectify it though i dont have any idea on
 dspace. Im totally new to this environment. i couldnt get the error solved.
 could you please help me.
 i can provide the supporting files neccessary if any changes u can do to
 those.

 Thank you in advance,
 Manindra.



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/Dspace-tech-help-with-dspace-on-windows-tp3286924p4679106.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 ___
 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 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] help with dspace on windows

2015-08-04 Thread manindra
Hi,
I need a help from you...i think u can do this.

Im installing dspace on centOS ...everything went fine.
Java jdk, maven, ant, tomcat, postgresql...everthing installed successfully.
But when i open web browser and type the localhost address with port number
along with jspui.
i.e., http://192.168.108.31:8080/jspui 
Iam getting the following error. 
*HTTP Status 404 - /jspui

type Status report

message /jspui

description The requested resource is not available.
Apache Tomcat/8.0.24*

i have tried so many ways to rectify it though i dont have any idea on
dspace. Im totally new to this environment. i couldnt get the error solved.
could you please help me.
i can provide the supporting files neccessary if any changes u can do to
those.

Thank you in advance,
Manindra.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-tech-help-with-dspace-on-windows-tp3286924p4679106.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
___
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] HELP: Updating JSPUI Front End Files DSpace 5.2

2015-06-18 Thread Yongming Wang
That's exactly what I'm trying to learn right now!

I just wish that there is some kind of DSpace training class or workshop 
available, either online or offline. Better, a training class towards a 
certificate of DSpace administrator. I think it would be a good business. 



Yongming 

-
Yongming Wang
Systems Librarian
The College of New Jersey Library
phone: 609-771-3337
email: wan...@tcnj.edu
-

- Original Message -
From: Rwakimari Arnold Babasa realns...@gmail.com
To: dspace-tech@lists.sourceforge.net
Sent: Thursday, June 18, 2015 2:52:15 AM
Subject: [Dspace-tech] HELP: Updating JSPUI Front End Files DSpace 5.2

Hi There, 
I hope everyone is in good health. I am new to DSpace and as an IT 
administrator in a University I work for I was tasked on setting up DSpace. I 
have gotten a bit of experience especially when it came to Installing and 
setting up DSpace. I have gotten some knowledge on how Maven and Ant work, as 
well as Tomcat and so on. I have also become fairly familiar with how to build 
DSpace after making small or major configuration changes. 

I am stuck however, with when it comes to making interface changes, style and 
layout and adding new images. Whenever I make changes and for some reason I 
have to rebuild, everything gets lost and I have to re-do my stylesheet and say 
for example header layout changes. Is there a way to make these changes so that 
when I perform an ant update the changes I make in my [dspace]/webapps folder 
do not change? 

Thank you for your assistance. 



--

___
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 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] HELP: Updating JSPUI Front End Files DSpace 5.2

2015-06-18 Thread Rwakimari Arnold Babasa
Thanks Gibson for the valuable information. It has definitely taken me on
the right steps. Wang, Yes a detailed tutorial on this would be amazing.

On Thu, 18 Jun 2015 at 15:25 Yongming Wang wan...@tcnj.edu wrote:

 That's exactly what I'm trying to learn right now!

 I just wish that there is some kind of DSpace training class or workshop
 available, either online or offline. Better, a training class towards a
 certificate of DSpace administrator. I think it would be a good business.



 Yongming

 -
 Yongming Wang
 Systems Librarian
 The College of New Jersey Library
 phone: 609-771-3337
 email: wan...@tcnj.edu
 -

 - Original Message -
 From: Rwakimari Arnold Babasa realns...@gmail.com
 To: dspace-tech@lists.sourceforge.net
 Sent: Thursday, June 18, 2015 2:52:15 AM
 Subject: [Dspace-tech] HELP: Updating JSPUI Front End Files DSpace 5.2

 Hi There,
 I hope everyone is in good health. I am new to DSpace and as an IT
 administrator in a University I work for I was tasked on setting up DSpace.
 I have gotten a bit of experience especially when it came to Installing and
 setting up DSpace. I have gotten some knowledge on how Maven and Ant work,
 as well as Tomcat and so on. I have also become fairly familiar with how to
 build DSpace after making small or major configuration changes.

 I am stuck however, with when it comes to making interface changes, style
 and layout and adding new images. Whenever I make changes and for some
 reason I have to rebuild, everything gets lost and I have to re-do my
 stylesheet and say for example header layout changes. Is there a way to
 make these changes so that when I perform an ant update the changes I make
 in my [dspace]/webapps folder do not change?

 Thank you for your assistance.




 --

 ___
 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 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] HELP: Updating JSPUI Front End Files DSpace 5.2

2015-06-18 Thread Rwakimari Arnold Babasa
Hi There,
I hope everyone is in good health. I am new to DSpace and as an IT
administrator in a University I work for I was tasked on setting up DSpace.
I have gotten a bit of experience especially when it came to Installing and
setting up DSpace. I have gotten some knowledge on how Maven and Ant work,
as well as Tomcat and so on. I have also become fairly familiar with how to
build DSpace after making small or major configuration changes.

I am stuck however, with when it comes to making interface changes, style
and layout and adding new images. Whenever I make changes and for some
reason I have to rebuild, everything gets lost and I have to re-do my
stylesheet and say for example header layout changes. Is there a way to
make these changes so that when I perform an ant update the changes I make
in my [dspace]/webapps folder do not change?

Thank you for your assistance.
--
___
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] Help for dspace backup/restore

2015-05-14 Thread Emmanuel Wilson
hello all.using database + assetstore restore method

i tried this.*pg_dump/psql*

backup:

pg_dump -U username -f backup.sql database_name

restore:

psql -d database_name -f backup.sql

it works something like import.alter table, create table etc.
i restarted tomcat.but only communities are camewhen i enter in to
it no records found. i already copied the assetstore at /home/dspace/
--
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] Help for dspace backup/restore

2015-05-14 Thread Andrea Schweer

  
  
Hi,

you probably just need to reindex for discovery
[dspace]/bin/dspace index-discovery -bo

cheers,
Andrea

On 14/05/15 19:14, Emmanuel Wilson
  wrote:


  hello all.using database + assetstore restore
method



  i tried this.pg_dump/psql
  backup:
  pg_dump -U username -f backup.sql database_name
  restore:
  psql -d database_name -f backup.sql
  
it works something like
  import.alter table, create table etc.
i restarted tomcat.but only
  communities are camewhen i enter in to it no records
  found. i already copied the assetstore at /home/dspace/
  

  
  
  
  
  --
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


-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
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] Help for dspace backup/restore

2015-05-13 Thread Emmanuel Wilson
i found something good on this topic:
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

Flavio Vieira Pontes https://wiki.duraspace.org/display/~flavio

Is it possible to use AIP to move the entire site from a earlier version to
the most recent version?

   - Jan 24, 2014
   
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore?focusedCommentId=43319812#comment-43319812


   1.

   [image: User icon: tdonohue]
   https://wiki.duraspace.org/display/~tdonohue
   Tim Donohue https://wiki.duraspace.org/display/~tdonohue

   Yes, it should be possible to use the AIP tools to upgrade from one
   version to another.  Though there are some limitations:
   - Your older version of DSpace would need to be *at least* DSpace 1.7
  (AIP Backup tools do not exist prior to DSpace 1.7)
  - If you are using the newer Item Level Versioning feature, AIPs do
  NOT capture all versions of Items, so any prior versions of
Items would be
  lost. AIPs also do NOT capture in-process items (e.g. deposits
which users
  have begun in DSpace but never completed), so those would be
lost as well.
  See the details of what is and is not supported in AIP backups in this
  section above: How does this differ from traditional DSpace Backups?
  
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-HowdoesthisdifferfromtraditionalDSpaceBackups?WhichBackuprouteisbetter
  - When importing into the new version of DSpace, you MUST use the
   Restore/Replace Mode (-r) documented above.  Otherwise your
handles will
  not be restored properly.
  - I'd *highly recommend* testing the process first on a test server
  before trying it in Production. There have been various bug fixes to the
  AIP backup  restore process in recent versions (1.8, 3.0, 4.0), so you
  really should fully test that it will work properly for you.

   Based on all those limitations, it may or may not be easier than just
   performing a normal DSpace Upgrade
   https://wiki.duraspace.org/display/DSDOC4x/Upgrading+DSpace
--
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] Help for dspace backup/restore

2015-05-13 Thread Tim Donohue
Hi Emmanuel,

I'd recommend checking your DSpace logs then after running the Restore 
command. It's possible an error is being reported in the logs. For more 
info on this see 
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

- Tim

On 5/12/2015 11:36 PM, Emmanuel Wilson wrote:
 hello

 Yes. EPerson named dspace@localhost in my DSpace is the administer.

 Yes. handle.prefix value really 1 bcz i found it at CNRI handle
 prefix = 1.


--
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] Help for dspace backup/restore

2015-05-12 Thread Emmanuel Wilson
hello

Yes. EPerson named dspace@localhost in my DSpace is the administer.

Yes. handle.prefix value really 1 bcz i found it at CNRI handle prefix
= 1.
--
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] Help for dspace backup/restore

2015-05-12 Thread Tim Donohue
Hi Emmanuel,

The process sounds correct, but as Olivier mentioned, you may want to 
restore to a DSpace 3.x instance (since you exported from 3.1). After 
the restore, you can then upgrade to DSpace 4.2.

Also, a few of the arguments to your restore command don't look correct:

-e dspace@localhost

The -e argument specifies the EPerson in DSpace to run the command as. 
Is there really an EPerson named dspace@localhost in your DSpace?

-i 1/0

The -i argument specifies the identifier of the object under which the 
content should be restored. When performing a full site restore, this 
identifier should end in /0 (which is what you have). But, you should 
specify your Handle prefix before the /0 (i.e. the value of 
handle.prefix in your dspace.cfg file).  Is your handle.prefix value 
really 1?  If not, this -i argument value should be changed to 
[handle.prefix]/0

If you are still having issues, please check your logs for specific 
error messages, and send those errors to this mailing list. Some notes 
on locating errors in logs are at:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

More notes on the restore command are in the AIP documentation at:
https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

- Tim

On 5/11/2015 1:35 AM, Emmanuel Wilson wrote:
 Hello all.

 i backup zip entire site files using AIP command which includes
 backup.zip communities, collections and items.

 then i restore it in to another PC (dspace 4.2) using restore command :
 ./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
 /home/dspace/backup/backup.zip

 actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
 doesnot work for me.is that correct way?? my pc running out of storage.


 --
 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] Help for dspace backup/restore

2015-05-11 Thread Olivier Nicole
Emmanuel,

 i backup zip entire site files using AIP command which includes backup.zip
 communities, collections and items.

 then i restore it in to another PC (dspace 4.2) using restore command :
 ./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
 /home/dspace/backup/backup.zip

 actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
 doesnot work for me.is that correct way?? my pc running out of storage.

I am not a DSpace specialist on that matter (nor on any matter in fact)
but usually you will backup 3.1 and restore to 3.1 and the only update
to 4.2. This is true for just any software.

Best regards,

Olivier


 [1/2:text/html Show]


 [2:text/plain Hide]

 --
 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

 [3:text/plain Hide]

 ___
 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


[Dspace-tech] Help for dspace backup/restore

2015-05-11 Thread Emmanuel Wilson
Hello all.

i backup zip entire site files using AIP command which includes backup.zip
communities, collections and items.

then i restore it in to another PC (dspace 4.2) using restore command :
./dspace packager -r -a -f -t AIP -e dspace@localhost -i 1/0
/home/dspace/backup/backup.zip

actually i tried to restore files from dspace 3.1 to dspace 4.2 . But it
doesnot work for me.is that correct way?? my pc running out of storage.
--
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] Help dspace https configuration

2015-05-11 Thread Tim Donohue
Hi Makanda,

Have you tried the instructions on Using SSL with Apache in front of 
Tomcat that are in the official Installation docs?

https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-UsingSSLonApacheHTTPDinfrontofTomcat%28runningonports80and443%29

Those should provide a (mostly) step-by-step guide. I would recommend 
FIRST getting DSpace running in Tomcat (on port 8080), as that will 
ensure that you have all the DSpace prerequisites and everything else 
setup properly. Those basic installation instructions for DSpace are at:

* DSpace 4.x install instructions: 
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace
* DSpace 5.x install instructions: 
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace

After DSpace is running in Tomcat on port 8080, THEN you can install 
Apache HTTP Server and configure it to run DSpace on port 80 and via 
SSL. Again, those instructions are at:

https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-UsingSSLonApacheHTTPDinfrontofTomcat%28runningonports80and443%29

If there are specific issues you are having with those instructions, I'd 
recommend sending those specific questions to this mailing list.

(NOTE: If you are installing a brand new copy of DSpace, you may wish to 
install either DSpace 4.3 OR DSpace 5.1 (latest version). There were 
security issues in DSpace 4.2 that have been resolved in 4.3 or 5.1. See 
these Release notes for more info: 
https://wiki.duraspace.org/display/DSDOC4x/Release+Notes)

- Tim

On 5/9/2015 3:06 AM, Makanda Maxwel wrote:
 Hello,

 Kindly please help me with step by step procedure how to configure
 dspace to use apache2 ssl https and also how to configure dspace 4.2 to
 use host-name without the port no 8080 nor xmlui at the end am using
 tomcat7. Have scanned huge pages in net without gain.

 Am quite stuck and hopefully you the only hope i have.

 Quite grateful for any help offered.

 Makanda.


 --
 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] Help with :- DSpace: Internal Server Error

2015-03-19 Thread Alex D
I've checked your case and assume this is because of one (ore more) of the
submissions has Issue date EMTPY or NULL. That's why it's not working only
in Issue date filter and DESCEND combination. Null values should go right
on the first result page - thats why it throws exception.
To check this - you choose ASCEND - it works ok for all listing pages -
excep LAST one - so that NULL issue date submission is sorted to be last. We
know that this field is obligatory - maybe error was during manual
restore\backup process or straight DB edit.

One thing I can advise to know it for sure - check the table in database or
query DB with SELECT statement to detect that cpecific record and UPDATE it
(or them) with some year.

Hope this will help you!
Good luck!



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Help-with-DSpace-Internal-Server-Error-tp4677083p4677098.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] Help with :- DSpace: Internal Server Error

2015-03-18 Thread Herbert Nguruwe


Date:   3/18/15 5:03 PM

Session ID: 2656A125703BCD8432E933EA9D8B1202

User:   Anonymous

IP address: 0:0:0:0:0:0:0:1



-- URL Was: 
http://digitalknowledge.cput.ac.za/jspui/browse?sort_by=2order=DESCrpp=100

-- Method: GET

-- Parameters were:

-- rpp: 100

-- sort_by: 2

-- order: DESC





Exception:

org.apache.jasper.JasperException: java.lang.NullPointerException

at 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:548)

at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:469)

at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)

at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)

at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)

at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)

at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)

at 
org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)

at 
org.dspace.app.webui.servlet.BrowserServlet.showFullPage(BrowserServlet.java:160)

at 
org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(AbstractBrowserServlet.java:353)

at 
org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.java:81)

at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)

at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

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:239)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)

at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)

at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)

at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)

at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)

at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)

at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)

at 

Re: [Dspace-tech] Help - Dspace cannot show video files

2015-02-13 Thread Aleksandar Stojanov
Hello,

Fernando: Your video is fine, the download occurs as DSpace is Information
retrieval system and that is expected behavior. However, if you want your
users to play the video online, then there are few requirements that are
server side related and have nothing to do with DSpace:
1. Make sure you are serving video files properly (Extension name,
Mime-type etc..)
2. You server must respond with Status 206 for partial content. In
addition, it must include Range header field
3. If you want progressive download or pseudo streaming, If-Range header
field must also be included.
If you have DSpace with Tomcat only, you probably have to do this yourself
as Tomcat is not a web server but servlet container and it will respond
only with Status 200 OK (Only download the file). In Apache this is enabled
by default. If you have Tomcat with Apache via proxy, in theory this should
also work by default.

After that its straight forward. Create video element like Bruno said or
use some ready-made video player like JW, MediaElements etc..

If you want to skip seconds or create offsets from where your video to
start playing, make sure you include preload=metadata in video element.


https://tools.ietf.org/html/rfc7233

Hope this helps,

Aleksandar Stojanov




On Thu, Feb 12, 2015 at 6:54 PM, Bruno Zanette brunonzane...@gmail.com
wrote:

 Hi Fernando (ou melhor, Dae Fernando!! uhauhaahu Vou falar em ingles
 para manter o padrão da lista)

 It seems to be a problem with video format, which is not proper for
 streaming.
 I've submitted your video to Dspace Demo Site and a sample video file
 (on MP4 format), and used a HTML5 video tag to test them, so we can
 rule out server configuration problems. Sample video plays fine, but
 not yours.

 Sample video:
 http://demo.dspace.org/xmlui/handle/10673/141
 https://demo.dspace.org/rest/items/75?expand=all


 --
 video width=400 controls
 source src=
 http://demo.dspace.org/xmlui/bitstream/handle/10673/141/ed_1024.mp4?sequence=1isAllowed=y
 
 type=video/mp4
 /video

 --

 Your video:
 http://demo.dspace.org/xmlui/handle/10673/142
 https://demo.dspace.org/rest/items/76?expand=all


 --
 video width=400 controls
 source src=
 http://demo.dspace.org/xmlui/bitstream/handle/10673/142/paraolimpiadas_atletismo_100m_masc_t13.mov?sequence=1isAllowed=y
 
 type=video/quicktime
 /video

 --

 I'm also working on a project to create a Video Portal to store
 recorded classes of our University's teachers (UFPR) using Dspace as
 basis, but we are using REST-API instead of XMLUI-API, because it is
 easier to customize it. On the actual point of the project it's
 already possible to watch videos (but it's not possible to seek time
 yet). If you need some help feel free to contact me so that we can
 change some ideas!

 2015-02-12 14:13 GMT-02:00 Fernando Pereira Filgueiras
 fpfilgueiras2...@gmail.com:
  Hi everybody!
 
  Something is wrong with my environment! (its a  new install and
  configuration)
  At first, when I try to reproduce some video through website, only
 download
  is occuring.
  Take a look at this single file, and try to open it directly:
 
  http://tv.eeferp.usp.br:8080/xmlui/handle/123456789/18
 
  Can someone help me?
 
  Thanks in advance.
 
 
  Fernando P. Filgueiras
  http://fpfdesigntech.com.br
  fernando.filguei...@usp.br
  +55 16 9 9231-4794 (Cel Phone)
  +55 16 2138-4284 (office)
 
 
 --
  Dive into the World of Parallel Programming. The Go Parallel Website,
  sponsored by Intel and developed in partnership with Slashdot Media, is
 your
  hub for all things parallel software development, from weekly thought
  leadership blogs to news, videos, case studies, tutorials and more. Take
 a
  look and join the conversation now. http://goparallel.sourceforge.net/
  ___
  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



 --
 Bruno Nocera Zanette
 +55 41 9992-2508


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 DSpace-tech mailing list
 

Re: [Dspace-tech] Help - Dspace cannot show video files

2015-02-12 Thread Bruno Zanette
Hi Fernando (ou melhor, Dae Fernando!! uhauhaahu Vou falar em ingles
para manter o padrão da lista)

It seems to be a problem with video format, which is not proper for streaming.
I've submitted your video to Dspace Demo Site and a sample video file
(on MP4 format), and used a HTML5 video tag to test them, so we can
rule out server configuration problems. Sample video plays fine, but
not yours.

Sample video:
http://demo.dspace.org/xmlui/handle/10673/141
https://demo.dspace.org/rest/items/75?expand=all

--
video width=400 controls
source 
src=http://demo.dspace.org/xmlui/bitstream/handle/10673/141/ed_1024.mp4?sequence=1isAllowed=y;
type=video/mp4
/video
--

Your video:
http://demo.dspace.org/xmlui/handle/10673/142
https://demo.dspace.org/rest/items/76?expand=all

--
video width=400 controls
source 
src=http://demo.dspace.org/xmlui/bitstream/handle/10673/142/paraolimpiadas_atletismo_100m_masc_t13.mov?sequence=1isAllowed=y;
type=video/quicktime
/video
--

I'm also working on a project to create a Video Portal to store
recorded classes of our University's teachers (UFPR) using Dspace as
basis, but we are using REST-API instead of XMLUI-API, because it is
easier to customize it. On the actual point of the project it's
already possible to watch videos (but it's not possible to seek time
yet). If you need some help feel free to contact me so that we can
change some ideas!

2015-02-12 14:13 GMT-02:00 Fernando Pereira Filgueiras
fpfilgueiras2...@gmail.com:
 Hi everybody!

 Something is wrong with my environment! (its a  new install and
 configuration)
 At first, when I try to reproduce some video through website, only download
 is occuring.
 Take a look at this single file, and try to open it directly:

 http://tv.eeferp.usp.br:8080/xmlui/handle/123456789/18

 Can someone help me?

 Thanks in advance.


 Fernando P. Filgueiras
 http://fpfdesigntech.com.br
 fernando.filguei...@usp.br
 +55 16 9 9231-4794 (Cel Phone)
 +55 16 2138-4284 (office)

 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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



-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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] Help - Dspace cannot show video files

2015-02-12 Thread Fernando Pereira Filgueiras
Hi everybody!

Something is wrong with my environment! (its a  new install and
configuration)
At first, when I try to reproduce some video through website, only download
is occuring.
Take a look at this single file, and try to open it directly:

http://tv.eeferp.usp.br:8080/xmlui/handle/123456789/18

Can someone help me?

Thanks in advance.


Fernando P. Filgueiras
http://fpfdesigntech.com.br http://fpfdesigntech.hdfree.com.br
fernando.filguei...@usp.br
+55 16 9 9231-4794 (Cel Phone)
+55 16 2138-4284 (office)
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Help with mod_jk, SSL, and local authority cert

2015-01-30 Thread Mark H. Wood
Perhaps the code cannot recognize that the cert. you provided is the
one it wants.  It could be a host name resolution problem.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Help with mod_jk, SSL, and local authority cert

2015-01-30 Thread Andrew Reid

  Hi all --

  I'm having an issue with a local development copy of DSpace 3.2,
which I set up to try out some development ideas.  It's xmlui.

  What I did was, I copied over a production system, including
the postgres database and LDAP authentication, and all the DSpace
app files, ran the change-handle-prefix script, so the dev server
won't screw up the real prefix, and emptied the $DSPACE/handle-server
directory.  

  The copied system duplicates the production set-up in almost
all respects, I'm using an Apache 2.2 front end, running everything 
over SSL, and connecting to Tomcat 6 via the mod_jk mechanism.

  The major difference is, the copied system's Apache server
uses a local server SSL certificate (I'll call it server.pem),
which is signed by my own local authority certificate, which
I'll call authority.pem.

  Anticipating the issue I think I'm having, I configured tomcat
to read the Java keystore in /etc/pki/java/cacerts (I am on 
a CentOS system), and used the keytool system to add both
the server.pem and the authority.pem to the Java keystore,
thinking this would allow maximum flexibility for SSL connections
in all directions.
  
  It mostly works -- I can bring up the home-page, I can log
in, and I can navigate around the communities and collections,
but all the collections appear to be empty.  The communities
and collections correctly show the new, fake handle prefix (I'm 
using 123456789)

  It seems that search is not working, when I load community or
collection pages, pages, I see errors like the one below in 
the  DSpace logs.  The Cocoon logs and
the Apache logs do not show corresponding errors.

 2015-01-30 09:35:10,673 ERROR
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer
 @ Error while searching for sidebar facets
 org.dspace.discovery.SearchServiceException:
 javax.net.ssl.SSLHandshakeException:
 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target

  The actual items *are* present in the system, if I navigate to a 
specific item, https://host/dspace/xmlui/handle/123456789/item-id,
then I can view the item, and the bitstreams, and it's fine, I 
can view them directly, I just can't browse or search to them.

  So apparently solr connections are not working.

  Evidently there's some subtlety associated with the SSL 
authority cert that I'm missing -- does authority.pem need to 
be added to some other keystore somewhere?  Does it only work
for real, Verisign-type certs?  What's going on?

  Thanks in advance.

-- A.
-- 
Dr. Andrew C. E. Reid
Physical Scientist, Computer Operations Administrator
Center for Theoretical and Computational Materials Science
National Institute of Standards and Technology, Mail Stop 8555
Gaithersburg MD 20899 USA
andrew.r...@nist.gov

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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] Help with Video Streaming using files stored on Dspace

2015-01-29 Thread Evelthon Prodromou

Hi Bruno,


Not sure if this helps, I did an implementation a few years back that 
had the ability to move your player seek bar forward (pseudo-seek) for 
dspace 1.7.0/Mirage theme. Have a look at 
http://sourceforge.net/p/dspace/mailman/message/29547581/


You can see an example at 
http://lekythos.library.ucy.ac.cy/handle/10797/5826


All the best,

Evelthon Prodromou




On 01/28/2015 07:39 PM, Peter Dietz wrote:

Hi Bruno,

It's been discussed, but never solved. Currently, many sites have done 
psuedo streaming, which is actually progressive download (wait, and 
let the video buffer, and then start playback, but does not allow you 
to seek/jump beyond what has been buffered).


https://wiki.duraspace.org/pages/viewpage.action?pageId=45548591

An approach that I/others have thought of is to have a video streaming 
service that can encode/streaming-serve video files for you. Either 
have it encode/stream on the fly, or on submission to DSpace, or a 
cron media filter process, have the video be sent to a 
streaming/encoding service that can process the video in the 
background, and maybe give you a url for where a streamable version of 
the file might reside. I'm thinking, what if you built an integration 
with YouTube, that original video's submitted to DSpace, then get 
uploaded to youtube in the background. Once YouTube is ready, the 
curation task could add some metadata to your item, and your UI just 
plays a youtube video. Your repository would still have an archival 
copy of the video.




Peter Dietz
Longsight
www.longsight.com http://www.longsight.com
pe...@longsight.com mailto:pe...@longsight.com
p: 740-599-5005 x809 tel:740-599-5005%20x809

On Wed, Jan 28, 2015 at 12:27 PM, Bruno Zanette 
brunonzane...@gmail.com mailto:brunonzane...@gmail.com wrote:


Does someone have any experience on streaming videos that are stored
on Dspace in a way that is possible to seek a timestamp?

I've done some tests and i've managed to play the video, but i
couldn't seek a specific timestamp. I've did some research and found
out that it's because the methods which answers the requests don't
have support for byte-range headers. Is this right?

I've also found this article/library [1] that implements these kind of
responses, and i'm thinking about trying to append it to Dspace code,
but first i would like to know if someone have already done this (or
something like this), and also if there is an easier way to achieve
this.

[1] -
http://balusc.blogspot.co.uk/2009/02/fileservlet-supporting-resume-and.html

Any help is very welcome!!!

Thanks!

--
Bruno Nocera Zanette
+55 41 9992-2508 tel:%2B55%2041%209992-2508


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot
Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and
more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
mailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/


___
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


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Help with Video Streaming using files stored on Dspace

2015-01-28 Thread Bruno Zanette
Does someone have any experience on streaming videos that are stored
on Dspace in a way that is possible to seek a timestamp?

I've done some tests and i've managed to play the video, but i
couldn't seek a specific timestamp. I've did some research and found
out that it's because the methods which answers the requests don't
have support for byte-range headers. Is this right?

I've also found this article/library [1] that implements these kind of
responses, and i'm thinking about trying to append it to Dspace code,
but first i would like to know if someone have already done this (or
something like this), and also if there is an easier way to achieve
this.

[1] - 
http://balusc.blogspot.co.uk/2009/02/fileservlet-supporting-resume-and.html

Any help is very welcome!!!

Thanks!

-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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] Help with Video Streaming using files stored on Dspace

2015-01-28 Thread Peter Dietz
Hi Bruno,

It's been discussed, but never solved. Currently, many sites have done
psuedo streaming, which is actually progressive download (wait, and let
the video buffer, and then start playback, but does not allow you to
seek/jump beyond what has been buffered).

https://wiki.duraspace.org/pages/viewpage.action?pageId=45548591

An approach that I/others have thought of is to have a video streaming
service that can encode/streaming-serve video files for you. Either have it
encode/stream on the fly, or on submission to DSpace, or a cron media
filter process, have the video be sent to a streaming/encoding service that
can process the video in the background, and maybe give you a url for where
a streamable version of the file might reside. I'm thinking, what if you
built an integration with YouTube, that original video's submitted to
DSpace, then get uploaded to youtube in the background. Once YouTube is
ready, the curation task could add some metadata to your item, and your UI
just plays a youtube video. Your repository would still have an archival
copy of the video.



Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Wed, Jan 28, 2015 at 12:27 PM, Bruno Zanette brunonzane...@gmail.com
wrote:

 Does someone have any experience on streaming videos that are stored
 on Dspace in a way that is possible to seek a timestamp?

 I've done some tests and i've managed to play the video, but i
 couldn't seek a specific timestamp. I've did some research and found
 out that it's because the methods which answers the requests don't
 have support for byte-range headers. Is this right?

 I've also found this article/library [1] that implements these kind of
 responses, and i'm thinking about trying to append it to Dspace code,
 but first i would like to know if someone have already done this (or
 something like this), and also if there is an easier way to achieve
 this.

 [1] -
 http://balusc.blogspot.co.uk/2009/02/fileservlet-supporting-resume-and.html

 Any help is very welcome!!!

 Thanks!

 --
 Bruno Nocera Zanette
 +55 41 9992-2508


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Help on appending files to POST_ITEM requests to REST-API

2015-01-16 Thread Bruno Zanette
Nice, Peter!

For sure i'll help with the doc!! I just have to figure out how to do
it (edit the doc page), but as soon as i have some spare time i'll
login into Irc and there it is easier to get some help.

About updating the API, i don't think i have enough Java skills yet to
do it, but i'll take a look.

2015-01-15 17:16 GMT-02:00 Peter Dietz pe...@longsight.com:
 Hi Bruno,

 I've made an update to the DSpace 5.x documentation at:
 https://wiki.duraspace.org/display/DSDOC5x/REST+API
 It has a list of all the endpoints. I've been passing through and adding an
 example CURL command + JSON data for endpoints. You could help enhance the
 wiki documentation too.

 Regarding not being able to create an item with a bitstream in one pass, if
 your handy with Java, feel free to customize the REST API for your local
 institution to support that. If it simplifies the process, it could be
 something that could be contributed to the API for DSpace 6.

 
 Peter Dietz
 Longsight
 www.longsight.com
 pe...@longsight.com
 p: 740-599-5005 x809

 On Tue, Jan 13, 2015 at 2:33 PM, Bruno Zanette brunonzane...@gmail.com
 wrote:

 Thanks, once again, Peter!!

 I've figured out what you've said yesterday. I was doing some tests
 before posting my findings here. Everything seems to work fine. I was
 expecting to be more simple to do this, with only one request, but
 it's not that hard.

 I'll try to find some time to write it down and maybe someone can use
 to update the official doc.
 Right now i'm struggling to learn Ruby (On Rails) to write a simple
 app that implements these steps.

 The steps (actions) to create an item and append a bitstream to it are:

 --
 1) collections/ITEM_ID/items

 - Create a new item. The format of the request is the following (must
 have other possible tags):

 ?xml version=1.0?
 item
 metadata
 keydc.XXX.YYY/key
 valueVALUE/value
 languageLANG/language
 /metadata
 metadata.../metadata
 ...
 /item

 * ShellScript command:
 curl -k -i -4 \
   -H Content-Type: application/xml \
   -H rest-dspace-token: ${TOKEN} \
   -X POST ${DSPACEURL}/${ACTION} \
   -d@${ITEM_METADATA}

 --

 2) items/ITEM_ID/bitstreams

 - At this step only the upload of file is done. Any metadata is sent.
 Maybe there is a way to do this but i couldn't figure it out how to do
 it yet.

 * ShellScript command:
 curl -k -i -4 \
   -H rest-dspace-token: ${TOKEN} \
   -X POST ${DSPACEURL}/${ACTION} \
   -F upload=@${FILE}

 --

 3) bitstreams/BITSTREAM_ID

 - At this step is sent the missing metadata of the previous uploaded
 file.
 The format of the request is the following (must have other possible
 tags):

 ?xml version=1.0?
 bitstream
 nameFILE_NAME.xyz/name
 descriptionDESCRIPTION OF THE FILE/description
 typebitstream/type
 bundleNameORIGINAL/bundleName
 formatITEM FORMAT/format
 mimeTypeMIME/TYPE/mimeType
 /bitstream

 * ShellScript command:
 curl -k -i -4 \
   -H Content-Type: application/xml \
   -H rest-dspace-token: ${TOKEN} \
   -X PUT ${DSPACEURL}/${ACTION} \
   -d@${FILE_METADATA}

 --

 2015-01-13 16:36 GMT-02:00 Peter Dietz pe...@longsight.com:
  Hey Bruno,
 
  Sorry for the delay, very busy.
 
  Also, sorry that the documentation for DSpace 5 REST API isn't complete
  yet.
  Feel free to contribute as you discover how things work.
 
 
  It looks like you need to first create the item, as you are currently
  doing
  it:
  POST /collections/{collectionID}/items
 
  (Don't post the bitstream, only the item metadata is respected, item
  bitstream is ignored)
 
  That returns you an Item, and (including its ID).
 
  Then, you can pass the data of your file to
  POST /items/{itemID}/bitstreams
 
  Reading the code might be necessary, until the documentation is fully
  comprehensive.
 
  https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L411
 
  
  Peter Dietz
  Longsight
  www.longsight.com
  pe...@longsight.com
  p: 740-599-5005 x809
 
  On Mon, Jan 12, 2015 at 7:36 AM, Bruno Zanette brunonzane...@gmail.com
  wrote:
 
  anyone?
 
  2015-01-09 12:35 GMT-02:00 Bruno Zanette brunonzane...@gmail.com:
   Hi, I'm trying to upload files via REST-API but it is not working.
  
   In the way i'm doing the requests the items are being successfully
   created but without any file.
  
   To do the tests i'm using Curl with the following options:
  
   curl -v -k -i -4 \
 -H Content-Type: application/zip \
 -H rest-dspace-token:  \
 -X POST https://localhost:8443/rest/collections/1/items \
 -d...@request.xml
  
   The content of file request.xml is the end of the message. I wrote
   it based on the result of a GET_ITEM request of an item submitted via
   XMLUI API.
 

Re: [Dspace-tech] Help on appending files to POST_ITEM requests to REST-API

2015-01-13 Thread Peter Dietz
Hey Bruno,

Sorry for the delay, very busy.

Also, sorry that the documentation for DSpace 5 REST API isn't complete
yet. Feel free to contribute as you discover how things work.


It looks like you need to first create the item, as you are currently doing
it:
POST /collections/{collectionID}/items

(Don't post the bitstream, only the item metadata is respected, item
bitstream is ignored)

That returns you an Item, and (including its ID).

Then, you can pass the data of your file to
POST /items/{itemID}/bitstreams

Reading the code might be necessary, until the documentation is fully
comprehensive.
https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L411


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Mon, Jan 12, 2015 at 7:36 AM, Bruno Zanette brunonzane...@gmail.com
wrote:

 anyone?

 2015-01-09 12:35 GMT-02:00 Bruno Zanette brunonzane...@gmail.com:
  Hi, I'm trying to upload files via REST-API but it is not working.
 
  In the way i'm doing the requests the items are being successfully
  created but without any file.
 
  To do the tests i'm using Curl with the following options:
 
  curl -v -k -i -4 \
-H Content-Type: application/zip \
-H rest-dspace-token:  \
-X POST https://localhost:8443/rest/collections/1/items \
-d...@request.xml
 
  The content of file request.xml is the end of the message. I wrote
  it based on the result of a GET_ITEM request of an item submitted via
  XMLUI API.
 
   I'm using Dspace-master branch (5.0 Rc3), installed of Ubuntu 14.04.
 
  Does anyone knows how to do it?
  Am I doing the request correctly?
  Any tips?
 
  I've already tried to send zip files but it fails with a message of
  Unsupported media type...
 
  Thanks!
 
 
 
  item
  nameTITLE/name
  typeitem/type
  archivedtrue/archived
 
  bitstreams
  id1/id
  nameservicedocument/name
  typebitstream/type
  bundleNameORIGINAL/bundleName
  checkSum
 checkSumAlgorithm=MD563634883c3cc2b837895c3b8bda9e815/checkSum
  descriptionSERVICE_DOCUMENT/description
  formatUnknown/format
  mimeTypeapplication/octet-stream/mimeType
  retrieveLink/bitstreams/1/retrieve/retrieveLink
  sequenceId1/sequenceId
  sizeBytes2758/sizeBytes
  /bitstreams
 
  lastModified2015-01-08 14:54:48.816/lastModified
  metadatakeydc.contributor.author/keyvalueULTIMO,
  PRIMEIRO/value/metadata
  metadatakeydc.date.issued/keyvalue1234-12-12/value/metadata
 
 metadatakeydc.identifier.citation/keylanguagept_BR/languagevalueCITATION/value/metadata
 
 metadatakeydc.description/keylanguagept_BR/languagevalueDESCRICAO/value/metadata
 
 metadatakeydc.description.abstract/keylanguagept_BR/languagevalueABSTRACT/value/metadata
 
 metadatakeydc.language.iso/keylanguagept_BR/languagevaluept_BR/value/metadata
 
 metadatakeydc.publisher/keylanguagept_BR/languagevaluePUBLISHER/value/metadata
 
 metadatakeydc.title/keylanguagept_BR/languagevalueTITULO/value/metadata
 
 metadatakeydc.title.alternative/keylanguagept_BR/languagevalueOUTROS_TITULOS/value/metadata
 
 metadatakeydc.type/keylanguagept_BR/languagevalueDataset/value/metadata
  withdrawnfalse/withdrawn
  /item
 
 
  --
  Bruno Nocera Zanette
  +55 41 9992-2508



 --
 Bruno Nocera Zanette
 +55 41 9992-2508


 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 vanity: www.gigenet.com
 ___
 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

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
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] Help on appending files to POST_ITEM requests to REST-API

2015-01-12 Thread Bruno Zanette
anyone?

2015-01-09 12:35 GMT-02:00 Bruno Zanette brunonzane...@gmail.com:
 Hi, I'm trying to upload files via REST-API but it is not working.

 In the way i'm doing the requests the items are being successfully
 created but without any file.

 To do the tests i'm using Curl with the following options:

 curl -v -k -i -4 \
   -H Content-Type: application/zip \
   -H rest-dspace-token:  \
   -X POST https://localhost:8443/rest/collections/1/items \
   -d...@request.xml

 The content of file request.xml is the end of the message. I wrote
 it based on the result of a GET_ITEM request of an item submitted via
 XMLUI API.

  I'm using Dspace-master branch (5.0 Rc3), installed of Ubuntu 14.04.

 Does anyone knows how to do it?
 Am I doing the request correctly?
 Any tips?

 I've already tried to send zip files but it fails with a message of
 Unsupported media type...

 Thanks!

 
 item
 nameTITLE/name
 typeitem/type
 archivedtrue/archived

 bitstreams
 id1/id
 nameservicedocument/name
 typebitstream/type
 bundleNameORIGINAL/bundleName
 checkSum checkSumAlgorithm=MD563634883c3cc2b837895c3b8bda9e815/checkSum
 descriptionSERVICE_DOCUMENT/description
 formatUnknown/format
 mimeTypeapplication/octet-stream/mimeType
 retrieveLink/bitstreams/1/retrieve/retrieveLink
 sequenceId1/sequenceId
 sizeBytes2758/sizeBytes
 /bitstreams

 lastModified2015-01-08 14:54:48.816/lastModified
 metadatakeydc.contributor.author/keyvalueULTIMO,
 PRIMEIRO/value/metadata
 metadatakeydc.date.issued/keyvalue1234-12-12/value/metadata
 metadatakeydc.identifier.citation/keylanguagept_BR/languagevalueCITATION/value/metadata
 metadatakeydc.description/keylanguagept_BR/languagevalueDESCRICAO/value/metadata
 metadatakeydc.description.abstract/keylanguagept_BR/languagevalueABSTRACT/value/metadata
 metadatakeydc.language.iso/keylanguagept_BR/languagevaluept_BR/value/metadata
 metadatakeydc.publisher/keylanguagept_BR/languagevaluePUBLISHER/value/metadata
 metadatakeydc.title/keylanguagept_BR/languagevalueTITULO/value/metadata
 metadatakeydc.title.alternative/keylanguagept_BR/languagevalueOUTROS_TITULOS/value/metadata
 metadatakeydc.type/keylanguagept_BR/languagevalueDataset/value/metadata
 withdrawnfalse/withdrawn
 /item
 
 --
 Bruno Nocera Zanette
 +55 41 9992-2508



-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
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] help on recent submissions

2015-01-09 Thread helix84
On Wed, Jan 7, 2015 at 11:46 PM, Hugo Agud ha...@orex.es wrote:

 On the other hand we have the euskera language translated, how can we share 
 with the community.


Hi Hugo,

please, just send the file directly to me this time. At this point
we'll have a release very soon so I'd like to make sure we can include
it quickly. I'm going to check it for missing strings and encoding
issues, so be prepared to make some quick fixes if necessary.


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] Help on appending files to POST_ITEM requests to REST-API

2015-01-09 Thread Bruno Zanette
Hi, I'm trying to upload files via REST-API but it is not working.

In the way i'm doing the requests the items are being successfully
created but without any file.

To do the tests i'm using Curl with the following options:

curl -v -k -i -4 \
  -H Content-Type: application/zip \
  -H rest-dspace-token:  \
  -X POST https://localhost:8443/rest/collections/1/items \
  -d...@request.xml

The content of file request.xml is the end of the message. I wrote
it based on the result of a GET_ITEM request of an item submitted via
XMLUI API.

 I'm using Dspace-master branch (5.0 Rc3), installed of Ubuntu 14.04.

Does anyone knows how to do it?
Am I doing the request correctly?
Any tips?

I've already tried to send zip files but it fails with a message of
Unsupported media type...

Thanks!


item
nameTITLE/name
typeitem/type
archivedtrue/archived

bitstreams
id1/id
nameservicedocument/name
typebitstream/type
bundleNameORIGINAL/bundleName
checkSum checkSumAlgorithm=MD563634883c3cc2b837895c3b8bda9e815/checkSum
descriptionSERVICE_DOCUMENT/description
formatUnknown/format
mimeTypeapplication/octet-stream/mimeType
retrieveLink/bitstreams/1/retrieve/retrieveLink
sequenceId1/sequenceId
sizeBytes2758/sizeBytes
/bitstreams

lastModified2015-01-08 14:54:48.816/lastModified
metadatakeydc.contributor.author/keyvalueULTIMO,
PRIMEIRO/value/metadata
metadatakeydc.date.issued/keyvalue1234-12-12/value/metadata
metadatakeydc.identifier.citation/keylanguagept_BR/languagevalueCITATION/value/metadata
metadatakeydc.description/keylanguagept_BR/languagevalueDESCRICAO/value/metadata
metadatakeydc.description.abstract/keylanguagept_BR/languagevalueABSTRACT/value/metadata
metadatakeydc.language.iso/keylanguagept_BR/languagevaluept_BR/value/metadata
metadatakeydc.publisher/keylanguagept_BR/languagevaluePUBLISHER/value/metadata
metadatakeydc.title/keylanguagept_BR/languagevalueTITULO/value/metadata
metadatakeydc.title.alternative/keylanguagept_BR/languagevalueOUTROS_TITULOS/value/metadata
metadatakeydc.type/keylanguagept_BR/languagevalueDataset/value/metadata
withdrawnfalse/withdrawn
/item

-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
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] help on recent submissions

2015-01-08 Thread Mark H. Wood
On Wed, Jan 07, 2015 at 11:46:06PM +0100, Hugo Agud wrote:
 On the other hand we have the euskera language translated, how can we share
 with the community.

There is advice on how to contribute to DSpace here:

https://wiki.duraspace.org/display/DSPACE/How+to+Contribute+to+DSpace#HowtoContributetoDSpace-HowToContributeIdeasorSuggestNewFeatures

I think that to contribute a localization, you would add it to the
project dspace-api-lang (for JSPUI and command line tools) and/or
dspace-xmlui-lang (for XMLUI).

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] help on recent submissions

2015-01-07 Thread Hugo Agud
Hey it woked fine! thanks!!!

On the other hand we have the euskera language translated, how can we share
with the community.

On the other hand we have also developed a little solution for chnage
español into Español, if anybody needs it

thanks to all

2015-01-07 13:23 GMT+01:00 Hilton Gibson hilton.gib...@gmail.com:

 Hi Hugo

 If using Ubuntu, then this should help:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X

 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 7 January 2015 at 14:02, Hugo Agud ha...@orex.es wrote:

 Dear all

 We are strugeling with Dspace 4.2 with manaking , we wish that dspace
 always gives the last 5 items.

 in the home page we have 5 last results, but when we click on any
 communities we get the last 20

 Please how may we configure the *recent submission *always to 5?


 we think it is configured here, but no change are visible on dpspace
 after tomcat restart



 /srv/dspace/config/dspace.cfg
 # how mamy items should be displayed per page in collection home
 page


 default = 5
 webui.collectionhome.perpage = 0

 any help will be welcomed


 --

 *Hugo Agud - Orex Digital *

 *www.orex.es http://www.orex.es*


 Director

 Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
   ha...@orex.es · http://www.orex.es/



 No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
 implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



 Aviso de confidencialidad
 Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
 RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
 está autorizado a recibirlo por el remitente), no está autorizado a
 copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este
 mensaje
 por error, por favor, notifíquenoslo inmediatamente y bórrelo de su
 sistema.



 --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 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





-- 

*Hugo Agud - Orex Digital *

*www.orex.es http://www.orex.es*


Director

Passatge de la Llançadera, 3 · 08338 Premià de Dalt - Tel: 93 539 40 70
ha...@orex.es · http://www.orex.es/



No imprima este mensaje a no ser que sea necesario. Una tonelada de papel
implica la tala de 15 árboles y el consumo de 250.000 litros de agua.



Aviso de confidencialidad
Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO
RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni
está autorizado a recibirlo por el remitente), no está autorizado a copiar,
reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje
por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
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] Help with Sword Client API (Ruby)

2014-12-18 Thread Bruno Zanette
Thank you so much for the all the helpful infos!
I'm still struggling to get it done but now it's because my
inexperience on Ruby.
When i manage to do it i will post the code here!
Ty!

2014-12-16 18:25 GMT-02:00 Seth Robbins robbins...@gmail.com:
 Hi Bruno,
 I'm not very familiar with swordv2, but the sword v1 error is coming from
 dspace. Usually dspace expects a zipped package of some type (by default, it
 expects the dspace mets format, though I think it can be configured to
 accept SAF, look in the sword-server.cfg file in the dspace/config directory
 to see and change how yours is set up). The tutorial code appears to just
 send a text file, which would not be depositable to dspace without being
 wrapped in a package. If you need a package to test with, there appear to be
 some examples available at
 http://swordapp.org/sword-v1/sword-v1-clients-and-demonstrator-repositories/

 Also, when I've tested sword in the past the request needed to include a
 header X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP; as well
 as Content-Type:application/zip. That means that where the example code
 says
 collection.post_media!(:filepath=test.txt, :content_type=text/plain)
 you should try something like
  collection.post_media!(:filepath=/your/example/here.zip,
 :content_type=application/zip, :packaging =
 http://purl.org/net/sword/package/METSDSpaceSIP;)

 Hope that's helpful,
 Seth Robbins


 On Tue, Dec 16, 2014 at 10:15 AM, Bruno Zanette brunonzane...@gmail.com
 wrote:

 Hey everybody!

 This is not a dspace specific question, but i hope someone can help me.

 I'm implementing a Ruby sword client to submit itens to dspace using a
 custom interface. I did some research and i found sword2ruby
 library, but i'm trying to execute the example given on the project
 git page (https://github.com/swordapp/sword2ruby) and it doesn't work.
 The library is supposed to be compatible with sword 2.0 but when i
 configure it to get swordv2/servicedocument it return an error on
 document mime-type:
 

 /home/bruno/.rvm/gems/ruby-2.1.4/gems/atom-tools-2.0.5/lib/atom/http.rb:492:in
 `validate_content_type': unexpected response Content-Type:
 application/atomserv+xml. should be one of:
 [application/atomsvc+xml] (Atom::WrongMimetype)
 

 When i use sword 1.0 app, the script successfully validate
 servicedocument but it crashes on post_media command. The logs say
 that there is no ingester for the type of file:
 
 ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type
 detected: text/plain for collection 1
 2014-12-16 14:09:09,271 ERROR org.purl.sword.server.DepositServlet @
 org.purl.sword.base.SWORDErrorException: Unacceptable content type in
 deposit request: text/plain
 

 I've already tried to modify swordv2 configs to set generate options
 to use 1.3 version, but it didn't work.

 I'm using dspace-4 (git version) on ubuntu 14.04.

 Does anyone have some advice about it? Am I doing something wrong or
 the library is broken?

 Any thing is welcome!!!

 Thanks!!

 --
 Bruno Nocera Zanette
 +55 41 9992-2508


 --
 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



 --
 Seth Robbins | Research Programmer for Repository Development
 Main Library | Room 422 | robbins...@gmail.com | srobb...@illinois.edu



-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
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] Help with Sword Client API (Ruby)

2014-12-16 Thread Bruno Zanette
Hey everybody!

This is not a dspace specific question, but i hope someone can help me.

I'm implementing a Ruby sword client to submit itens to dspace using a
custom interface. I did some research and i found sword2ruby
library, but i'm trying to execute the example given on the project
git page (https://github.com/swordapp/sword2ruby) and it doesn't work.
The library is supposed to be compatible with sword 2.0 but when i
configure it to get swordv2/servicedocument it return an error on
document mime-type:

/home/bruno/.rvm/gems/ruby-2.1.4/gems/atom-tools-2.0.5/lib/atom/http.rb:492:in
`validate_content_type': unexpected response Content-Type:
application/atomserv+xml. should be one of:
[application/atomsvc+xml] (Atom::WrongMimetype)


When i use sword 1.0 app, the script successfully validate
servicedocument but it crashes on post_media command. The logs say
that there is no ingester for the type of file:

ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type
detected: text/plain for collection 1
2014-12-16 14:09:09,271 ERROR org.purl.sword.server.DepositServlet @
org.purl.sword.base.SWORDErrorException: Unacceptable content type in
deposit request: text/plain


I've already tried to modify swordv2 configs to set generate options
to use 1.3 version, but it didn't work.

I'm using dspace-4 (git version) on ubuntu 14.04.

Does anyone have some advice about it? Am I doing something wrong or
the library is broken?

Any thing is welcome!!!

Thanks!!

-- 
Bruno Nocera Zanette
+55 41 9992-2508

--
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] Help with Sword Client API (Ruby)

2014-12-16 Thread Brown, Jacob
I've never used the SWORD protocol, but it should be pretty easy to avoid the 
mimetype exception (for the SWORD V2 interface).

I'm assuming that atomserv+xml and atomsvc+xml are used by different 
services to identify the same SWORD/XML format. From some quick testing, it 
seems like this is the case, but it may be an unsafe assumption.

To avoid the exception, simply paste the following in your console/script 
somewhere after you require 'sword2ruby' and before you define your service:

Atom::HTTPResponse.module_eval { def validate_content_type(*); end }

Note: this could have unintended consequences for other aspects of your 
application. It would be much better to monkeypatch the `initialize` method of 
`Atom::Service` (defined in 
https://github.com/swordapp/sword2ruby/blob/v1.0.1/lib/sword2ruby/service.rb), 
but the developers haven't made it easy to do so (you would have to copy and 
paste the contents of that method into your patch, modifying all instances of 
application/atomsvc+xml to application/atomserv+xml).

I've only tested this minimally, but was able to define a service successfully 
on a local DSpace SWORDV2 installation.

Jacob Brown

-Original Message-
From: Bruno Zanette [mailto:brunonzane...@gmail.com] 
Sent: Tuesday, December 16, 2014 10:15 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Help with Sword Client API (Ruby)

Hey everybody!

This is not a dspace specific question, but i hope someone can help me.

I'm implementing a Ruby sword client to submit itens to dspace using a custom 
interface. I did some research and i found sword2ruby
library, but i'm trying to execute the example given on the project git page 
(https://github.com/swordapp/sword2ruby) and it doesn't work.
The library is supposed to be compatible with sword 2.0 but when i configure it 
to get swordv2/servicedocument it return an error on document mime-type:

/home/bruno/.rvm/gems/ruby-2.1.4/gems/atom-tools-2.0.5/lib/atom/http.rb:492:in
`validate_content_type': unexpected response Content-Type:
application/atomserv+xml. should be one of:
[application/atomsvc+xml] (Atom::WrongMimetype)


When i use sword 1.0 app, the script successfully validate servicedocument but 
it crashes on post_media command. The logs say that there is no ingester for 
the type of file:

ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type
detected: text/plain for collection 1
2014-12-16 14:09:09,271 ERROR org.purl.sword.server.DepositServlet @
org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit 
request: text/plain


I've already tried to modify swordv2 configs to set generate options to use 1.3 
version, but it didn't work.

I'm using dspace-4 (git version) on ubuntu 14.04.

Does anyone have some advice about it? Am I doing something wrong or the 
library is broken?

Any thing is welcome!!!

Thanks!!

--
Bruno Nocera Zanette
+55 41 9992-2508

--
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

--
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] Help with Sword Client API (Ruby)

2014-12-16 Thread Seth Robbins
Hi Bruno,
I'm not very familiar with swordv2, but the sword v1 error is coming from
dspace. Usually dspace expects a zipped package of some type (by default,
it expects the dspace mets format, though I think it can be configured to
accept SAF, look in the sword-server.cfg file in the dspace/config
directory to see and change how yours is set up). The tutorial code appears
to just send a text file, which would not be depositable to dspace without
being wrapped in a package. If you need a package to test with, there
appear to be some examples available at
http://swordapp.org/sword-v1/sword-v1-clients-and-demonstrator-repositories/


Also, when I've tested sword in the past the request needed to include a
header X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP; as well
as Content-Type:application/zip. That means that where the example code
says
collection.post_media!(:filepath=test.txt, :content_type=text/plain)
you should try something like
 collection.post_media!(:filepath=/your/example/here.zip,
:content_type=application/zip, :packaging = 
http://purl.org/net/sword/package/METSDSpaceSIP;)

Hope that's helpful,
Seth Robbins


On Tue, Dec 16, 2014 at 10:15 AM, Bruno Zanette brunonzane...@gmail.com
wrote:

 Hey everybody!

 This is not a dspace specific question, but i hope someone can help me.

 I'm implementing a Ruby sword client to submit itens to dspace using a
 custom interface. I did some research and i found sword2ruby
 library, but i'm trying to execute the example given on the project
 git page (https://github.com/swordapp/sword2ruby) and it doesn't work.
 The library is supposed to be compatible with sword 2.0 but when i
 configure it to get swordv2/servicedocument it return an error on
 document mime-type:
 

 /home/bruno/.rvm/gems/ruby-2.1.4/gems/atom-tools-2.0.5/lib/atom/http.rb:492:in
 `validate_content_type': unexpected response Content-Type:
 application/atomserv+xml. should be one of:
 [application/atomsvc+xml] (Atom::WrongMimetype)
 

 When i use sword 1.0 app, the script successfully validate
 servicedocument but it crashes on post_media command. The logs say
 that there is no ingester for the type of file:
 
 ERROR org.dspace.sword.CollectionDepositor @ Unacceptable content type
 detected: text/plain for collection 1
 2014-12-16 14:09:09,271 ERROR org.purl.sword.server.DepositServlet @
 org.purl.sword.base.SWORDErrorException: Unacceptable content type in
 deposit request: text/plain
 

 I've already tried to modify swordv2 configs to set generate options
 to use 1.3 version, but it didn't work.

 I'm using dspace-4 (git version) on ubuntu 14.04.

 Does anyone have some advice about it? Am I doing something wrong or
 the library is broken?

 Any thing is welcome!!!

 Thanks!!

 --
 Bruno Nocera Zanette
 +55 41 9992-2508


 --
 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



-- 
Seth Robbins | Research Programmer for Repository Development
Main Library | Room 422 | robbins...@gmail.com | srobb...@illinois.edu
--
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] Help with Latin Languages

2014-11-25 Thread helix84
On Mon, Nov 24, 2014 at 11:57 AM, siriom siriom sir...@gmail.com wrote:
 Greetings .
 Hope everyones having a good monday :)
 Petya Im running Dspace 4.2 , im not sure on which version of Solr is
 running on it since I cant access it via localhost:8080/solr/search.
 It says something like 403 access denied even though im accessing from
 localhost which is odd . Do i need to turn something on to view the admin
 panel for solr ?

That sounds like something is configured incorrectly in your
/etc/hosts file on the DSpace server. Anyway, try one of these methods
to bypass the restriction:

https://wiki.duraspace.org/display/DSPACE/Solr


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=157005751iu=/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] Help with Latin Languages

2014-11-25 Thread siriom siriom
My hosts file is simple.
127.0.0.1 localhost
::1 localhost
thats it.
This is a very odd error.
I create an index.html and put it in /webapps/jspui
I access http://localhost:8080/jspui/index.html just fine
same for xmlui
but the second i put the index.html in /webapps/solr i get 403 forbidden.
The entire dspace works but i cant seem to access solr admin page.
Solr is running , i get stats up on the 14 000 items i have added.
Im running 4.2 and im out of ideas . any suggestions would be apreciated.
Ive opened a prompt , downloaded and installed lynx ... did a lynx
http:localhost:8080/solr from within the very machine dspace is running on
, in a prompt and i still get 403 forbidden.


On Tue, Nov 25, 2014 at 9:57 AM, helix84 heli...@centrum.sk wrote:

 On Mon, Nov 24, 2014 at 11:57 AM, siriom siriom sir...@gmail.com wrote:
  Greetings .
  Hope everyones having a good monday :)
  Petya Im running Dspace 4.2 , im not sure on which version of Solr is
  running on it since I cant access it via localhost:8080/solr/search.
  It says something like 403 access denied even though im accessing
 from
  localhost which is odd . Do i need to turn something on to view the admin
  panel for solr ?

 That sounds like something is configured incorrectly in your
 /etc/hosts file on the DSpace server. Anyway, try one of these methods
 to bypass the restriction:

 https://wiki.duraspace.org/display/DSPACE/Solr


 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=157005751iu=/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] Help with Latin Languages

2014-11-24 Thread siriom siriom
Greetings .
Hope everyones having a good monday :)
Petya Im running Dspace 4.2 , im not sure on which version of Solr is
running on it since I cant access it via localhost:8080/solr/search.
It says something like 403 access denied even though im accessing from
localhost which is odd . Do i need to turn something on to view the admin
panel for solr ?


On Sat, Nov 22, 2014 at 7:17 PM, Petya Kohts petya.ko...@gmail.com wrote:

 Hello siriom,

 I think you'd better off starting with specifying
 DSpace version and solr version (right from the dashboard).

 Next it would be handy to see some screenshots
 or at least solr ResponseHeader structure.

 Generally I have solr-spec 4.4.0 / solr-impl 4.4.0 1504776,
 query working for Cyrillic symbols.


 Petya.







 On Wed, Nov 19, 2014 at 9:01 PM, siriom siriom sir...@gmail.com wrote:
  Can anyone give me a hand with enabling solr to properly search for non
  english words ? More specifically portuguese words with ã or é for
  example.
  Right now a search for são will find nothing but a search for sao
 will
  find são.
  I was told some changes need to be made to schema.xml ?
  Anyone out there using solr with a non english language that could send
 me a
  schema.xml ?
  Thanks.
 
 
 
 --
  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=157005751iu=/4140/ostg.clktrk
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/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] Help with Latin Languages

2014-11-24 Thread siriom siriom
First all thanks for your replies but i still havent gotten this fixed.
This is a copy from my /dspace/solr/search/conf/schema.xml
fieldType name=text class=solr.TextField positionIncrementGap=100
  analyzer type=index
tokenizer class=solr.WhitespaceTokenizerFactory/
!-- in this example, we will only use synonyms at query time
filter class=solr.SynonymFilterFactory
synonyms=index_synonyms.txt ignoreCase=true expand=false/
--
!-- Case insensitive stop word removal.
  add enablePositionIncrements=true in both the index and query
  analyzers to leave a 'gap' for more accurate phrase queries.
--
filter class=solr.ASCIIFoldingFilterFactory/filter
filter class=solr.StopFilterFactory
ignoreCase=true
words=stopwords.txt
enablePositionIncrements=true
/
filter class=solr.WordDelimiterFilterFactory
generateWordParts=1 generateNumberParts=1 catenateWords=1
catenateNumbers=1 catenateAll=0 splitOnCaseChange=1/
filter class=solr.ICUFoldingFilterFactory/
filter class=solr.SnowballPorterFilterFactory language=English
protected=protwords.txt/
filter class=solr.RemoveDuplicatesTokenFilterFactory/
  /analyzer
  analyzer type=query
tokenizer class=solr.WhitespaceTokenizerFactory/
filter class=solr.ASCIIFoldingFilterFactory/filter
filter class=solr.SynonymFilterFactory synonyms=synonyms.txt
ignoreCase=true expand=true/
filter class=solr.StopFilterFactory
ignoreCase=true
words=stopwords.txt
enablePositionIncrements=true



As you can see I've added filter
class=solr.ASCIIFoldingFilterFactory/filter twice , once to each
analyzer.
This is whats happening:
If i search for accao if find tons of relevant matches including acção
in the title, if on the other hand i search for acção

i get searching for all of Dspace for screen except its looking for
acçao
Its all garbled ... and therefore wont find any relevant hits 
Ive done a re index -b as requested.
Im running Dspace 4.2
Please help,


On Thu, Nov 20, 2014 at 12:04 PM, Adan adan.ro...@gmail.com wrote:

  Hi anonimous

 You can begin searching fieldType name=”text” …… in schema.xml and
 change

 filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

 with

 filter class=solr.ASCIIFoldingFilterFactory/filter
 filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

 then do a

 dspace update-discovery-index -b for 3.x or a dspace index-discovery -b for a 
 4.x version

 Its explained at http://www.arvo.es/dspace/configurando-solr/ (in spanish)

 regards
 Adán Román Ruiz
 ARVO Consultores



  Can anyone give me a hand with enabling solr to properly search for non
 english words ? More specifically portuguese words with ã or é for
 example.
 Right now a search for são will find nothing but a search for sao will
 find são.
 I was told some changes need to be made to schema.xml ?
 Anyone out there using solr with a non english language that could send me
 a schema.xml ?
 Thanks.



 --
 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, 
 FREEhttp://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
http://www.avast.com/

 El software de antivirus Avast ha analizado este correo electrónico en
 busca de virus.
 www.avast.com



 --
 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=157005751iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App 

Re: [Dspace-tech] Help with Latin Languages

2014-11-24 Thread Aaron Helton
Hi Siriom,

You might also have to do this, which
is what we figured out in my office:

1) Edit /etc/tomcat7/server.xml and
change

Connector port=8080
protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443/

to

Connector port=8080
protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443
URIEncoding=UTF-8/

2) Restart tomcat

That took care of character encoding
in the search box.

Aaron Helton (Mr.)
United Nations
Department of Public Information
Outreach Division



From:   
siriom siriom sir...@gmail.com
To:   
Adan adan.ro...@gmail.com,
Hilton Gibson hilton.gib...@gmail.com, 
Cc:   
dspace-tech@lists.sourceforge.net
Date:   
24/11/2014 01:02 PM
Subject:  
 Re: [Dspace-tech]
Help with Latin Languages




First all thanks for your replies but i still havent gotten
this fixed.
This is a copy from my /dspace/solr/search/conf/schema.xml
fieldType name=text class=solr.TextField positionIncrementGap=100
 analyzer type=index
 tokenizer class=solr.WhitespaceTokenizerFactory/
 !-- in this example, we
will only use synonyms at query time
 filter class=solr.SynonymFilterFactory
synonyms=index_synonyms.txt ignoreCase=true expand=false/
 --
 !-- Case insensitive stop
word removal.
 add enablePositionIncrements=true
in both the index and query
 analyzers to leave
a 'gap' for more accurate phrase queries.
 --
 filter class=solr.ASCIIFoldingFilterFactory/filter
 filter class=solr.StopFilterFactory

ignoreCase=true

words=stopwords.txt

enablePositionIncrements=true

/
 filter class=solr.WordDelimiterFilterFactory
generateWordParts=1 generateNumberParts=1 catenateWords=1
catenateNumbers=1 catenateAll=0 splitOnCaseChange=1/
 filter class=solr.ICUFoldingFilterFactory/
 filter class=solr.SnowballPorterFilterFactory
language=English protected=protwords.txt/
 filter class=solr.RemoveDuplicatesTokenFilterFactory/
 /analyzer
 analyzer type=query
 tokenizer class=solr.WhitespaceTokenizerFactory/
 filter class=solr.ASCIIFoldingFilterFactory/filter
 filter class=solr.SynonymFilterFactory
synonyms=synonyms.txt ignoreCase=true expand=true/
 filter class=solr.StopFilterFactory

ignoreCase=true

words=stopwords.txt

enablePositionIncrements=true



As you can see I've added filter class=solr.ASCIIFoldingFilterFactory/filter
twice , once to each analyzer.
This is whats happening:
If i search for accao if find tons of relevant
matches including acção in the title, if on the other hand
i search for acção

i get searching for all of Dspace for screen
except its looking for acçao
Its all garbled ... and therefore wont find any relevant
hits 
Ive done a re index -b as requested.
Im running Dspace 4.2
Please help,


On Thu, Nov 20, 2014 at 12:04 PM, Adan adan.ro...@gmail.com
wrote:
Hi anonimous

You can begin searching fieldType name=text  in schema.xml
and change 
filter class=solr.EnglishPorterFilterFactory
protected=protwords.txt

with

filter class=solr.ASCIIFoldingFilterFactory/filter
filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

then do a 

dspace update-discovery-index -b for 3.x or a dspace index-discovery -b
for a 4.x version

Its explained at http://www.arvo.es/dspace/configurando-solr/
(in spanish)

regards
Adán Román Ruiz
ARVO Consultores



Can anyone give me a hand with enabling solr to properly
search for non english words ? More specifically portuguese words with
ã or é for example. 
Right now a search for são will find nothing
but a search for sao will find são.
I was told some changes need to be made to schema.xml
?
Anyone out there using solr with a non english language
that could send me a schema.xml ?
Thanks.



--
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=157005751iu=/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








El
software de antivirus Avast ha analizado este correo electrónico en busca
de virus. 
www.avast.com



--
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=157005751iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo

Re: [Dspace-tech] Help with Latin Languages

2014-11-22 Thread Petya Kohts
Hello siriom,

I think you'd better off starting with specifying
DSpace version and solr version (right from the dashboard).

Next it would be handy to see some screenshots
or at least solr ResponseHeader structure.

Generally I have solr-spec 4.4.0 / solr-impl 4.4.0 1504776,
query working for Cyrillic symbols.


Petya.







On Wed, Nov 19, 2014 at 9:01 PM, siriom siriom sir...@gmail.com wrote:
 Can anyone give me a hand with enabling solr to properly search for non
 english words ? More specifically portuguese words with ã or é for
 example.
 Right now a search for são will find nothing but a search for sao will
 find são.
 I was told some changes need to be made to schema.xml ?
 Anyone out there using solr with a non english language that could send me a
 schema.xml ?
 Thanks.


 --
 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=157005751iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/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] Help with Latin Languages

2014-11-20 Thread Adan Roman

Hi anonimous

You can begin searching fieldType name=text .. in schema.xml and 
change


filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

with

filter class=solr.ASCIIFoldingFilterFactory/filter
filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

then do a

dspace update-discovery-index -b for 3.x or a dspace index-discovery -b for a 
4.x version

Its explained at http://www.arvo.es/dspace/configurando-solr/ (in spanish)

regards
Adán Román Ruiz
ARVO Consultores


Can anyone give me a hand with enabling solr to properly search for 
non english words ? More specifically portuguese words with ã or é 
for example.
Right now a search for são will find nothing but a search for sao 
will find são.

I was told some changes need to be made to schema.xml ?
Anyone out there using solr with a non english language that could 
send me a schema.xml ?

Thanks.



--
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=157005751iu=/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



--



---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
http://www.avast.com
--
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=157005751iu=/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] Help with Latin Languages

2014-11-20 Thread Adan

Hi anonimous

You can begin searching fieldType name=text .. in schema.xml and 
change


filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

with

filter class=solr.ASCIIFoldingFilterFactory/filter
filter class=solr.EnglishPorterFilterFactory protected=protwords.txt

then do a

dspace update-discovery-index -b for 3.x or a dspace index-discovery -b for a 
4.x version

Its explained at http://www.arvo.es/dspace/configurando-solr/ (in spanish)

regards
Adán Román Ruiz
ARVO Consultores


Can anyone give me a hand with enabling solr to properly search for 
non english words ? More specifically portuguese words with ã or é 
for example.
Right now a search for são will find nothing but a search for sao 
will find são.

I was told some changes need to be made to schema.xml ?
Anyone out there using solr with a non english language that could 
send me a schema.xml ?

Thanks.



--
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=157005751iu=/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




---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
http://www.avast.com
--
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=157005751iu=/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] Help with Latin Languages

2014-11-19 Thread siriom siriom
Can anyone give me a hand with enabling solr to properly search for non
english words ? More specifically portuguese words with ã or é for
example.
Right now a search for são will find nothing but a search for sao will
find são.
I was told some changes need to be made to schema.xml ?
Anyone out there using solr with a non english language that could send me
a schema.xml ?
Thanks.
--
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=157005751iu=/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] Help! Artifact after Deleting Harvested Collection

2014-10-10 Thread Nathan Tallman
Nudging this message, hoping to get a response.

Related to the deleted harvest, we have a range of orphan identifiers. We
believe these were created from the first harvest (entire test instance)
and that they were orphaned when I initiated the collection delete before
the harvest had finished.

We wonder if the best thing might be to manually remove them from the
database, but that doesn't help with the artifact collection described
below.

Any feedback is appreciated!

Nathan

-- Forwarded message --
From: Nathan Tallman ntall...@gmail.com
Date: Wed, Oct 8, 2014 at 1:01 PM
Subject: Artifact after Deleting Harvested Collection
To: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net



This morning, we were doing some tests on our Dspace (1.8.2) instance,
following a system change. The testing involved an OAI-ORE harvest from our
test instance. Initially for this test, I neglected to click on the radio
box for a specific set and Dspace tried to harvest our entire
test-instance. After realizing my mistake, I was able to edit the settings
for a specific set and clicked reset and reimport. This appeared to be
successful: records that had just been imported went away, the new subset
appeared. After this confirmation, I initiated a delete of the collection,
since this was just a test.

Oddly, the items seem to have deleted, but the test collection still
appears in the sub-community list and the overall communities and
collections page. However, wherever it appears, it only links to the page
it's on. You can see what I mean here:
https://drc.libraries.uc.edu/handle/2374.UC/730895 (see the Test Harvest
collection. In other words, we can't tell what the Test Harvest
collection handle really is/was, because it always links to the identifier
for the page it appears on.

I can create new collections and submit new records; the new handles
function properly.

Does anyone have experience with this type of issue or have any feedback to
offer? It's perplexing and we're wondering if a re-index will rid us of
this artifact.

Thanks,
Nathan



Nathan Tallman
Digital Content Strategist
University of Cincinnati Libraries
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
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] Help - Dsrun command not found

2014-09-19 Thread Naveen Srinivasan
HI ,

Main issue is ,In the Repository ,When I click Administrative section
--Statistics page ,i am getting the below message *There are currently no
reports available for this service. Please check back later.*

So i am setting up the cron jobs to get the stat reports, but I am not able
to run the dsrun command from the bin directory.

*Command :  *naveen@dspace:/dspace/bin$ *dsrun
org.dspace.app.statistics.CreateStatReport -r stat-initial*

*Error* : -bash: dsrun: command not found

Note - Dsrun.bat file and stat-initial file are available in the bin
directory

Please help me on this.Thanks


Regards,
Naveen

Mob : (312) 774-1687
--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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] Help - Dsrun command not found

2014-09-19 Thread Tim Donohue
Try running:

./dsrun [command]

It's possible that the /dspace/bin/ directory is just not in your 
PATH, so it may not be seeing the dsrun script in that directory.  By 
running ./dsrun it lets your system know to look in your current 
directory.

- Tim

On 9/19/2014 10:24 AM, Naveen Srinivasan wrote:
 HI ,

 Main issue is ,In the Repository ,When I click Administrative section
 --Statistics page ,i am getting the below message *There are currently
 no reports available for this service. Please check back later.*

 So i am setting up the cron jobs to get the stat reports, but I am not
 able to run the dsrun command from the bin directory.

 *Command : *naveen@dspace:/dspace/bin$ /dsrun
 org.dspace.app.statistics.CreateStatReport -r stat-initial/

 *Error* : -bash: dsrun: command not found

 Note - Dsrun.bat file and stat-initial file are available in the bin
 directory

 Please help me on this.Thanks


 Regards,
 Naveen

 Mob : (312) 774-1687


 --
 Slashdot TV.  Video for Nerds.  Stuff that Matters.
 http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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


--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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] Help required in ldap settings

2014-09-19 Thread Satish Kumar
Hello everybody,

I require help in configuring ldap settings, i am using DSpace 4.2,
my configurations are as given below.
1) I can login using username, what i required is login by
userprinicpalname.
2) Should i created a admin account, or can i assign a ldap user as admin.


enable = true
autoregister = false
id_field = cn
object_context = dc=example, dc=com
search_context = dc=example, dc=com
email_field = mail
givenname_field = givenName



*With Warm Regards,K Satish Kumar*
--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/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] Help required in ldap settings

2014-09-12 Thread Satish Kumar
Hello everybody,

I require help in configuring ldap settings, i am using DSpace 4.2,
my configurations are as given below.
1) I can login using username, what i required is login by
userprinicpalname.
2) Should i created a admin account, or can i assign a ldap user as admin.


enable = true
autoregister = false
id_field = cn
object_context = dc=example, dc=com
search_context = dc=example, dc=com
email_field = mail
givenname_field = givenName



*With Warm Regards,K Satish Kumar*
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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] Help with Dspace Authority Control , basic example.

2014-09-10 Thread siriom siriom
Im trying to get authority control to apply to the submission process ,
author field.
I want a pop up box to show up so i can pick an author already in the
database when doing a submission of a new item.
In inputforms.xml i added this :

value-pairs value-pairs-name=common_identifiers dc-term=contributor
 pair
   displayed-valueauthor/displayed-value
   stored-valueauthor/stored-value
 /pair
   /value-pairs

Im not sure thats right.

In the dspace.cfg file i uncommented the following lines.

plugin.named.org.dspace.content.authority.ChoiceAuthority = \
 org.dspace.content.authority.LCNameAuthority = LCNameAuthority, \

lcname.url = http://alcme.oclc.org/srw/search/lcnaf

## demo: use LC plugin for author
choices.plugin.dc.contributor.author =  LCNameAuthority
choices.presentation.dc.contributor.author = lookup
authority.controlled.dc.contributor.author = true

When I try to make a new submission a lookup appears next to author , i
click on it and get a pop up window LC Name Authority author lookup
window.
In that window , in a white box i get Failed to load choice data: Server
indicates error in response
Clicking ok on that window i get a second error where the authors are
suppose to be listed in that popup window.
Local value (not in Naming Authority)

A tail -f on the postgres file when i click on the author lookup icon gets
me :
LOG:  execute S_1: BEGIN
LOG:  execute unnamed: SELECT 1
LOG:  execute S_13: select * from eperson where eperson_id = $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_3: SELECT * FROM epersongroup2eperson WHERE eperson_id= $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_4: SELECT * FROM group2groupcache WHERE child_id= $1  OR
child_id= $2  OR child_id= $3
DETAIL:  parameters: $1 = '0', $2 = '1', $3 = '2'
LOG:  execute S_5: ROLLBACK
LOG:  execute S_1: BEGIN
LOG:  execute unnamed: SELECT 1
LOG:  execute S_13: select * from eperson where eperson_id = $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_3: SELECT * FROM epersongroup2eperson WHERE eperson_id= $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_4: SELECT * FROM group2groupcache WHERE child_id= $1  OR
child_id= $2  OR child_id= $3
DETAIL:  parameters: $1 = '0', $2 = '1', $3 = '2'
LOG:  execute S_5: ROLLBACK

Im running scientific linux 6,5 , postgres 8.4 , tomcat 7.033 , dspace 4.2
Any help is greatly appreciated , any working config files which might
accomplish something similiar to what i need are also greatly welcome.
Thanks for your time and patience.
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/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] Help us to solve this Problem,,,,,,,,,

2014-08-04 Thread kaginelli Pampapati
Dear Professional,

Kindly help us to solve this problem while opening the software we are
getting the following message

Jain University CMSDL http://192.168.0.129:8080/jspui/ 
Internal System Error

The system has experienced an internal error. Please try to do what you
were doing again, and if the problem persists, please contact us so we can
fix the problem.

Leave a message for the Jain University CMSDL administrators.
http://192.168.0.129:8080/jspui/feedback

Go to the DSpace home page http://192.168.0.129:8080/jspui/



Thank you

With Regards

Mr. Pampapati

Bangalore

 Contact No 8904752543
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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] Help us to solve this Problem,,,,,,,,,

2014-08-04 Thread Hilton Gibson
Hi Kaginelli

This is a generic system error message. To troubleshoot a problem try this
for a start:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations/Troubleshooting

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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 4 August 2014 09:26, kaginelli Pampapati kpampap...@gmail.com wrote:

 Dear Professional,

 Kindly help us to solve this problem while opening the software we are
 getting the following message

 Jain University CMSDL http://192.168.0.129:8080/jspui/ 
 Internal System Error

 The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.

 Leave a message for the Jain University CMSDL administrators.
 http://192.168.0.129:8080/jspui/feedback

 Go to the DSpace home page http://192.168.0.129:8080/jspui/



 Thank you

 With Regards

 Mr. Pampapati

 Bangalore

  Contact No 8904752543


 --
 Infragistics Professional
 Build stunning WinForms apps today!
 Reboot your WinForms applications with our WinForms controls.
 Build a bridge from your legacy apps to the future.

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

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/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] help to imbed images/icons in news-xmlui.xml

2014-07-27 Thread Hilton Gibson
Hi Peter

Use the static folder to store the images on your server.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Static_Folder

And then link to them from your news xml file.
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/Page_Content#Customise_the_front_page_introduction

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://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 24 July 2014 17:45, Peter Sichilyango Tutu petertu...@gmail.com wrote:

 Hello Guys,

 Please help me on this one. I want to embed images /icons in my
 news-xmlui.xml document and link them to both internal and external
 resources. I have  several images that I have placed in my images directory
 and I would like to link them from there.I tried using the figure element
 and linked to the images in my local images directory,but they are not
 being displayed on the home page.But, when I change the source and link
 them to external images(i.e images hosted on remote sites) they are
 rendered on the home page.

 I am using dspace 3.2 xmlui. Please help.



 Regards,



 Peter


 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] help to imbed images/icons in news-xmlui.xml

2014-07-24 Thread Peter Sichilyango Tutu
Hello Guys,

Please help me on this one. I want to embed images /icons in my
news-xmlui.xml document and link them to both internal and external
resources. I have  several images that I have placed in my images directory
and I would like to link them from there.I tried using the figure element
and linked to the images in my local images directory,but they are not being
displayed on the home page.But, when I change the source and link them to
external images(i.e images hosted on remote sites) they are rendered on the
home page.

I am using dspace 3.2 xmlui. Please help.

 

Regards,

 

Peter

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] HELP! Dspace will not restart

2014-04-17 Thread Pottinger, Hardy J.
Hi, Dale, you might try clearing your cocoon cache.

https://wiki.duraspace.org/plugins/servlet/mobile#TechnicalFaq-ClearingCocoon(XMLUI)cache
 (sorry for the mobile link, I am typing on my iPad).

I will check email after my kids are in bed, let us know if things work out.

--Hardy

Sent from my iPad

On Apr 17, 2014, at 5:45 PM, Poulter, Dale 
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu wrote:

Good afternoon,

We had 3 crawlers hit our Dspace instance at the same time today which brought 
our site down.  We stopped tomcat and apache (we use apache as the front end 
through mod_jk).  When we restarted tomcat the xmlui does not work (we get a 
404)  the other apps (oai) works fine.  The same thing occurs is we go directly 
to tomcat bypassing apache and mod_jk.We get a couple of oai errors but the 
only error we get for xmlui is “No Spring WebApplicationInitializer types 
detected on classpath” .  Has anyone encountered this?  We are running out of 
ideas – beyond whiskey.  Thanks for your help!

--Dale

---
Dale Poulter
Coordinator, Search and Core Services
Library Digital Services
Vanderbilt University
419 21st Avenue South, Room 812
Nashville, TN  37203-2427
(615)343-5388
(615)343-8834 (fax)
(615)207-9705 (cell)
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] HELP! Dspace will not restart

2014-04-17 Thread Poulter, Dale
Hardy,

Thank you for the tip. Sadly clearing the cache did not help.I was able to 
finally get the site back up by restoring an older version of the xmlui. 
Possibly one of the files was corrupted?  No idea.Thanks again!




From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu]
Sent: Thursday, April 17, 2014 6:28 PM
To: Poulter, Dale
Cc: Dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] HELP! Dspace will not restart

Hi, Dale, you might try clearing your cocoon cache.

https://wiki.duraspace.org/plugins/servlet/mobile#TechnicalFaq-ClearingCocoon(XMLUI)cache
 (sorry for the mobile link, I am typing on my iPad).

I will check email after my kids are in bed, let us know if things work out.
--Hardy

Sent from my iPad

On Apr 17, 2014, at 5:45 PM, Poulter, Dale 
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu wrote:
Good afternoon,

We had 3 crawlers hit our Dspace instance at the same time today which brought 
our site down.  We stopped tomcat and apache (we use apache as the front end 
through mod_jk).  When we restarted tomcat the xmlui does not work (we get a 
404)  the other apps (oai) works fine.  The same thing occurs is we go directly 
to tomcat bypassing apache and mod_jk.We get a couple of oai errors but the 
only error we get for xmlui is No Spring WebApplicationInitializer types 
detected on classpath .  Has anyone encountered this?  We are running out of 
ideas - beyond whiskey.  Thanks for your help!

--Dale

---
Dale Poulter
Coordinator, Search and Core Services
Library Digital Services
Vanderbilt University
419 21st Avenue South, Room 812
Nashville, TN  37203-2427
(615)343-5388
(615)343-8834 (fax)
(615)207-9705 (cell)
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
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] Help on basic editing of Mirage theme

2013-12-05 Thread Ioannis Damastianos Panagis
Hello everyone,

I am running Dspace 3.2 with XMLUI. I am trying to change inplace the Mirage 
theme and just for a test to modify the header. So I have tried everything from 
changing 
[dspace-src]\dspace-xmlui\src\main\webapp\themes\Mirage\lib\xsl\core\page-structure.xsl,
 rebuilding dspace, substituting webapps, restarting Tomcat, to directly 
editing [tomcat]\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl , 
cleaning Cocoon cache and restarting Tomcat.

Everytime I am editing

xsl:template name=buildHeader
...
span id=ds-header-logo-textmirage/span

and changing the text between the span to something custom. Do you think 
there is something wrong with this approach? Should I just copy Mirage to a new 
template in [dspace-source] and modify the new one?

Thank you all in advance
Yannis
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/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] help

2013-10-22 Thread Bram Luyten
Hi Daniel,

can you provide some more details about this error?

Are you seeing this in your browser window or your command line output?

Can you post a screenshot or stacktrace of this error, together with the
URL you are using?

cheers,

Bram


-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Tue, Oct 22, 2013 at 12:10 AM, Daniel Deogratus ddeogra...@gmail.comwrote:

 help me in setting up Harverster please, all the links that i put on i get
 the message
 The OAI server does not support dissemination in this format
 What could be the problem

 Am currently running Dspace 3.X in Local

 Rgards


 On Tue, Oct 22, 2013 at 12:01 AM, 
 dspace-tech-requ...@lists.sourceforge.net wrote:

 Send DSpace-tech mailing list submissions to
 dspace-tech@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 or, via email, send a message with subject or body 'help' to
 dspace-tech-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 dspace-tech-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of DSpace-tech digest...


 Today's Topics:

1. Google Analytics Statistics within DSpace on XMLUI? (Nemiz, Elvi)
2. Re: QDC Crosswalk and OAI 2.0 (kotsomit)
3. Dspace 3.2 disable discovery for the site (Diwakar Timilsina)
4. Problem in uploading files - xmlui (Schuster, David)


 --

 Message: 1
 Date: Mon, 21 Oct 2013 22:11:37 +0800
 From: Nemiz, Elvi esne...@seafdec.org.ph
 Subject: [Dspace-tech] Google Analytics Statistics within DSpace on
 XMLUI?
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 
 caarceks8avoi0himexf6pvvrzzhbguf4oyjlzmait6teu0j...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Dear All,

 I have read the thread here:

 http://dspace.2283337.n4.nabble.com/Google-Analytics-Statistics-within-DSpace-on-XMLUI-td4658773.html
 and
 tried Stuart Lewis' Surfacing Google Analytics stats in DSpace:

 http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/
 which
 is build on jspui. I would like to ask if someone from the list have
 implemented these on xmlui? On Stuart Lewis post, I don't know how to
 convert the code which is written for jspui to xmlui:

 %
 // See if we can display a counter
 String path = /handle/ + item.getHandle();
 String count = GoogleAnalyticsHitCounter.getPageCount(path);
 if ((count != null)  (!.equals(count)))
 {
 %
 table align=center class=miscTable
 tr
 td class=oddRowEvenCol align=center
 This item has been viewed strong%= count
 %/strong
 times
 /td
 /tr
 /table
 %
 }
 %

 If you read the last comment that I posted in Stuart's post, I want to
 implement this in item-view.xsl.

 Thanks in advance and regards,

 --
 Elvi
 -- next part --
 An HTML attachment was scrubbed...

 --

 Message: 2
 Date: Mon, 21 Oct 2013 08:23:05 -0700 (PDT)
 From: kotsomit kotso...@hpclab.ceid.upatras.gr
 Subject: Re: [Dspace-tech] QDC Crosswalk and OAI 2.0
 To: dspace-tech@lists.sourceforge.net
 Message-ID: 1382368985152-4668204.p...@n4.nabble.com
 Content-Type: text/plain; charset=us-ascii

 I have provided an XSL transformation which makes an exhaustive map of the
 DSpace AP elements to dcterms (a la the old qdc.properties).
 In brief:
  - additional elements are now exported
  - language tags are now exported
  - map everything under the dcterms namespace (rather than mixing dc with
 dcterms. See also [1])
  - Provide additional LOM mappings to dcterms elements (in case LOM
 metadata
 exist)
  - assign types to non-literal values

 You can check it out at [2]. We are using this XSLT as the basis for
 populating the DSpace ontology of our Semantic Search plugin.

 Best regards,

 Dimitrios

 [1] http://wiki.dublincore.org/index.php/FAQ/DC_and_DCTERMS_Namespaces
 [2]

 http://code.google.com/p/dspace-semantic-search/source/browse/dspace/config/crosswalks/oai/metadataFormats/qdc.xsl




 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/QDC-Crosswalk-and-OAI-2-0-tp4666172p4668204.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.



 --

 Message: 3
 Date: Mon, 21 Oct 2013 19:48:24 +
 From: Diwakar Timilsina diwa...@uark.edu
 Subject: [Dspace-tech] Dspace 3.2 disable discovery for the site
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 

Re: [Dspace-tech] help

2013-10-22 Thread helix84
On Tue, Oct 22, 2013 at 12:10 AM, Daniel Deogratus ddeogra...@gmail.com wrote:
 help me in setting up Harverster please, all the links that i put on i get 
 the message
 The OAI server does not support dissemination in this format
 What could be the problem

Hi Daniel,

that means the server you're trying to harvest from doesn't offer the
metadata format (metadataPrefix) you're asking from it. All OAI
servers must support the oai_dc format, though, so try asking for
that.


Regards,
~~helix84

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

--
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


Re: [Dspace-tech] help

2013-10-22 Thread Daniel Deogratus
Oh i have replied already with Screen shot, unfortunately not in Mailing
list


On Tue, Oct 22, 2013 at 11:29 AM, helix84 heli...@centrum.sk wrote:

 On Tue, Oct 22, 2013 at 11:28 AM, Daniel Deogratus ddeogra...@gmail.com
 wrote:
  Helix
  i tried several servers it all give me the same error!
 
  http://www.openarchives.org/Register/BrowseSites
 
  is the place where i have all those links

 OK, first we'll need the information Bram asked. Please, reply to the
 mailing list.


 Regards,
 ~~helix84

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




-- 
Deogratus Daniel
Pnone: +255 784 610 605
Email:ddeogra...@gmail.com email%3addeogra...@gmail.com

KUMBUKA:
Mjinga hujifunza kupitia makosa ya kwake mwenyewe, mwelevu hujifunza
kupitia makosa ya wengine. Hakuna jipya ambalo halijawahi kutokea dunia hii.
--
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

Re: [Dspace-tech] help

2013-10-22 Thread Daniel Deogratus
Hey Bram,

I tested the link you gave me and seems to seem to work well,

Please see attached Shot and How do i generate a link for someone
to harvest from my Repository.

Thank you


On Tue, Oct 22, 2013 at 11:34 AM, Bram Luyten b...@atmire.com wrote:

 Hi Daniel,

 please always keep dspace-tech in CC so the valuable information in this
 dialogue is shared with others.

 I see you are using the web based interface to configure an automated
 import for a DSpace collection, from an external oai-pmh target.

 I tried the target url from your screenshot and can only conclude that
 this is not a valid OAI-PMH target.

 Trying this on demo.dspace.org, the attached screenshot confirms that it
 does work with a valid target, for example:
 http://aura.abdn.ac.uk/dspace-oai/request

 hope this helps,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Tue, Oct 22, 2013 at 11:25 AM, Daniel Deogratus 
 ddeogra...@gmail.comwrote:

 Hi

 i was trying the OAI in my locally hosted Dspace,

 The Link is
 http://web01.library.tamu.edu/oai-h151/request

 And please see the attachment.
 is there any change that i need to do in OAI.conf file??


 On Tue, Oct 22, 2013 at 11:00 AM, Bram Luyten b...@atmire.com wrote:

 Hi Daniel,

 can you provide some more details about this error?

 Are you seeing this in your browser window or your command line output?

 Can you post a screenshot or stacktrace of this error, together with the
 URL you are using?

 cheers,

 Bram


 --
 [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Tue, Oct 22, 2013 at 12:10 AM, Daniel Deogratus ddeogra...@gmail.com
  wrote:

 help me in setting up Harverster please, all the links that i put on i
 get the message
 The OAI server does not support dissemination in this format
 What could be the problem

 Am currently running Dspace 3.X in Local

 Rgards


 On Tue, Oct 22, 2013 at 12:01 AM, 
 dspace-tech-requ...@lists.sourceforge.net wrote:

 Send DSpace-tech mailing list submissions to
 dspace-tech@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 or, via email, send a message with subject or body 'help' to
 dspace-tech-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 dspace-tech-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of DSpace-tech digest...


 Today's Topics:

1. Google Analytics Statistics within DSpace on XMLUI? (Nemiz, Elvi)
2. Re: QDC Crosswalk and OAI 2.0 (kotsomit)
3. Dspace 3.2 disable discovery for the site (Diwakar Timilsina)
4. Problem in uploading files - xmlui (Schuster, David)


 --

 Message: 1
 Date: Mon, 21 Oct 2013 22:11:37 +0800
 From: Nemiz, Elvi esne...@seafdec.org.ph
 Subject: [Dspace-tech] Google Analytics Statistics within DSpace on
 XMLUI?
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 
 caarceks8avoi0himexf6pvvrzzhbguf4oyjlzmait6teu0j...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Dear All,

 I have read the thread here:

 http://dspace.2283337.n4.nabble.com/Google-Analytics-Statistics-within-DSpace-on-XMLUI-td4658773.html
 and
 tried Stuart Lewis' Surfacing Google Analytics stats in DSpace:

 http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/
 which
 is build on jspui. I would like to ask if someone from the list have
 implemented these on xmlui? On Stuart Lewis post, I don't know how to
 convert the code which is written for jspui to xmlui:

 %
 // See if we can display a counter
 String path = /handle/ + item.getHandle();
 String count = GoogleAnalyticsHitCounter.getPageCount(path);
 if ((count != null)  (!.equals(count)))
 {
 %
 table align=center class=miscTable
 tr
 td class=oddRowEvenCol align=center
 This item has been viewed strong%= count
 %/strong
 times
 /td
 /tr
 /table
 %
 }
 %

 If you read the last comment that I posted in Stuart's post, I want to
 implement this in item-view.xsl.

 Thanks in advance and regards,

 --
 Elvi
 -- next part --
 An HTML attachment was scrubbed...

 --

 Message: 2
 Date: Mon, 21 Oct 2013 08:23:05 -0700 (PDT)
 From: kotsomit kotso...@hpclab.ceid.upatras.gr
 Subject: Re: 

[Dspace-tech] help

2013-10-21 Thread Daniel Deogratus
help me in setting up Harverster please, all the links that i put on i get
the message
The OAI server does not support dissemination in this format
What could be the problem

Am currently running Dspace 3.X in Local

Rgards


On Tue, Oct 22, 2013 at 12:01 AM, dspace-tech-requ...@lists.sourceforge.net
 wrote:

 Send DSpace-tech mailing list submissions to
 dspace-tech@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 or, via email, send a message with subject or body 'help' to
 dspace-tech-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 dspace-tech-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of DSpace-tech digest...


 Today's Topics:

1. Google Analytics Statistics within DSpace on XMLUI? (Nemiz, Elvi)
2. Re: QDC Crosswalk and OAI 2.0 (kotsomit)
3. Dspace 3.2 disable discovery for the site (Diwakar Timilsina)
4. Problem in uploading files - xmlui (Schuster, David)


 --

 Message: 1
 Date: Mon, 21 Oct 2013 22:11:37 +0800
 From: Nemiz, Elvi esne...@seafdec.org.ph
 Subject: [Dspace-tech] Google Analytics Statistics within DSpace on
 XMLUI?
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 
 caarceks8avoi0himexf6pvvrzzhbguf4oyjlzmait6teu0j...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Dear All,

 I have read the thread here:

 http://dspace.2283337.n4.nabble.com/Google-Analytics-Statistics-within-DSpace-on-XMLUI-td4658773.html
 and
 tried Stuart Lewis' Surfacing Google Analytics stats in DSpace:

 http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/
 which
 is build on jspui. I would like to ask if someone from the list have
 implemented these on xmlui? On Stuart Lewis post, I don't know how to
 convert the code which is written for jspui to xmlui:

 %
 // See if we can display a counter
 String path = /handle/ + item.getHandle();
 String count = GoogleAnalyticsHitCounter.getPageCount(path);
 if ((count != null)  (!.equals(count)))
 {
 %
 table align=center class=miscTable
 tr
 td class=oddRowEvenCol align=center
 This item has been viewed strong%= count %/strong
 times
 /td
 /tr
 /table
 %
 }
 %

 If you read the last comment that I posted in Stuart's post, I want to
 implement this in item-view.xsl.

 Thanks in advance and regards,

 --
 Elvi
 -- next part --
 An HTML attachment was scrubbed...

 --

 Message: 2
 Date: Mon, 21 Oct 2013 08:23:05 -0700 (PDT)
 From: kotsomit kotso...@hpclab.ceid.upatras.gr
 Subject: Re: [Dspace-tech] QDC Crosswalk and OAI 2.0
 To: dspace-tech@lists.sourceforge.net
 Message-ID: 1382368985152-4668204.p...@n4.nabble.com
 Content-Type: text/plain; charset=us-ascii

 I have provided an XSL transformation which makes an exhaustive map of the
 DSpace AP elements to dcterms (a la the old qdc.properties).
 In brief:
  - additional elements are now exported
  - language tags are now exported
  - map everything under the dcterms namespace (rather than mixing dc with
 dcterms. See also [1])
  - Provide additional LOM mappings to dcterms elements (in case LOM
 metadata
 exist)
  - assign types to non-literal values

 You can check it out at [2]. We are using this XSLT as the basis for
 populating the DSpace ontology of our Semantic Search plugin.

 Best regards,

 Dimitrios

 [1] http://wiki.dublincore.org/index.php/FAQ/DC_and_DCTERMS_Namespaces
 [2]

 http://code.google.com/p/dspace-semantic-search/source/browse/dspace/config/crosswalks/oai/metadataFormats/qdc.xsl




 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/QDC-Crosswalk-and-OAI-2-0-tp4666172p4668204.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.



 --

 Message: 3
 Date: Mon, 21 Oct 2013 19:48:24 +
 From: Diwakar Timilsina diwa...@uark.edu
 Subject: [Dspace-tech] Dspace 3.2 disable discovery for the site
 To: dspace-tech@lists.sourceforge.net
 dspace-tech@lists.sourceforge.net
 Message-ID:
 4403d804c87f3846b171b0871ffbfdab43873...@ex-mbx3.uark.edu
 Content-Type: text/plain; charset=us-ascii

 Hi,

 I just upgraded to DSpace 3.2. I would like to enable Discovery only for
 certain collections and not site-wide. It looks like I have to edit
 config/spring/api/discovery.xml. Is there a way to disable for the main
 site without having to create a new DiscoveryConfiguration just to disable
 it? If not, how do I create a new DiscoveryConfiguration to disable
 Discovery on the main site?

 Any help is appreciated.




 Thanks.

 Diwakar Timilsina
 Systems 

Re: [Dspace-tech] Help for streaming play video into DSpace 3.2 [ JSPUI XAMLUI ]

2013-10-14 Thread Bhavesh Patel
Dear all,

Please let me know if anyone have integrate the video streaming into
DSpace3.2 into JSPUI or XMLUI that will play the video on item detail page.

I have tried the 
http://blog.stuartlewis.com/2009/05/27/easy-pseudo-video-streaming-for-dspace-repositories/;
but not able to success.  please help me if anyone have do that..



Thank you in Advance.

Thanks,
Bhavesh Patel

Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*


On Thu, Oct 10, 2013 at 2:08 PM, Bhavesh Patel bhavesh.bece...@gmail.comwrote:

 Hi All,

 I Need your help regarding to Streaming and Play Video on DSpace3.2 into
 JSPUI  XMLUI.

 Please let me know if anyone have integrate this feature.

 Thank you.


 Thanks  Regards,
 *Bhavesh R. Patel *
 bhavesh.bece...@gmail.com (Email)

 *Websites :*

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today

 *Please consider the environment before printing this e-mail.*

--
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

[Dspace-tech] Help for streaming play video into DSpace 3.2 [ JSPUI XAMLUI ]

2013-10-10 Thread Bhavesh Patel
Hi All,

I Need your help regarding to Streaming and Play Video on DSpace3.2 into
JSPUI  XMLUI.

Please let me know if anyone have integrate this feature.

Thank you.


Thanks  Regards,
*Bhavesh R. Patel *
bhavesh.bece...@gmail.com (Email)

*Websites :*

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today

*Please consider the environment before printing this e-mail.*
--
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

[Dspace-tech] HELP PLEASE

2013-09-25 Thread UNIVIRTUAL UNISARC
Buenos dias

Todo estaba bien pero en los ultimos dias no se a podido crear ITEM ya que
genera el siguiente mensaje:

ERROR INTERNO DE SISTEMA

El sistema ha experimentado un error interno. Por favor, vuelva a
intentarlo de nuevo, y si el problema persiste, por favor, contactese con
nosotros para poder arreglarlo.

Alguna sugerencia?

Cordial saludo,


Willmar F. Alzate C.
--
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=60133471iu=/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] HELP PLEASE

2013-09-25 Thread André
Es un message genérico de error. Debes que verificar los LOGs del sistema
para conocer la causa del problema.
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
Saludos


2013/9/25 UNIVIRTUAL UNISARC univirt...@unisarc.edu.co

 Buenos dias

 Todo estaba bien pero en los ultimos dias no se a podido crear ITEM ya que
 genera el siguiente mensaje:

 ERROR INTERNO DE SISTEMA

 El sistema ha experimentado un error interno. Por favor, vuelva a
 intentarlo de nuevo, y si el problema persiste, por favor, contactese con
 nosotros para poder arreglarlo.

 Alguna sugerencia?

 Cordial saludo,


 Willmar F. Alzate C.


 --
 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=60133471iu=/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

--
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=60133471iu=/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] Help to enable Citation Cover Page on DSpace 3.2

2013-09-10 Thread MARTINEZ ZUÑIGA , ENRIQUE
Hi everyone,

I'm trying to enable the Citation Cover Page on DSpace 3.2 following the Peter 
Dietz's directions [1]

I've done the following:


-  Put CitationDocument.java [2] in 
[dspace-src]/dspace-api/src/main/java/org/dspace/disseminate/ new folder.


-  Patched BitstreamReader.java in 
[dspace-src]/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/ (since 
there is no /dspace-xmlui/dspace-xmlui-api/ in v3.2) as in [3]


-  Added com.itextpdf and com.itextpdf.tool dependencies in 
[dspace-src]/dspace-api/pom.xml as in [3]


-  Patched 
[dspace-src]/dspace-api/src/main/java/org/dspace/core/ConfigurationManager.java 
to add getProperty new signature as in [3]


-  Added disseminate-citation.cfg  to [dspace]/config/modules/ with 
enable_globally=true and citation_as_first_page=true.


It compiles well and everything else works as expected but the cover page never 
shows up.

Can you help me find what I'm missing?

Regards,

Enrique Martinez.

[1] https://github.com/osulibraries/DSpace/wiki/Citation-Cover-Page
[2] 
https://github.com/osulibraries/DSpace/blob/5d11d55a070e2d33a0b7fc5c341cc33c7dc896d5/dspace-api/src/main/java/org/dspace/disseminate/CitationDocument.java
[3] https://github.com/osulibraries/DSpaceOSUKB/pull/7/files

--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/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] Help with Tomcat errors resulting from attempted upgrade from 1.8.1 to 3.0

2013-08-05 Thread Clive Gould
Hi everyone

I'm still having trouble with the upgrade from DSpace from 1.8.1 to 3.0 and
am starting to feel out of my depth.

There appears to be an issue picked up in the Tomcat log appended

Can anyone tell me what I've done wrong, or shall I just give up moving to
3.0 and stick with 1.8.1?

Thanks very much

Clive


INFO: SolrServlet.init() done
Aug 5, 2013 9:56:59 AM org.apache.solr.core.SolrResourceLoader
locateSolrHome
INFO: Using JNDI solr.home: /home/dspace/solr
Aug 5, 2013 9:56:59 AM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:656)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sword] startup failed due to previous errors
log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:656)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   

Re: [Dspace-tech] Help with Tomcat errors resulting from attempted upgrade from 1.8.1 to 3.0

2013-08-05 Thread Kostas Stamatis
Hi,

 

It seems that you have an error in you SWORD web.xml file. Go to the file
{webapps}/sword/WEB-INF/web.xml and check if the path to DSpace
configuration file is well set. From the log, it seems that there is a
${dspace.dir} directive which was not replaced accordingly during the maven
procedure.

 

 

Regards,

 

Kostas

 

 

 

From: Clive Gould [mailto:cli...@gmail.com] 
Sent: Monday, August 05, 2013 12:14 PM
To: dspace-tech@lists.sourceforge.net Tech
Subject: [Dspace-tech] Help with Tomcat errors resulting from attempted
upgrade from 1.8.1 to 3.0

 

Hi everyone

 

I'm still having trouble with the upgrade from DSpace from 1.8.1 to 3.0 and
am starting to feel out of my depth.

 

There appears to be an issue picked up in the Tomcat log appended

 

Can anyone tell me what I've done wrong, or shall I just give up moving to
3.0 and stick with 1.8.1?

 

Thanks very much

 

Clive

 

 

INFO: SolrServlet.init() done
Aug 5, 2013 9:56:59 AM org.apache.solr.core.SolrResourceLoader
locateSolrHome
INFO: Using JNDI solr.home: /home/dspace/solr
Aug 5, 2013 9:56:59 AM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:7
0)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java:161)
at java.net.URL.openStream(URL.java:1009)
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:65
6)
at
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextLi
stener.java:127)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
91)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:117)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 5, 2013 9:56:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/sword] startup failed due to previous errors
log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
INFO: Loading provided config file: ${dspace.dir}/config/dspace.cfg
FATAL: Can't load configuration: file:/${dspace.dir}/config/dspace.cfg
java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:7
0)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection
.java

[Dspace-tech] Help with enabling mobile site

2013-07-25 Thread Kiriaki Roditi

Hello,

Has anyone enabled mobile theme in DSpace 3.1?
I followed these instructions: 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/themes/mobile/readme.txt, 
but I can' t get it to work!
The mobile site does not appear neither from mobiles, nor from my pc 
using the mobile address.
It can be accessed only through this address: 
http:///ourdspacesite//?themepath=mobile/ as a theme preview.

Please let me explain what I have done so far:
- Added two DNS entries. An A record entry for our DSpace (Mirage) site 
and a CNAME record for the mobile./ourdspacesite/. Both addresses work 
and point to Mirage.
- Added two lines in /my-theme/.xsl to call detectmobile.js and 
cookies.js scripts. Did not add the View mobile site link in the footer.

- Added the mobile./ourdspacesite /address in detectmobile.js
- Edited dspace.mobileUrl property in dspace.cfg

Do I need to do something else? What am I missing?

Thank you in advance.

Best regards,
Kiriaki

--
Kiriaki Roditi
Technical Support Engineer
EL/i/DOC Systems  Services
e-mail: krod...@elidoc.gr
Phone: +30 210 2588510
--
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

Re: [Dspace-tech] Help in indexing dspace3

2013-07-15 Thread Thornton, Susan M. (LARC-B702)[LITES]
Try changing your Java parameters in dsrun to:

java -Xms2048m -Xmx3072m -Xss512k -Dfile.encoding=UTF-8 -classpath $FULLPATH 
$@

Good luck!
Sue


Sue Thornton
Office:  (757) 224-4130
Mobile: (757) 506-9903  
susan.m.thorn...@nasa.gov



-Original Message-
From: mohammadpourf...@gmail.com [mailto:mohammadpourf...@gmail.com] 
Sent: Friday, July 12, 2013 6:07 AM
To: Thornton, Susan M. (LARC-B702)[LITES]
Subject: Help in indexing dspace3

Dear Susan,
I have a question and i will be grateful if you can help me.
When i want to index my dspace 3 with command (dspace index-init or index-init 
-r -v), I encounter a error:
Exception: Java heap space
java.lang.OutOfMemoryError: Java heap space ...
I tried so much to solve this. I set Java_OPS and catalina in catalina.sh, I 
tried increasing java memory from control panel (java), I tried environmental 
path for JAVA_OPS, I changed seach.maxinteger to -1 in dspace.cfg, but i did 
not get answer.
I use xampp and also tried tomcat separately but ...
Please if you can help me on this subject.
Many thanks for your attention.

_
Sent from http://dspace.2283337.n4.nabble.com


--
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


Re: [Dspace-tech] Help in indexing dspace3

2013-07-15 Thread Thornton, Susan M. (LARC-B702)[LITES]
Sorry - I didn't see you were using DSpace version 3 - try changing your 
JAVA_OPTS in /bin/dspace to:

JAVA_OPTS=-Xms2048m -Xmx3072m -Xss512k -Dfile.encoding=UTF-8

Pls. let us know if this works for you.
Thanks,
Sue


Sue Thornton
Office:  (757) 224-4130
Mobile: (757) 506-9903  
susan.m.thorn...@nasa.gov




-Original Message-
From: mohammadpourf...@gmail.com [mailto:mohammadpourf...@gmail.com] 
Sent: Friday, July 12, 2013 6:07 AM
To: Thornton, Susan M. (LARC-B702)[LITES]
Subject: Help in indexing dspace3

Dear Susan,
I have a question and i will be grateful if you can help me.
When i want to index my dspace 3 with command (dspace index-init or index-init 
-r -v), I encounter a error:
Exception: Java heap space
java.lang.OutOfMemoryError: Java heap space ...
I tried so much to solve this. I set Java_OPS and catalina in catalina.sh, I 
tried increasing java memory from control panel (java), I tried environmental 
path for JAVA_OPS, I changed seach.maxinteger to -1 in dspace.cfg, but i did 
not get answer.
I use xampp and also tried tomcat separately but ...
Please if you can help me on this subject.
Many thanks for your attention.

_
Sent from http://dspace.2283337.n4.nabble.com


--
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


Re: [Dspace-tech] Help in indexing dspace3

2013-07-15 Thread Hilton Gibson
Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations



On 15 July 2013 14:49, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.gov wrote:

 Try changing your Java parameters in dsrun to:

 java -Xms2048m -Xmx3072m -Xss512k -Dfile.encoding=UTF-8 -classpath
 $FULLPATH $@

 Good luck!
 Sue

 
 Sue Thornton
 Office:  (757) 224-4130
 Mobile: (757) 506-9903
 susan.m.thorn...@nasa.gov



 -Original Message-
 From: mohammadpourf...@gmail.com [mailto:mohammadpourf...@gmail.com]
 Sent: Friday, July 12, 2013 6:07 AM
 To: Thornton, Susan M. (LARC-B702)[LITES]
 Subject: Help in indexing dspace3

 Dear Susan,
 I have a question and i will be grateful if you can help me.
 When i want to index my dspace 3 with command (dspace index-init or
 index-init -r -v), I encounter a error:
 Exception: Java heap space
 java.lang.OutOfMemoryError: Java heap space ...
 I tried so much to solve this. I set Java_OPS and catalina in catalina.sh,
 I tried increasing java memory from control panel (java), I tried
 environmental path for JAVA_OPS, I changed seach.maxinteger to -1 in
 dspace.cfg, but i did not get answer.
 I use xampp and also tried tomcat separately but ...
 Please if you can help me on this subject.
 Many thanks for your attention.

 _
 Sent from http://dspace.2283337.n4.nabble.com



 --
 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
--
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] help

2013-05-22 Thread Krassen Stefanov

- Original Message -
From: dspace-tech-requ...@lists.sourceforge.net
To: dspace-tech@lists.sourceforge.net
Sent: Wed, 22 May 2013 11:23:02 +0300 (EEST)
Subject: DSpace-tech Digest, Vol 85, Issue 89

Send DSpace-tech mailing list submissions to
dspace-tech@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
dspace-tech-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Internal server error while doing keyword search
  (ribin.jo...@niist.res.in)


--

Message: 1
Date: Wed, 22 May 2013 13:53:30 +0530 (IST)
From: ribin.jo...@niist.res.in
Subject: Re: [Dspace-tech] Internal server error while doing keyword
search
To: heli...@centrum.sk
Cc: dspace-tech DSpace-tech@lists.sourceforge.net
Message-ID: 1876174955.48071.1369211010934.JavaMail.root@primary
Content-Type: text/plain; charset=utf-8

I get the below while doing that:

root@itlab:/home/dspace/bin# /home/dspace/bin/index-init -r -v
Creating browse index
Creating search index
Exception in thread main java.io.IOException: read past EOF
at 
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.   
 
java:146)
at 
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInpu   
 
t.java:38)
at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:207)
at 
org.apache.lucene.index.IndexFileDeleter.init(IndexFileDeleter.java   
 
:168)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:452)
at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:778)
at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:422)
at org.dspace.search.DSIndexer.main(DSIndexer.java:536)


Below  is the log when I again try keyword searching. I still don't get any 
search results..(see the attached screenshot)

2013-05-22 13:50:31,782 ERROR org.dspace.search.DSQuery @ Unable to use 
speficied sort option: type/relevance
2013-05-22 13:50:31,783 INFO  org.dspace.app.webui.servlet.SimpleSearchServlet 
@ 
anonymous:session_id=5E0432E316E66A9CCD5C65D9D1A99660:ip_addr=10.10.100.1:search:collection_id=17,query=biodiesel,results=(0,0,0)


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:39:47 PM
Subject: Re: [Dspace-tech] Internal server error while doing keyword search

Stop Tomcat and run the following command (replace [dspace] with your
DSpace installation directory):

[dspace]/bin/dspace index-init -r -v

Then start Tomcat.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
-- next part --
A non-text attachment was scrubbed...
Name: search.jpg
Type: image/jpeg
Size: 171083 bytes
Desc: not available

--

--
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


End of DSpace-tech Digest, Vol 85, Issue 89
***


-- 

 
Professor Dr. Krassen Stefanov
Sofia University St. Kl. Ohridski
Faculty of Mathematics and Informatics
5 James Bouchier Blvd.
Sofia 1164, Bulgaria
Tel: (+359 2) 8161 535
Mobile:(+359 889) 101 919
E-mail: kras...@fmi.uni-sofia.bg

---



Re: [Dspace-tech] Help with configuring SOLR to use a specific search analyzer

2013-05-21 Thread Kiriaki Roditi

Hi Helix,

Thank you for your confirmation!
Actually, I had both JSPUI and Mirage set to use discovery. I disabled 
it in JSPUI to prove the difference between the two search mechanisms 
and to verify that Lucene is indeed using the greek analyzer.


Regards,
Kiriaki

On 20/5/2013 5:38 μμ, helix84 wrote:

Hi Kiriaki,

I'm just writing to confirm that update-discovery-index -b is what 
you need to run after you make modifications to schema.xml, but I 
don't know why your changes aren't working.


Regarding the difference between JSPUI and XMLUI, from what you said 
you seem to have JSPUI configured to use Lucene search (the default) 
and XMLUI to use Discovery (not default, you had to enable it).


search.analyzer is relevant only to Lucene search, not Solr search.

But I don't know how to use a different analyzer in Solr (your 
approach seems sensible).



Regards,
~~helix84

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



--
Kiriaki Roditi
EL/i/DOC Systems  Services
--
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] Help with configuring SOLR to use a specific search analyzer

2013-05-21 Thread Kiriaki Roditi

Hello Ben,

Thank you for the URLs. They gave me a head start and I managed to solve 
this!


I am posting this in case someone else needs to try it:

- added two filters for the Greek language (mentioned in the following 
apache wiki page: http://wiki.apache.org/solr/LanguageAnalysis#Greek),

- rebuilt,
- re-indexed and it worked.

Thanks again for your advice Ben and helix!

Regards,
Kiriaki
EL/i/DOC Systems  Services

On 20/5/2013 6:03 μμ, Benjamin Ryan wrote:


Kiriaki,

Be aware the analyzers/filters for anything other than very simple 
cases usually come in pairs, one for indexing and one for searching. 
It is important to understand that if a field is analyzed/filtered in 
one way (lowercase filter is a simple case) for indexing this will 
have an impact on how your search performs as it (may) go through 
analysis/filtering before it gets to the part where terms are matched.


A good place to check what is going on is the SOLR admin interface 
(http://127.0.0.1:8080/solr/search/admin/schema.jsp for a browser that 
gives you info on all your fields and how they are analyzed and filtered.


Also the http://127.0.0.1:8080/solr/search/admin/analysis.jsp page is 
good for checking what is happening to an input as it goes through 
analysis/filtering for both the index and search chains.


As an example select the field name “text” with a field value of 
“wi-fi” for indexing and “wi-fi” for searching, when you hit the 
analyze button you will see the results of the two chains. In this 
case the index chain has the terms wi,fi and wifi and the search chain 
has the terms wi and fi. This in combination with other filters (i.e. 
stemming) will determine what terms are available for searching and 
what the results will be for a given search.


For your case I would assume that if it you want a simple query over a 
text field the index and analysis chain should produce the same 
results for a given input, but this will be dependent on the exact 
query that is issued to SOLR and the parameters that are passed (this 
is one area I need to look at in Dspace).


One word of caution – this is a very big topic J

Regards,

Ben

--
Dr Ben Ryan
Jorum Technical Manager

5.12 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6039
E-mail:benjamin.r...@manchester.ac.uk 
https://outlook.manchester.ac.uk/owa/redir.aspx?C=b28b5bdd1a91425abf8e32748c93f487URL=mailto%3abenjamin.ryan%40manchester.ac.uk

--

*From:*Kiriaki Roditi [mailto:krod...@elidoc.gr]
*Sent:* 20 May 2013 14:58
*To:* dspace-tech@lists.sourceforge.net
*Subject:* [Dspace-tech] Help with configuring SOLR to use a specific 
search analyzer


Hello DSpace community,

I am trying to set SOLR to use the Greek analyzer for searches 
performed in Mirage, DSpace version 3.1.
Setting the analyzer property in dspace.cfg to search.analyzer = 
org.apache.lucene.analysis.el.GreekAnalyzerseems to be working only 
for jspui' s search aspect,
so after a bit of searching and reading apache wikis, I performed the 
following actions:


 - uncommented the following in 
[dspace-src]/dspace/solr/search/conf/schema.xml


fieldType name=text_greek class=solr.TextField
  analyzer class=org.apache.lucene.analysis.el.GreekAnalyzer/
/fieldType

- rebuilt dspace
- stopped tomcat
- cleared tomcat's cache
- recreated indexes several times running: index-init, 
update-discovery-indexand index-init, update-discovery-index -b


but it does not seem to work. Am I missing something? Any suggestions 
would be more than welcome!


Regards,

Kiriaki Roditi
EL/i/DOC Systems  Services

--
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] Help with configuring SOLR to use a specific search analyzer

2013-05-20 Thread Kiriaki Roditi

Hello DSpace community,

I am trying to set SOLR to use the Greek analyzer for searches performed 
in Mirage, DSpace version 3.1.
Setting the analyzer property in dspace.cfg to search.analyzer = 
org.apache.lucene.analysis.el.GreekAnalyzer seems to be working only for 
jspui' s search aspect,
so after a bit of searching and reading apache wikis, I performed the 
following actions:


 - uncommented the following in 
[dspace-src]/dspace/solr/search/conf/schema.xml

fieldType name=text_greek class=solr.TextField
  analyzer class=org.apache.lucene.analysis.el.GreekAnalyzer/
/fieldType

- rebuilt dspace
- stopped tomcat
- cleared tomcat's cache
- recreated indexes several times running: index-init, 
update-discovery-index and index-init, update-discovery-index -b


but it does not seem to work. Am I missing something? Any suggestions 
would be more than welcome!


Regards,

Kiriaki Roditi
EL/i/DOC Systems  Services
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] Help with configuring SOLR to use a specific search analyzer

2013-05-20 Thread helix84
Hi Kiriaki,

I'm just writing to confirm that update-discovery-index -b is what you
need to run after you make modifications to schema.xml, but I don't know
why your changes aren't working.

Regarding the difference between JSPUI and XMLUI, from what you said you
seem to have JSPUI configured to use Lucene search (the default) and XMLUI
to use Discovery (not default, you had to enable it).

search.analyzer is relevant only to Lucene search, not Solr search.

But I don't know how to use a different analyzer in Solr (your approach
seems sensible).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] Help with configuring SOLR to use a specific search analyzer

2013-05-20 Thread Benjamin Ryan
Kiriaki,
   Be aware the analyzers/filters for anything other than very 
simple cases usually come in pairs, one for indexing and one for searching. It 
is important to understand that if a field is analyzed/filtered in one way 
(lowercase filter is a simple case) for indexing this will have an impact on 
how your search performs as it (may) go through analysis/filtering before it 
gets to the part where terms are matched.
   A good place to check what is going on is the SOLR admin 
interface (http://127.0.0.1:8080/solr/search/admin/schema.jsp for a browser 
that gives you info on all your fields and how they are analyzed and filtered.
   Also the http://127.0.0.1:8080/solr/search/admin/analysis.jsp 
page is good for checking what is happening to an input as it goes through 
analysis/filtering for both the index and search chains.
   As an example select the field name “text” with a field value of 
“wi-fi” for indexing and “wi-fi” for searching, when you hit the analyze button 
you will see the results of the two chains. In this case the index chain has 
the terms wi,fi and wifi and the search chain has the terms wi and fi. This in 
combination with other filters (i.e. stemming) will determine what terms are 
available for searching and what the results will be for a given search.
   For your case I would assume that if it you want a simple query 
over a text field the index and analysis chain should produce the same results 
for a given input, but this will be dependent on the exact query that is issued 
to SOLR and the parameters that are passed (this is one area I need to look at 
in Dspace).

   One word of caution – this is a very big topic ☺

Regards,
   Ben

--
Dr Ben Ryan
Jorum Technical Manager

5.12 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6039
E-mail: 
benjamin.r...@manchester.ac.ukhttps://outlook.manchester.ac.uk/owa/redir.aspx?C=b28b5bdd1a91425abf8e32748c93f487URL=mailto%3abenjamin.ryan%40manchester.ac.uk
--

From: Kiriaki Roditi [mailto:krod...@elidoc.gr]
Sent: 20 May 2013 14:58
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Help with configuring SOLR to use a specific search 
analyzer

Hello DSpace community,

I am trying to set SOLR to use the Greek analyzer for searches performed in 
Mirage, DSpace version 3.1.
Setting the analyzer property in dspace.cfg to search.analyzer = 
org.apache.lucene.analysis.el.GreekAnalyzer seems to be working only for jspui' 
s search aspect,
so after a bit of searching and reading apache wikis, I performed the following 
actions:

 - uncommented the following in [dspace-src]/dspace/solr/search/conf/schema.xml

fieldType name=text_greek class=solr.TextField
  analyzer class=org.apache.lucene.analysis.el.GreekAnalyzer/
/fieldType
- rebuilt dspace
- stopped tomcat
- cleared tomcat's cache
- recreated indexes several times running: index-init, update-discovery-index 
and index-init, update-discovery-index -b

but it does not seem to work. Am I missing something? Any suggestions would be 
more than welcome!

Regards,

Kiriaki Roditi
ELiDOC Systems  Services
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] Help with Solr on DSpace 3.1

2013-05-08 Thread Hilton Gibson
Hi Nason

SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
timed out: NativeFSLock@./solr/data/index/write.lock 

I would suspect file permissions as the fault.
To put the app in /usr/local/dspace is unusual.
Try the following at your own risk:

chmod 0777 -R /usr/local/dspace/solr

My preference for app location is /home/dspace which is on
a separate volume/partition.
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

Regards

hg


On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can not
 be found via search neither are they visible in the latest submission lists
 but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
 at
 org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:324)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)
 at
 org.apache.solr.update.processor.LogUpdateProcessor.processDelete(LogUpdateProcessorFactory.java:137)
 at
 org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:256)
 at
 org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:202)
 at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
 at
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
 at
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
 at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
 at
 org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
 at
 org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Nason Bimbe
Thanks Hilton,
I have done what you suggested and I am still getting the same error.

Thanks
Nason


On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can not
 be found via search neither are they visible in the latest submission lists
 but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from classloader:
 file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log
 configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
 at
 org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:324)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)
 at
 org.apache.solr.update.processor.LogUpdateProcessor.processDelete(LogUpdateProcessorFactory.java:137)
 at
 org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:256)
 at
 org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:202)
 at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
 at
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
 at
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
 at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
 at
 org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
 at
 org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
 at
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Hilton Gibson
Hi Nason

Then I am out of ideas without access to your server.
Perhaps others on the list can help.

Regards

hg


On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

 Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can
 not be found via search neither are they visible in the latest submission
 lists but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
 at
 org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:324)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)
 at
 org.apache.solr.update.processor.LogUpdateProcessor.processDelete(LogUpdateProcessorFactory.java:137)
 at
 org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:256)
 at
 org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:202)
 at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
 at
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
 at
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
 at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
 at
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Kevin Van de Velde
Hi Nason,

I would suggest removing the *write.lock* file from the data directory and
rerunning the index command, that should fix it.

Hope this helps,


Kind regards,

[image: logo]
Kevin Van de Velde *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=kevinvdv


On 8 May 2013 12:28, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 Then I am out of ideas without access to your server.
 Perhaps others on the list can help.

 Regards

 hg


 On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

  Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can
 not be found via search neither are they visible in the latest submission
 lists but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
 at
 org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:324)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)
 at
 org.apache.solr.update.processor.LogUpdateProcessor.processDelete(LogUpdateProcessorFactory.java:137)
 at
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Bram Luyten
Hi Nason,

do you see any of these write.lock files on your system? You should be able
to safely delete them.
Does that help in any way?

SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
timed out: NativeFSLock@./solr/data/index/write.lock

best regards,

Bram

-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Wed, May 8, 2013 at 12:28 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 Hi Nason

 Then I am out of ideas without access to your server.
 Perhaps others on the list can help.

 Regards

 hg


 On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

  Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can
 not be found via search neither are they visible in the latest submission
 lists but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
 at
 org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:324)
 at
 org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)
 at
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Nason Bimbe
Hi Bram,
I have now found that the solr folder is actually in /home/dspace/solr/
rather than /usr/local/dspace/solr/. Why the difference because I intended
the solr folder to be in /usr/local/dspace/solr?


Thanks
Nason


On 8 May 2013 12:11, Bram Luyten b...@atmire.com wrote:

 Hi Nason,

 do you see any of these write.lock files on your system? You should be
 able to safely delete them.
 Does that help in any way?

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock

 best regards,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*

 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Wed, May 8, 2013 at 12:28 PM, Hilton Gibson hilton.gib...@gmail.comwrote:

 Hi Nason

 Then I am out of ideas without access to your server.
 Perhaps others on the list can help.

 Regards

 hg


 On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

  Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock
 obtain timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can
 not be found via search neither are they visible in the latest submission
 lists but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server Error

 Internal Server Error

 request: http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update params={wt=javabinversion=2}
 status=500 QTime=11291
 07-May-2013 14:51:24 org.apache.solr.common.SolrException log
 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock
 at org.apache.lucene.store.Lock.obtain(Lock.java:84)
 at
 org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1108)
 at
 org.apache.solr.update.SolrIndexWriter.init(SolrIndexWriter.java:83)
 at
 org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
 at
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Bram Luyten
Hi Nason,

just to ensure that I understand you correctly: are you talking about the
installation directory, the source directory or the web deployment
directory?

cfr
https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-OverviewofDSpaceDirectories

Bram


-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Wed, May 8, 2013 at 3:18 PM, Nason Bimbe nasonbi...@gmail.com wrote:

 Hi Bram,
 I have now found that the solr folder is actually in /home/dspace/solr/
 rather than /usr/local/dspace/solr/. Why the difference because I intended
 the solr folder to be in /usr/local/dspace/solr?


 Thanks
 Nason


 On 8 May 2013 12:11, Bram Luyten b...@atmire.com wrote:

 Hi Nason,

 do you see any of these write.lock files on your system? You should be
 able to safely delete them.
 Does that help in any way?

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock

 best regards,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*

 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Wed, May 8, 2013 at 12:28 PM, Hilton Gibson 
 hilton.gib...@gmail.comwrote:

 Hi Nason

 Then I am out of ideas without access to your server.
 Perhaps others on the list can help.

 Regards

 hg


 On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

  Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock
 obtain timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added can
 not be found via search neither are they visible in the latest submission
 lists but the items can be accessed directly if one knows the uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace provided
 log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at
 org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server
 Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:110)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384)


 and in the catalina.out I get this

 07-May-2013 14:51:24 org.apache.solr.core.SolrCore execute
 INFO: [search] webapp=/solr path=/update
 

Re: [Dspace-tech] Help with Solr on DSpace 3.1

2013-05-08 Thread Nason Bimbe
Hi Guys,
I think I have solved the problem. This line in solrconfig.xml was
uncommented.

!--dataDir${solr.data.dir:./solr/data}/dataDir--

Thank you so much for the help. Your question on finding the lock file
helped me trace where the solr stuff was being placed.

Best
Nason


On 8 May 2013 14:51, Bram Luyten b...@atmire.com wrote:

 Hi Nason,

 just to ensure that I understand you correctly: are you talking about the
 installation directory, the source directory or the web deployment
 directory?

 cfr
 https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-OverviewofDSpaceDirectories

 Bram


 --
 [image: logo]
 *Bram Luyten* *@mire*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Wed, May 8, 2013 at 3:18 PM, Nason Bimbe nasonbi...@gmail.com wrote:

 Hi Bram,
 I have now found that the solr folder is actually in /home/dspace/solr/
 rather than /usr/local/dspace/solr/. Why the difference because I intended
 the solr folder to be in /usr/local/dspace/solr?


 Thanks
 Nason


 On 8 May 2013 12:11, Bram Luyten b...@atmire.com wrote:

 Hi Nason,

 do you see any of these write.lock files on your system? You should be
 able to safely delete them.
 Does that help in any way?

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
 timed out: NativeFSLock@./solr/data/index/write.lock

 best regards,

 Bram

 --
 [image: logo]
 *Bram Luyten* *@mire*

 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


 On Wed, May 8, 2013 at 12:28 PM, Hilton Gibson 
 hilton.gib...@gmail.comwrote:

 Hi Nason

 Then I am out of ideas without access to your server.
 Perhaps others on the list can help.

 Regards

 hg


 On 8 May 2013 12:22, Nason Bimbe nasonbi...@gmail.com wrote:

 Thanks Hilton,
 I have done what you suggested and I am still getting the same error.

  Thanks
 Nason


 On 8 May 2013 11:10, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nason

 SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock
 obtain timed out: NativeFSLock@./solr/data/index/write.lock 

 I would suspect file permissions as the fault.
 To put the app in /usr/local/dspace is unusual.
 Try the following at your own risk:

 chmod 0777 -R /usr/local/dspace/solr

 My preference for app location is /home/dspace which is on
 a separate volume/partition.
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Ubuntu/S03/Disk_Partitioning

 Regards

 hg


 On 8 May 2013 12:00, Nason Bimbe nasonbi...@gmail.com wrote:

 We have upgraded from 1.8.2 to 3.1 and since then new items added
 can not be found via search neither are they visible in the latest
 submission lists but the items can be accessed directly if one knows the
 uri.

 When I ran update-discovery-index -f I get the following

 ris:/usr/local/dspace# bin/dspace update-discovery-index -f
  INFO [main] (DSpaceKernelInit.java:52) - Created new kernel:
 DSpaceKernel:org.dspace:name=dc341a12-aca7-4e50-a578-4d20d2a909e7,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
  INFO [main] (ConfigurationManager.java:1224) - Loading from
 classloader: file:/usr/local/dspace/config/dspace.cfg
  INFO [main] (ConfigurationManager.java:1224) - Using dspace
 provided log configuration (log.init.config)
  INFO [main] (ConfigurationManager.java:1224) - Loading:
 /usr/local/dspace/config/log4j.properties
 Exception: Internal Server Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 org.dspace.discovery.SearchServiceException: Internal Server Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418)
 at
 org.dspace.discovery.IndexClient.main(IndexClient.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
 Caused by: org.apache.solr.common.SolrException: Internal Server
 Error

 Internal Server Error

 request:
 http://localhost:8080/solr/search/update?wt=javabinversion=2
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
 at
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
 at
 

Re: [Dspace-tech] help with hiding Discovery facets on the main page of the repository

2013-04-29 Thread Bram Luyten
Hi Hardy,

great question!

The site value also applies to the /discover page when accessed from the
home page.

Let's say you would disable the facets in a configuration for site, they
will no longer be shown here:
http://demo.dspace.org/xmlui/
http://demo.dspace.org/xmlui/discover

Any community or collection related discovery links will still revert to
the default configuration:
e.g. http://demo.dspace.org/xmlui/handle/10673/1029/discover will not be
affected by site.

It would be great in future releases if we could provide more variables for
the map entry key like homepage, collections, communities etc

If you're only looking to disable facets on the frontpage (and keep them on
/discover), doing this through XSL may be the best way to go for now.

best regards,

Bram




-- 
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On Fri, Apr 26, 2013 at 11:17 PM, Pottinger, Hardy J. 
pottinge...@missouri.edu wrote:

 Hi, we're working on bringing up Discovery on our repository. On our
 development instance, our librarians are concerned about displaying facets
 on the main home page of the repository. They'd like to hide them, and
 reserve them for display on collection and community home pages, as well
 as on the search results pages.

 From reading the documentation:
 https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Configuringl
 istsofsidebarFacetsandsearchFilters


 It looks like you can define settings for facets based on community or
 collection, and there's a setting for site as well. I'm a bit worried if
 I change this site setting whether I'll override more than I intend.
 I'll be giving that a whirl, so my concern may be unfounded, but, if
 anyone has already done something similar, and wouldn't mind letting me
 know whether I'm on the right track, I'll pledge to update the
 documentation with a specific example, since it seems (to me) that hiding
 facets on the home page would be a common concern.

 Thanks!

 --
 HARDY POTTINGER pottinge...@umsystem.edu
 University of Missouri Library Systems
 http://lso.umsystem.edu/~pottingerhj/
 https://MOspace.umsystem.edu/
 Time and accident are committing daily havoc on the originals of the
 valuable historical and State papers deposited in our public offices. The
 late war has done the work of centuries in this business. The last cannot
 be recovered but let us save what remains not by vaults and locks which
 fence them from the public eye and use in consigning them beyond the reach
 of accident --Thomas Jefferson





 --
 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_apr
 ___
 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

--
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_apr___
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] help with hiding Discovery facets on the main page of the repository

2013-04-26 Thread Pottinger, Hardy J.
Hi, we're working on bringing up Discovery on our repository. On our
development instance, our librarians are concerned about displaying facets
on the main home page of the repository. They'd like to hide them, and
reserve them for display on collection and community home pages, as well
as on the search results pages.

From reading the documentation:
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Configuringl
istsofsidebarFacetsandsearchFilters


It looks like you can define settings for facets based on community or
collection, and there's a setting for site as well. I'm a bit worried if
I change this site setting whether I'll override more than I intend.
I'll be giving that a whirl, so my concern may be unfounded, but, if
anyone has already done something similar, and wouldn't mind letting me
know whether I'm on the right track, I'll pledge to update the
documentation with a specific example, since it seems (to me) that hiding
facets on the home page would be a common concern.

Thanks!

--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
Time and accident are committing daily havoc on the originals of the
valuable historical and State papers deposited in our public offices. The
late war has done the work of centuries in this business. The last cannot
be recovered but let us save what remains not by vaults and locks which
fence them from the public eye and use in consigning them beyond the reach
of accident --Thomas Jefferson




--
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_apr
___
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] Help

2013-03-25 Thread Dillip Pattanayak
Sir
DSpace has already been installed. Now I want to change the look of the
front page/home page such as my college name and other information need to
be input.
Thanking u
D Patnaik
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
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] Help

2013-03-25 Thread helix84
On Mon, Mar 25, 2013 at 7:59 AM, Dillip Pattanayak dpatnai...@gmail.com wrote:
 DSpace has already been installed. Now I want to change the look of the
 front page/home page such as my college name and other information need to
 be input.

Which DSpace version and interface are you using?

College name can be changed by changing dspace.name in dspace.cfg.


Regards,
~~helix84

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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
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] help for reset password

2013-02-25 Thread Ravi Hullur
sir, we are installed 1.8 version in centos Os but m want change log in
password plz help me in this regard

-- 
**
*
Regards

Ravi Hullur
Asst.Librarian
KLE University, Belgaum
Mob.No.9740638831
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] help for reset password

2013-02-25 Thread Brian Freels-Stendel
Hi Ravi,

Usually, you can click the Forgot your password? link on a login page.  
You'll need access to the specified email account to complete this process, of 
course.

If you want to change the administrator password, and don't have access to the 
email account for some reason, you can always re-run

[dspace]/bin/dspace create-administrator

This will recreate the administrator account with the newly provided 
information.

B--

From: Ravi Hullur [mailto:rvhul...@gmail.com]
Sent: Monday, February 25, 2013 9:33 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] help for reset password

sir, we are installed 1.8 version in centos Os but m want change log in 
password plz help me in this regard

--
*
Regards

Ravi Hullur
Asst.Librarian
KLE University, Belgaum
Mob.No.9740638831
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] Help message_bg.properties

2013-01-04 Thread Hristo Stamenov
Hi

To my problem from yesterday
Here is the solution
 if needed i can post full tutorial how to run dspace 3.0 from
netbeans from tomcat and add add easy some metafields  

in the

itemTag.java   for the dspace jsp-ui
i added the following code

// this part is to display ONLY bulgarian local this is just a small
fix for the current testing
//getting the current sesstion location
Locale sessionLocale = UIUtil.getSessionLocale(request);

boolean show =
!MetadataExposure.isHidden(context,
values[i].schema, values[i].element, values[i].qualifier);

boolean isBG = true;
// i have added in the database language for the metadate bg_BG
if(values[i].language!= null  !values[i].language.equals(bg_BG))
isBG = false;
if (show  isBG)
{
out.print(trtd headers=\s1\
class=\metadataFieldLabel\);

// this is that  we normally see   example
kmnc.proprties.something
//IF you dont want ONLY one language this is the code you need
String nameField= null;
 nameField= values[i].schema+ . +
values[i].element+. + values[i].qualifier;


 // here i call it if we can find it in the message_bg.properties

nameField=(LocaleSupport.getLocalizedMessage(pageContext,nameField));

out.print(nameField);

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] Help message_bg.properties

2013-01-04 Thread helix84
On Fri, Jan 4, 2013 at 9:40 AM, Hristo Stamenov darkel...@gmail.com wrote:
 Here is the solution

Thanks for sharing your solution.

  if needed i can post full tutorial how to run dspace 3.0 from
 netbeans from tomcat and add add easy some metafields  

If you have anything to add, feel free to edit this wiki page:

https://wiki.duraspace.org/display/DSPACE/IDE+Integration+-+DSpace+and+NetBeans


Regards,
~~helix84

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

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] Help message_bg.properties

2013-01-04 Thread helix84
Hi Hristo,

I just learned about this configuration option:

https://wiki.duraspace.org/pages/viewpage.action?pageId=19006086

You could do without your modifications if you listed all your metadata
fields in the configuration property and defined human readable names for
your custom metadata in Messages.properties
(metadata.schema.element.qualifier).

I recommend doing as little customization to code as possible. It will make
long term maintenance (upgrades) easier.
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
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] Help message_bg.properties

2013-01-03 Thread Hristo Stamenov
Hello
My name is Hristo and i am currently working on a dspace project for a
Bulgarian university.
I have a problem with the displaying of some metadate true the message
properties.


I am working on a linux/ debian virtual machine.
Dspace version 3.0
with Netbeans 7.2*
tomcat 7.0.27

I have written a tool that fills my initial database with the values
that I required
all is working good until i wanted to add the values to the message.properties
example :
I have
kmnc.general.subitems   59  -
kmnc.general.docid  82341   -
kmnc.metadata_copy.collection   Сбирка Vbg_BG
kmnc.metadata_copy.inventory_number 1000-ІІ bg_BG
kmnc.metadata_copy.manuscript_title Сборник bg_BG
kmnc.metadata_copy.date ХVІІ в.

and i want it to display

subitems = 59in bulgarian

I havemessage.properties and message_bg.properties located in
dspace-source/dspace-dspace-jspui/src/mainresources
I know i can access them because when I call for( iam accesing it
in the JSPUI community-list.jsp  for the test )
example:
fmt:message key=dc.title/
or   fmt:mssage key = kmnc.metadata_copy.contents/
it will display

But it does not display when i want to   display full metadate

Thank you

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] Help message_bg.properties

2013-01-03 Thread helix84
Hi Hristo,

I'm not sure that I understand what you want to achieve. I have a
feeling that you may be mixing two different things -
Messages.properties and item metadata.

messages.properties contains static user interface strings that do not
change and can be translated
item metadata is not stored in Messages.properties, but in the
database (metadata* tables)

You would customize Messages.properties only if you want to
1) make changes to the user interface
2) translate the interface

You would make changes to item metadata if you want to change what
shows up e.g. in the simple/full item record view. There are many ways
how you can change the metadata, see the various importing chaters
here:
https://wiki.duraspace.org/display/DSDOC3x/System+Administration

I think you may be confused because the strings from
Messages.properties (e.g. browse.type.metadata.author) look similar to
metadata field names (e.g. dc.contributor.author). In fact, they are
not at all related.

Does that clear it up or was your problem something else?


Regards,
~~helix84

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

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] Help message_bg.properties

2013-01-03 Thread Hristo Stamenov
I will like to have the kmnc.* fields display only some kind of short names
not displaying the entire kmnc.general.subitems but only
subitems 


Regards

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] Help message_bg.properties

2013-01-03 Thread helix84
Just to put things into context, Hristo contacted me off-list and said
that he did mix up message identifiers with metadata field names.

On Thu, Jan 3, 2013 at 2:25 PM, Hristo Stamenov darkel...@gmail.com wrote:
 I will like to have the kmnc.* fields display only some kind of short names
 not displaying the entire kmnc.general.subitems but only
 subitems 

I see, so you would like to have a custom view that has human-readable
names for metadata field names just like simple view (e.g. Author
instead of dc.contributor.author), but lists all metadata fields like
the full view.

I'm not personally using JSPUI, but I'll try to point you in the right
direction. You can store the metadata field names in
Messages.properties (so you can also have a localized
Messages_bg.properties version).

These should be the relevant places in the source:

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-jspui/src/main/webapp/display-item.jsp
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java#L482
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-api/src/main/resources/Messages.properties#L1330

Note that the messages for metadata field names are stored in
Messages.proeprties. (e.g. the metadata.dc.contributor.author property
for the dc.contributor.author field).


Regards,
~~helix84

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

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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


  1   2   3   4   >