[Dspace-tech] 1.7 build failed with Solr Stats

2011-03-24 Thread Iola Hagen [ioh]
While trying to build the 1.7 package I got a build failed error, this looked 
to be connected to the Solr Stats and once I commented out the following code 
from the pom.xml the build completed successfully.

!--
   Builds DSpace Solr Stats for DSpace
--
!-- profile
iddspace-stats/id
activation
file
exists../dspace-stats/pom.xml/exists
/file
/activation
modules
module../dspace-stats/module
/modules
/profile
--
!--
Builds DSpace discovery for DSpace
--

I unpackaged the  dspace-1.7.0-src-release.tar.gz and ran the mvn -U clean 
package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has 
anyone else had any problems with this.

Cheers
Iola
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7 build failed with Solr Stats

2011-03-24 Thread Kim Shepherd
Hi Iola,

Could you please reply with the maven error you encountered when trying to
build with stats?
This will help us figure out what might be going wrong.

Cheers!

Kim




On 24 March 2011 21:45, Iola Hagen [ioh] i...@aber.ac.uk wrote:

 While trying to build the 1.7 package I got a build failed error, this
 looked to be connected to the Solr Stats and once I commented out the
 following code from the pom.xml the build completed successfully.



 !--

Builds DSpace Solr Stats for DSpace

 --

 !-- profile

 iddspace-stats/id

 activation

 file

 exists../dspace-stats/pom.xml/exists

 /file

 /activation

 modules

 module../dspace-stats/module

 /modules

 /profile

 --

 !--

 Builds DSpace discovery for DSpace

 --



 I unpackaged the  dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean
 package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has
 anyone else had any problems with this.



 Cheers

 Iola


 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7 build failed with Solr Stats

2011-03-24 Thread helix84
This message points out where the error is:
/storage/repos/dspace17/dspace-1.7.0-src-release/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java:[26,13]
unmappable character for encoding ASCII

The problematic string is Åland Islands.

I guess the encoding of this file broke on your system while
extracting or editing. For a quick fix, just replace Å with A.
There don't seem to be other problematic characters in that file.

Regards,
~~helix84

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7 build failed with Solr Stats

2011-03-24 Thread Kim Shepherd
Hi Iola,

The problem seems to be related to character encoding:

/storage/repos/dspace17/dspace-1.7.0-src-release/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java:[26,13]
unmappable character for encoding ASCII

There are country names like Åland Islands that will cause problems in a
non-UTF-8 environment (eg. ASCII, ISO-8859-1, windows-1252).

I haven't encountered this issue before.. I'm guessing that your environment
(eg. Windows, Linux), maven, or javac itself is not configured to use UTF-8
encoding. Could you give a bit more detail about what OS you're running,
etc?

(it seems from your comments that you're not using an IDE to build, but just
in case you are, that will also need default character encoding changed to
UTF-8)

A possible workaround is to replace some of the non-ASCII characters in
LocationUtils.java with their ASCII equivalents, but the better solution
will be to try and get your environment fully UTF-8 compatible.

Hope this helps! Sorry my answer isn't very precise.

Cheers,

Kim


On 24 March 2011 22:54, Iola Hagen [ioh] i...@aber.ac.uk wrote:

 Here is the output from the mvn –e clean build with the solr stats still in
 the pom.xml



 *From:* Kim Shepherd [mailto:kim.sheph...@gmail.com]
 *Sent:* 24 March 2011 8:57 AM
 *To:* Iola Hagen [ioh]
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] 1.7 build failed with Solr Stats



 Hi Iola,



 Could you please reply with the maven error you encountered when trying to
 build with stats?

 This will help us figure out what might be going wrong.



 Cheers!



 Kim









 On 24 March 2011 21:45, Iola Hagen [ioh] i...@aber.ac.uk wrote:

 While trying to build the 1.7 package I got a build failed error, this
 looked to be connected to the Solr Stats and once I commented out the
 following code from the pom.xml the build completed successfully.



 !--

Builds DSpace Solr Stats for DSpace

 --

 !-- profile

 iddspace-stats/id

 activation

 file

 exists../dspace-stats/pom.xml/exists

 /file

 /activation

 modules

 module../dspace-stats/module

 /modules

 /profile

 --

 !--

 Builds DSpace discovery for DSpace

 --



 I unpackaged the  dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean
 package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has
 anyone else had any problems with this.



 Cheers

 Iola



 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7 build failed with Solr Stats

2011-03-24 Thread Iola Hagen [ioh]
Hi thanks for the help I am running Gentoo linux which has a platform encoding 
of ANSI_X3.4-1968 I will try and change it to UTF-8

From: Kim Shepherd [mailto:kim.sheph...@gmail.com]
Sent: 24 March 2011 10:33 AM
To: Iola Hagen [ioh]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 1.7 build failed with Solr Stats

Hi Iola,

The problem seems to be related to character encoding:




/storage/repos/dspace17/dspace-1.7.0-src-release/dspace-stats/src/main/java/org/dspace/statistics/util/LocationUtils.java:[26,13]
 unmappable character for encoding ASCII
There are country names like Åland Islands that will cause problems in a 
non-UTF-8 environment (eg. ASCII, ISO-8859-1, windows-1252).

I haven't encountered this issue before.. I'm guessing that your environment 
(eg. Windows, Linux), maven, or javac itself is not configured to use UTF-8 
encoding. Could you give a bit more detail about what OS you're running, etc?

(it seems from your comments that you're not using an IDE to build, but just in 
case you are, that will also need default character encoding changed to UTF-8)

A possible workaround is to replace some of the non-ASCII characters in 
LocationUtils.java with their ASCII equivalents, but the better solution will 
be to try and get your environment fully UTF-8 compatible.

Hope this helps! Sorry my answer isn't very precise.

Cheers,

Kim


On 24 March 2011 22:54, Iola Hagen [ioh] 
i...@aber.ac.ukmailto:i...@aber.ac.uk wrote:
Here is the output from the mvn –e clean build with the solr stats still in the 
pom.xml

From: Kim Shepherd 
[mailto:kim.sheph...@gmail.commailto:kim.sheph...@gmail.com]
Sent: 24 March 2011 8:57 AM
To: Iola Hagen [ioh]
Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] 1.7 build failed with Solr Stats

Hi Iola,

Could you please reply with the maven error you encountered when trying to 
build with stats?
This will help us figure out what might be going wrong.

Cheers!

Kim




On 24 March 2011 21:45, Iola Hagen [ioh] 
i...@aber.ac.ukmailto:i...@aber.ac.uk wrote:
While trying to build the 1.7 package I got a build failed error, this looked 
to be connected to the Solr Stats and once I commented out the following code 
from the pom.xml the build completed successfully.

!--
   Builds DSpace Solr Stats for DSpace
--
!-- profile
iddspace-stats/id
activation
file
exists../dspace-stats/pom.xml/exists
/file
/activation
modules
module../dspace-stats/module
/modules
/profile
--
!--
Builds DSpace discovery for DSpace
--

I unpackaged the  dspace-1.7.0-src-release.tar.gz and ran the mvn –U clean 
package in the {dspace-soure]/dspace/ directory, I am using maven 2.2.1, has 
anyone else had any problems with this.

Cheers
Iola

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with suggest option for authority control on newest version of Firefox, Chrome and Explorer

2011-03-24 Thread Marc GOOVAERTS
Hi,

 

We are using the suggest option for authority control in our test environment 
for JSP, specifically for a journal list and term list. It worked well until we 
tested it with Firefox 4. It seems then that we had the same problem with the 
latest version of Explorer and Chrome.

 

When searching after filling out some characters it simply does nothing (only 
the timer is turning). When I looked at the log files (dspace or catalina) 
nothing is registered.

 

I tested it out (for the field publisher)  on the demo server at 
http://demo.dspace.org/jspui/ and had the same problems. I think there is a 
compatibility problem on the level of javascript. 

 

Note: In Xmlui the options were visible, but I could not make any selection.

 

Regards

 

Marc Goovaerts

Head Library

Hasselt University

 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] 1.7.0 jspui failed

2011-03-24 Thread liss RR

Hi
 
I send you the screenshots
 
thank you
 


From: b...@mire.be
Date: Fri, 18 Mar 2011 18:19:44 +0100
Subject: Re: [Dspace-tech] 1.7.0 jspui failed
To: liss...@hotmail.com

I'm sorry, I have a hard time to understand your problem exactly.
The bitstreams are not showing in the edit item view? Could you maybe send some 
screenshots?

The problem is only occuring in the JSPUI, right?

rgds

Bram Luyten
@mire

Technologielaan 9 - 3001 Heverlee - Belgium

2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions



On Thu, Mar 17, 2011 at 6:32 PM, liss RR liss...@hotmail.com wrote:


Hi Bram
 
I 've installed dspace again now I can add items in the xmlui UI and jspui UI 
and it shows the bitstreams but the database migrated don't shows the 
bitstreams in the jspui UI like the other installation when  I want to edit the 
item in that view I can see the bistream exist but in the consult view don't 
shows I send you the logs files
 
thank you for the interest!
 


From: b...@mire.be
Date: Wed, 16 Mar 2011 18:23:39 +0100 



Subject: Re: [Dspace-tech] 1.7.0 jspui failed
To: liss...@hotmail.com

what does this value say in your config:

upload.temp.dir = ${dspace.dir}/upload





On Wed, Mar 16, 2011 at 6:22 PM, Bram Luyten b...@mire.be wrote:

found something strange in your dspace log:

java.io.FileNotFoundException: 
C:dspace\upload\upload_4b46c623_12ebb2b9c80__7fff_0009.tmp (The system 
cannot find the path specified)

what are the values for your asset store directories in your dspace.cfg ? 
Maybe there are other JSP UI related parameters in dspace.cfg that are faulty.

Sorry I can't be of more help at this time. 

The full cocoon log also looks strange: normally, if all runs well in your 
xmlui, this file should be empty
So I have strong reasons to believe something is wrong with your configuration.

rgds 


Bram Luyten
@mire

Technologielaan 9 - 3001 Heverlee - Belgium

2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions






On Wed, Mar 16, 2011 at 6:11 PM, liss RR liss...@hotmail.com wrote:


Hi Bram
 
I send you the logs attachment and Screenshots, the first NO items it's shown 
after that I restore the database its shows all comunities, collections and 
items but don't show the bistream.
 
the second bitstream it's when I am adding an item but when I am going to 
choose the document it's show the third Error
 
can you please help me?

 


From: b...@mire.be
Date: Wed, 16 Mar 2011 10:52:47 +0100
Subject: Re: [Dspace-tech] 1.7.0 jspui failed
To: liss...@hotmail.com
CC: dspace-tech@lists.sourceforge.net




Hi,

dan you provide some more information on possible errors you see in the dspace 
logfiles?
Or do you get any errors in the user interface? Screenshots might help as well.

best regards,

Bram Luyten
@mire

Technologielaan 9 - 3001 Heverlee - Belgium

2888 Loker Avenue East, Suite 305 - Carlsbad, CA 92010 - USA
atmire.com - Institutional Repository Solutions



On Tue, Mar 15, 2011 at 9:34 PM, liss RR liss...@hotmail.com wrote:


Hellow all:
 
I've upgrading dspace from v. 1.4.2 to 1.7.0 and it seems that works ok  in 
xmlui UI but in the jspui UI I can not see the bitstream and I can't add items
 
what can I do?
 
could somebody help me?
 
Thanks!



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





  --
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Disable Register link in XMLUI

2011-03-24 Thread Tzoc Caniz, Elias
Hello DSpacers,

Using XMLUI and DSpace 1.6, in the “ds-options” sidebar, the My Account div 
includes two links by default: a) Login and b) Register.
I’d like to disable the Register link –removing or commenting the HTML code 
will work too, but I cannot find the file where that’s generated ... any 
thoughts/suggestions?

Thanks in advance!

Elias
Digital Initiatives Librarian
Miami University Libraries
Oxford, OH 45056
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Disable Register link in XMLUI

2011-03-24 Thread helix84
On Thu, Mar 24, 2011 at 16:59, Tzoc Caniz, Elias tz...@muohio.edu wrote:
 Using XMLUI and DSpace 1.6, in the “ds-options” sidebar, the My Account div
 includes two links by default: a) Login and b) Register.
 I’d like to disable the Register link –removing or commenting the HTML code
 will work too, but I cannot find the file where that’s generated ... any
 thoughts/suggestions?

Hello Elias,
usually it's a better idea to disable registration completely than
just hide the link by commenting it out.
To do that, set thus in dspace.cfg:
xmlui.user.registration=false

Regards,
~~helix84

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Expansible menus on DSpace 1.7

2011-03-24 Thread André
Could anyone who had success implementing expansible menus on DSpace share
more detailed knowledge?

I'm trying to follow this guide, but apparently I can't implement correctly
the .JS and the .CSS
https://wiki.duraspace.org/display/DSPACE/Add+expanding+and+collapsing+interface+to+community-list+hierarchy+%28Manakin%29

Thank you and best regards
Andre
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-24 Thread Kocisky
Ralph, sorry i've been outside the while for a bit !

yes, the query returns the correct items from the dspace instance until you
get the 404. I've tried also with resultSetTTL=0... i think you can easily
replicate the same scenario, we dont have any customizations, just dspace
1.7 and SRW.

this is an example, i've received this message after a 404 message (note
that i correctly receive the number of items: 3):

A Project of OCLC Research http://www.oclc.org/research
[image: OCLC] http://www.oclc.org/default.htm
Links: Back to Search http://10.0.102.11:8280/SRW/search/DSpace?
DiagnosticsIdentifier:info:srw/diagnostic/1/1Meaning:General System Error
Details:Cannot get a connection, pool error Timeout waiting for idle object
Identifier:info:srw/diagnostic/1/1Meaning:General System ErrorDetails:Cannot
get a connection, pool error Timeout waiting for idle objectIdentifier:
info:srw/diagnostic/1/1Meaning:General System ErrorDetails:Cannot get a
connection, pool error Timeout waiting for idle objectIdentifier:
info:srw/diagnostic/1/1Meaning:General System ErrorDetails:Cannot get a
connection, pool error Timeout waiting for idle objectResults for Search:
dc.creator = smith
Records found: 3
Next 
Record(s)http://10.0.102.11:8280/SRW/search/DSpace?operation=searchRetrievequery=dc.creator%20=%20%22smith%22maximumRecords=10resultSetTTL=0recordSchema=info:srw/schema/1/dc-v1.1sortKeys=recordPacking=xmlstartRecord=1
Record: 1 of 3
Schema: Dublin Core
Record: 2 of 3
Schema: Dublin Core
Record: 3 of 3
Schema: Dublin Core
Next 
Record(s)http://10.0.102.11:8280/SRW/search/DSpace?operation=searchRetrievequery=dc.creator%20=%20%22smith%22maximumRecords=10resultSetTTL=0recordSchema=info:srw/schema/1/dc-v1.1sortKeys=recordPacking=xmlstartRecord=1


if i can be more helpful let me know,
Kociscky

On 22 March 2011 11:42, LeVan,Ralph le...@oclc.org wrote:

 Kocisky, does that search actually return records when it doesn't return
 the 404 response?

 The root problem is that the search opens a connection to the DSpace
 database and SRU caches that connection for the life of the search
 result.  Typically, those result sets are cleared from the cache after a
 configurable period of idleness.  That configuration happen through the
 specification of a default value in the database configuration file, but
 can be overridden in the request through the resultSetTTL parameter
 (which I note you still have set to 300 seconds in the request you have
 shared.)

 I have spotted a path in my code where the result set would not be freed
 if no records had be found as the result of the query.

 So, does that search for creator=smith actually find documents?

 Ralph

  -Original Message-
  From: Kocisky [mailto:koci...@autistici.org]
  Sent: Monday, March 21, 2011 4:04 PM
  To: dspace-tech@lists.sourceforge.net
  Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
  pool(resultSetTTL)
 
  Hi all,
 
  I've been trying the SRW module
  (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
  i've being facing a problem when I repetitively make the same query:
 
  http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22ve
  rsion=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema
  %2F1%2Fdc-
  v1.1maximumRecords=10startRecord=1resultSetTTL=300recordPacking=
  xmlrecordXPath=sortKeys=
 
  i will get:
 
  404: Document not found (No searchRetrieveResponse)
  OCLC SRW/SRU Server
 
  after 3 minutes or so it will restart working. With some extra
  debugging (thanks to Ralph):
 
  ORG.oclc.os.SRW.HouseKeeping=DEBUG
  ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
 
  log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
  log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
 
  i will get the following exception in dspace.cfg:
 
  2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ exit
  processMethodRequest
  2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ Exit:
  doGet()
  2011-03-10 16:15:34,318 ERROR
  ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
  java.lang.InstantiationException: Cannot get a connection, pool error
  Timeout waiting for idle object
  java.lang.InstantiationException: Cannot get a connection, pool error
  Timeout waiting for idle object
  at
  ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.init(LuceneQueryRes
  ult.java:113)
  at
  ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getQueryResult(SRW
  LuceneDatabase.java:209)
  at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:598)
  at
 
 gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOpera
  tion(SRWSoapBindingImpl.java:138)
  at
 
 gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveO
  peration(SRWSoapBindingSkeleton.java:68)
  at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 I
  mpl.java:25)
  at 

Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-24 Thread Kocisky
Ralph,

the problem reported in my last email was generated by this URL:

http://10.0.102.11:8280/SRW/search/DSpace?query=dc.creator+%3D+%22smith%22version=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema%2F1%2Fdc-v1.1maximumRecords=10startRecord=1resultSetTTL=0recordPacking=xmlrecordXPath=sortKeys=

this is another example:

Links: Back to Search http://10.0.102.11:8280/SRW/search/DSpace?
Results for Search: dc.creator = smith
Records found: 3
Record: 1 of 3
Schema: Dublin Core
Record: 2 of 3
Schema: Dublin Core
Record: 3 of 3
Schema: Dublin Core

I have to say that with resultSetTTL=0 it happens less frequently, but if
you make a request each second i think you will definitely experience the
problem.
I was thinking to use SRW for making the queries from a client web
application to a dspace instance.

I guess that you aren't experiencing this issue, can i ask you what is your
environment?
thank you!

Kociscky



On 22 March 2011 14:17, LeVan,Ralph le...@oclc.org wrote:

 The more I think about this, the more I am convinced that the problem is
 confusion at your end.  The fact that the searching problem clears up
 after 3 minutes is pretty much proof that the cache is being cleared
 appropriately.  The issue is how to get it cleared out more quickly.

 I think the root problem is the resultSetTTL parameter in your request.
 Through it, you are explicitly asking the server to keep the result set
 for 300 seconds.  No matter what you set the default value to, your
 explicit request will override that.  You need to omit that parameter
 for the default to take effect.  Better yet, you should explicitly
 specify a resultSetTTL=0 to let the server know you do not want any
 caching of results.

 Let me know if this helps.

 Ralph

  -Original Message-
  From: LeVan,Ralph
  Sent: Tuesday, March 22, 2011 11:42 AM
  To: 'Kocisky'; dspace-tech@lists.sourceforge.net
  Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
  pool(resultSetTTL)
 
  Kocisky, does that search actually return records when it doesn't
 return the 404
  response?
 
  The root problem is that the search opens a connection to the DSpace
 database
  and SRU caches that connection for the life of the search result.
 Typically,
  those result sets are cleared from the cache after a configurable
 period of
  idleness.  That configuration happen through the specification of a
 default value
  in the database configuration file, but can be overridden in the
 request through
  the resultSetTTL parameter (which I note you still have set to 300
 seconds in the
  request you have shared.)
 
  I have spotted a path in my code where the result set would not be
 freed if no
  records had be found as the result of the query.
 
  So, does that search for creator=smith actually find documents?
 
  Ralph
 
   -Original Message-
   From: Kocisky [mailto:koci...@autistici.org]
   Sent: Monday, March 21, 2011 4:04 PM
   To: dspace-tech@lists.sourceforge.net
   Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
   pool(resultSetTTL)
  
   Hi all,
  
   I've been trying the SRW module
   (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
   i've being facing a problem when I repetitively make the same query:
  
  
  http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22ve
  
  rsion=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema
   %2F1%2Fdc-
  
  v1.1maximumRecords=10startRecord=1resultSetTTL=300recordPacking=
   xmlrecordXPath=sortKeys=
  
   i will get:
  
   404: Document not found (No searchRetrieveResponse)
   OCLC SRW/SRU Server
  
   after 3 minutes or so it will restart working. With some extra
   debugging (thanks to Ralph):
  
   ORG.oclc.os.SRW.HouseKeeping=DEBUG
   ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
  
   log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
   log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
  
   i will get the following exception in dspace.cfg:
  
   2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ exit
   processMethodRequest
   2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ Exit:
   doGet()
   2011-03-10 16:15:34,318 ERROR
   ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
   java.lang.InstantiationException: Cannot get a connection, pool
 error
   Timeout waiting for idle object
   java.lang.InstantiationException: Cannot get a connection, pool
 error
   Timeout waiting for idle object
   at
  
  ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult.init(LuceneQueryRes
   ult.java:113)
   at
  
  ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase.getQueryResult(SRW
   LuceneDatabase.java:209)
   at ORG.oclc.os.SRW.SRWDatabase.doRequest(SRWDatabase.java:598)
   at
  
 
 gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingImpl.searchRetrieveOpera
   tion(SRWSoapBindingImpl.java:138)
   at
  
 
 gov.loc.www.zing.srw.srw_bindings.SRWSoapBindingSkeleton.searchRetrieveO
   

Re: [Dspace-tech] Expansible menus on DSpace 1.7

2011-03-24 Thread Peter Dietz
Hi Andre,

We've implemented our menus ourselves differently, you might be able to
reverse-engineer it. We made use of a collapsible checkbox tree jquery
plugin, which we then customized.
https://kb.osu.edu/dspace/community-list


Peter Dietz



On Thu, Mar 24, 2011 at 1:05 PM, André andre.ass...@usp.br wrote:

 Could anyone who had success implementing expansible menus on DSpace share
 more detailed knowledge?

 I'm trying to follow this guide, but apparently I can't implement correctly
 the .JS and the .CSS

 https://wiki.duraspace.org/display/DSPACE/Add+expanding+and+collapsing+interface+to+community-list+hierarchy+%28Manakin%29

 Thank you and best regards
 Andre

 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection pool(resultSetTTL)

2011-03-24 Thread LeVan,Ralph
With the resultSetTTL set to zero, how many requests can you make before
you get an error?  How long do you have to wait until you can continue
searching?

 

Everyone else using the SRW interface has the same issues and you're the
first to report a problem.  You might try increasing the size of your
connection pool.

 

Ralph

 

From: Kocisky [mailto:koci...@autistici.org] 
Sent: Thursday, March 24, 2011 4:33 PM
To: LeVan,Ralph
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
pool(resultSetTTL)

 

Ralph,

the problem reported in my last email was generated by this URL:

http://10.0.102.11:8280/SRW/search/DSpace?query=dc.creator+%3D+%22smith%
22version=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema
%2F1%2Fdc-v1.1maximumRecords=10startRecord=1resultSetTTL=0recordPack
ing=xmlrecordXPath=sortKeys=

this is another example:

Links: Back to Search http://10.0.102.11:8280/SRW/search/DSpace? 


Results for Search: dc.creator = smith


Records found: 3


Record: 1 of 3


Schema: Dublin Core 



Record: 2 of 3


Schema: Dublin Core 



Record: 3 of 3


Schema: Dublin Core

I have to say that with resultSetTTL=0 it happens less frequently, but
if you make a request each second i think you will definitely experience
the problem.
I was thinking to use SRW for making the queries from a client web
application to a dspace instance.

I guess that you aren't experiencing this issue, can i ask you what is
your environment?
thank you!

Kociscky



 

On 22 March 2011 14:17, LeVan,Ralph le...@oclc.org wrote:

The more I think about this, the more I am convinced that the problem is
confusion at your end.  The fact that the searching problem clears up
after 3 minutes is pretty much proof that the cache is being cleared
appropriately.  The issue is how to get it cleared out more quickly.

I think the root problem is the resultSetTTL parameter in your request.
Through it, you are explicitly asking the server to keep the result set
for 300 seconds.  No matter what you set the default value to, your
explicit request will override that.  You need to omit that parameter
for the default to take effect.  Better yet, you should explicitly
specify a resultSetTTL=0 to let the server know you do not want any
caching of results.

Let me know if this helps.

Ralph


 -Original Message-
 From: LeVan,Ralph
 Sent: Tuesday, March 22, 2011 11:42 AM
 To: 'Kocisky'; dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
 pool(resultSetTTL)

 Kocisky, does that search actually return records when it doesn't
return the 404
 response?

 The root problem is that the search opens a connection to the DSpace
database
 and SRU caches that connection for the life of the search result.
Typically,
 those result sets are cleared from the cache after a configurable
period of
 idleness.  That configuration happen through the specification of a
default value
 in the database configuration file, but can be overridden in the
request through
 the resultSetTTL parameter (which I note you still have set to 300
seconds in the
 request you have shared.)

 I have spotted a path in my code where the result set would not be
freed if no
 records had be found as the result of the query.

 So, does that search for creator=smith actually find documents?

 Ralph

  -Original Message-
  From: Kocisky [mailto:koci...@autistici.org]
  Sent: Monday, March 21, 2011 4:04 PM
  To: dspace-tech@lists.sourceforge.net

  Subject: [Dspace-tech] SRW Dspace 1.7 Cannot get a connection
  pool(resultSetTTL)
 
  Hi all,
 
  I've been trying the SRW module
  (http://code.google.com/p/oclcsrwdspacelucene/) with dspace 1.7 and
  i've being facing a problem when I repetitively make the same query:
 
 
 http://10.0.102.1:8080/SRW/search/?query=dc.creator+%3D+%22smith%22ve
 
 rsion=1.1operation=searchRetrieverecordSchema=info%3Asrw%2Fschema
  %2F1%2Fdc-
 
 v1.1maximumRecords=10startRecord=1resultSetTTL=300recordPacking=
  xmlrecordXPath=sortKeys=
 
  i will get:
 
  404: Document not found (No searchRetrieveResponse)
  OCLC SRW/SRU Server
 
  after 3 minutes or so it will restart working. With some extra
  debugging (thanks to Ralph):
 
  ORG.oclc.os.SRW.HouseKeeping=DEBUG
  ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
 
  log4j.logger.ORG.oclc.os.SRW.HouseKeeping=DEBUG
  log4j.logger.ORG.oclc.os.SRW.DSpaceLucene.LuceneQueryResult=DEBUG
 
  i will get the following exception in dspace.cfg:
 
  2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ exit
  processMethodRequest
  2011-03-10 16:15:33,978 DEBUG ORG.oclc.os.SRW.SRWServlet @ Exit:
  doGet()
  2011-03-10 16:15:34,318 ERROR
  ORG.oclc.os.SRW.DSpaceLucene.SRWLuceneDatabase @
  java.lang.InstantiationException: Cannot get a connection, pool
error
  Timeout waiting for idle object
  java.lang.InstantiationException: Cannot get a connection, pool
error
  Timeout waiting for idle 

Re: [Dspace-tech] display bitstreams in an iframe

2011-03-24 Thread Peter Dietz
Hi Michael,

Certain modern browsers can be have files embeded into the page.
http://blogs.adobe.com/pdfdevjunkie/2007/08/using_the_html_embed_tag_to_di.html

You can also look at using Google Docs Viewer
https://wiki.duraspace.org/display/DSPACE/Document+Preview+with+Google+Docs+viewer

There is also an add-on called Document Streaming that will allow you to
embed the document into your page
http://www.dspace.org/addons/#document -- http://atmire.com/docstreaming.php

We need our documents to always be displayed within a standard template that
 displays our institutions term's of use information in-line with the
 document. This isn't so much of an issue if the document is opened from the
 item record, but is very important if the document is opened directly from a
 search engine.

I think Google will typically still link directly to the PDF (if thats the
most relevant hit for the query).

It might be worth experimenting with some type of redirect where requests
directly for the PDF, from referrer of Google will get the item page in your
repository with the PDF already open/embedded.


Peter Dietz



On Wed, Mar 23, 2011 at 8:35 PM, Allsopp, Michael michael.alls...@leg.bc.ca
 wrote:

 I'm wondering if it is possible to configure the dspace xmlui so that any
 bitstream opened from a collection is always displayed within an iframe on a
 standard html page or xls generated page?

 We need our documents to always be displayed within a standard template
 that displays our institutions term's of use information in-line with the
 document. This isn't so much of an issue if the document is opened from the
 item record, but is very important if the document is opened directly from a
 search engine.

 I'm thinking that displaying the document in an iframe would be a
 reasonable way to accomplish this, however I am open to suggestions.

 I would be very grateful for feedback on whether this is possible and
 direction on how to set this up.


 Michael Allsopp
 Systems Assistant
 Legislative Library of British Columbia
 t: 250.356.1485
 e: michael.alls...@leg.bc.ca



 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] item dispaly on Mirage

2011-03-24 Thread Webshet, Sisay (ILRI)
Hello everybody,

I want customize a new metadata item display on mirage(dspace 1.7)
I tried adding some code for the default dspace fields like citation
publisher inside item-view.xsl.it works fine. However when I tried for a
new fields of my own it doesn't work.Is there some other place should I
have to make some setting.
so far I used dspace.cfg,inputforms.xml. Messages.properties for the new
filed.it works for jspui interface.

Can anyone advise on this please.

Thanks 

sisay


 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech