[Dspace-tech] NullPointerException in CollectionRecentSubmissions

2013-02-26 Thread Joachim Bingel
Hi all,

every once in a while I get a NullPointerException at 
CollectionRecentSubmissions (line 147) when browsing 
communities/collections (Manakin 3.0). The log says the following:

org.apache.cocoon.ProcessingException: Failed to process pipeline
 at map:serialize type=xml - 
resource://aspects/ViewArtifacts/sitemap.xmap:134:84
 at map:transform type=CollectionViewer - 
resource://aspects/ViewArtifacts/sitemap.xmap:133:97
 at map:transform type=Navigation - 
resource://aspects/ViewArtifacts/sitemap.xmap:72:59
 ...
Caused by: org.xml.sax.SAXException: An error was encountered while 
processing the 'aspect.artifactbrowser.CollectionRecentSubmissions' Wing 
based component: 
org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions
java.lang.NullPointerException
 at 
org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer.handleException(AbstractDSpaceTransformer.java:109)
 at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:248)
 ... 232 more
Caused by: java.lang.NullPointerException
 at 
org.dspace.app.xmlui.aspect.artifactbrowser.CollectionRecentSubmissions.addBody(CollectionRecentSubmissions.java:147)
 at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
 ...250 more

Restarting Tomcat resolves the issue, but clearly that's not very 
practical. I've had a look at the code and apparently 
getRecentlySubmittedItems() returns null. Is this a known issue?

Thanks,
Joachim

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)621-1581-456 | http://www.ids-mannheim.de  


--
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] NullPointerException in CollectionRecentSubmissions

2013-02-26 Thread helix84
Hi Joachim,

do you have Discovery enabled? What is your value of
recent.submissions.count 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_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] NullPointerException in CollectionRecentSubmissions

2013-02-26 Thread helix84
Also - can you figure out for which particular collections it happens?
Do they seem somehow special (e.g. empty, less than N items, etc)?


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_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] NullPointerException in CollectionRecentSubmissions

2013-02-26 Thread helix84
Well, the method does say FIXME Exception Handling... but I'm none the wiser.

https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/CollectionRecentSubmissions.java#L194

It would be best to file a Jira issue with all the info (including
full stack trace) and we'll see what we can do.


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


[Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
Hello,
I upgraded DSpace from version 1.8.2 to DSpace 3.0. but now I cannot add any 
new items to collections. I thought that installing DSpace Replication Suite 
3.0 would solve the problem, but I still receive an error message when I click 
on Submit a new item to this collection.

Error message (see Java trace in attached file):
java.lang.ClassNotFoundException: org.dspace.ctask.replicate.ReplicateConsumer

DSpace version: DSpace 3.0 with XMLUI
Theme: based on Reference

Any help would be appreciated.

Alain Tschanz
Project Specialist
New Jersey State Library
IT Department
609-278-2640 x125

Java full stacktrace [hide]

org.apache.cocoon.ProcessingException: Error calling function doSubmission
at submissionControl - resource://aspects/Submission/submission.js:286
at doSubmission - resource://aspects/Submission/submission.js:190
at map:call - resource://aspects/Submission/sitemap.xmap:86:47
at map:match - resource://aspects/Submission/sitemap.xmap:85:50
at map:select type=AuthenticatedSelector - 
resource://aspects/Submission/sitemap.xmap:60:48
at map:mount - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:89:72
at map:select type=parameter - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:79:34
at map:match type=AspectMatcher - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:78:36
at map:mount - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:485:100
at map:match - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:484:49
at map:serialize type=xml - 
resource://aspects/Statistics/sitemap.xmap:285:31
at map:generate - resource://aspects/Statistics/sitemap.xmap:37:19
at map:serialize type=xml - 
resource://aspects/Workflow/sitemap.xmap:139:38
at map:generate - resource://aspects/Workflow/sitemap.xmap:76:26
at map:serialize type=xml - 
resource://aspects/Discovery/sitemap.xmap:195:40
at map:transform type=Navigation - 
resource://aspects/Discovery/sitemap.xmap:76:47
at map:generate - resource://aspects/Discovery/sitemap.xmap:64:28
at map:serialize type=xml - 
resource://aspects/SwordClient/sitemap.xmap:132:40
at map:transform type=Navigation - 
resource://aspects/SwordClient/sitemap.xmap:66:47
at map:generate - resource://aspects/SwordClient/sitemap.xmap:63:28
at map:serialize type=xml - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:85:34
at map:transform type=PageNotFound - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:84:43
at map:generate - 
jndi:/dspace.njstatelib.org/xmlui/aspects/aspects.xmap:83:22
at map:serialize type=xhtml - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:158:62
at map:transform type=NamespaceFilter - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:155:112
at map:transform type=NamespaceFilter - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:154:106
at map:transform type=i18n - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:148:68
at map:transform - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:143:51
at map:transform type=IncludePageMeta - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:126:87
at map:generate type=file - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:101:83
at map:match - 
jndi:/dspace.njstatelib.org/xmlui/themes/NJ/sitemap.xmap:98:49
at map:mount - 
jndi:/dspace.njstatelib.org/xmlui/themes/themes.xmap:33:45
at map:match type=ThemeMatcher - 
jndi:/dspace.njstatelib.org/xmlui/themes/themes.xmap:32:35
at map:mount - jndi:/dspace.njstatelib.org/xmlui/sitemap.xmap:652:94
at 
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:143)
at 
org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger.getException(LocationTrackingDebugger.java:111)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:626)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at 

Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread helix84
Hi Alain,

when installing the curation task and you copied the jar to
[dspace]/lib, did you also copy the .jar to
[dspace]/webapps/xmlui/WEB-INF/lib/ ? If not, XMLUI won't be able to
load the class.

Anyway, your emails sounds like you installed Replication Suite only
because of this error. If you don't actually want Replication Suite,
it might help to just remove the related task classes from the list of
curation tasks in [dspace]/config/modules/curate.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_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


[Dspace-tech] Extra fields when registering or submitting an item

2013-02-26 Thread Drover, Matt
Is it possible to add 2 required fields to the user registratin page? or
Is it possible to add a couple of required fields to the Distribution
License or Initial Questions pages ?

 

Matthew Drover
Programmer Consultant

Immersive Technology
Distance Education, Learning and Teaching Support

Memorial University of Newfoundland 



 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
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] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
According to the install instructions at 
https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version of 
dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
[dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?

Alain

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, February 26, 2013 8:58 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

Hi Alain,

when installing the curation task and you copied the jar to [dspace]/lib, did 
you also copy the .jar to [dspace]/webapps/xmlui/WEB-INF/lib/ ? If not, XMLUI 
won't be able to load the class.

Anyway, your emails sounds like you installed Replication Suite only because of 
this error. If you don't actually want Replication Suite, it might help to just 
remove the related task classes from the list of curation tasks in 
[dspace]/config/modules/curate.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_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] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread helix84
On Tue, Feb 26, 2013 at 3:12 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 According to the install instructions at 
 https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version of 
 dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
 [dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
 dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?

Does your pom.xml contain the same version as the actual jar file name?


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_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] Extra fields when registering or submitting an item

2013-02-26 Thread helix84
On Tue, Feb 26, 2013 at 2:59 PM, Drover, Matt mattdro...@mun.ca wrote:
 Is it possible to add 2 required fields to the user registratin page? or Is

Hi Matt,
yes, it should be possible here:

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/eperson/StartRegistration.java#L171

add a flow attribute here:

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/resources/aspects/EPerson/sitemap.xmap#L209

And process it here:
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/resources/aspects/EPerson/eperson.js#L54

 it possible to add a couple of required fields to the Distribution License
 or Initial Questions pages ?

I believe those are controlled by input forms, which should be easier
than modifying aspects. I don't know this area so well, but there's
detailed documentation here:
https://wiki.duraspace.org/display/DSDOC3x/Submission+User+Interface
https://wiki.duraspace.org/display/DSPACE/Alter+submission+input+forms


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_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] After upgrade to DSpace 3.0 cannot add new items

2013-02-26 Thread Alain Tschanz
I changed the entry in the pom.xml files to this:
!-- Adding this dependency will install the Replication Task Suite Addon --
dependency
groupIdorg.dspace/groupId
artifactIddspace-replicate/artifactId
version3.0-20130103.183052-1/version
/dependency

After I ran mvn clean package and ant update commands, I still have the same 
problem. DSpace displays the same error: java.lang.ClassNotFoundException: 
org.dspace.ctask.replicate.ReplicateConsumer

Alain
-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, February 26, 2013 9:15 AM
To: Alain Tschanz
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] After upgrade to DSpace 3.0 cannot add new items

On Tue, Feb 26, 2013 at 3:12 PM, Alain Tschanz atsch...@njstatelib.org wrote:
 According to the install instructions at 
 https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite the version of 
 dspace-replicate is 3.0-SNAPSHOT. When I look in the [dspace]/lib and 
 [dspace]/webapps/xmlui/WEB-INF/lib/ folders I see 
 dspace-replicate-3.0-20130103.183052-1.jar. Could this be the problem?

Does your pom.xml contain the same version as the actual jar file name?


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


[Dspace-tech] discovery.xsl

2013-02-26 Thread Jose Blanco
I'm using discovery in 3.0 and find that the results page after a search is
done which is rendered by discovery.xsl in dri2xhtml-alt (I'm using Mirage
) does not have the mets file available.  I have a whole bunch of xsl that
relies on the mets files and don't want to re-write that.  Is there a way
to make the mets file available so I can use the xsl I already have when a
search is done using discovery.

Thank you!
Jose
--
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] discovery.xsl

2013-02-26 Thread Jose Blanco
Along the lines of this question, where is the transformer for the results
page of a discovery search?

On Tue, Feb 26, 2013 at 1:22 PM, Jose Blanco blan...@umich.edu wrote:

 I'm using discovery in 3.0 and find that the results page after a search
 is done which is rendered by discovery.xsl in dri2xhtml-alt (I'm using
 Mirage ) does not have the mets file available.  I have a whole bunch of
 xsl that relies on the mets files and don't want to re-write that.  Is
 there a way to make the mets file available so I can use the xsl I already
 have when a search is done using discovery.

 Thank you!
 Jose

--
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] discovery.xsl

2013-02-26 Thread Jose Blanco
found it : discovery/AbstractSearch.java, now I'm looking into putting the
mets reference in there.  Make sense?  Any shortcuts?

On Tue, Feb 26, 2013 at 1:49 PM, Jose Blanco blan...@umich.edu wrote:

 Along the lines of this question, where is the transformer for the results
 page of a discovery search?


 On Tue, Feb 26, 2013 at 1:22 PM, Jose Blanco blan...@umich.edu wrote:

 I'm using discovery in 3.0 and find that the results page after a search
 is done which is rendered by discovery.xsl in dri2xhtml-alt (I'm using
 Mirage ) does not have the mets file available.  I have a whole bunch of
 xsl that relies on the mets files and don't want to re-write that.  Is
 there a way to make the mets file available so I can use the xsl I already
 have when a search is done using discovery.

 Thank you!
 Jose



--
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] discovery.xsl

2013-02-26 Thread Jose Blanco
helix84,

Thank you.  I'm close to getting what I need now.

-Jose





On Tue, Feb 26, 2013 at 1:56 PM, helix84 heli...@centrum.sk wrote:

 On Tue, Feb 26, 2013 at 7:49 PM, Jose Blanco blan...@umich.edu wrote:
  Along the lines of this question, where is the transformer for the
 results page of a discovery search?

 The URL binding is here, but you really don't need to modify it for
 anything theme-related, you can do just fine with XSLT.


 https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace-xmlui/src/main/resources/aspects/Discovery/sitemap.xmap#L102


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

[Dspace-tech] /advanced-search

2013-02-26 Thread Jose Blanco
Currently I have in my sitemap for artifactbrowse a pattern catch for
/advanced-search and for /search.  These two use the lucene search engine
to do the searches.  I would like to have the searches take place using
discovery, but I don't see any pattern matching for these two in the
discovery sitemap.  Am I missing something here?  Can this be done?

-Jose
--
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] /advanced-search

2013-02-26 Thread helix84
On Tue, Feb 26, 2013 at 9:07 PM, Jose Blanco blan...@umich.edu wrote:
 Currently I have in my sitemap for artifactbrowse a pattern catch for
 /advanced-search and for /search.  These two use the lucene search engine to
 do the searches.  I would like to have the searches take place using
 discovery, but I don't see any pattern matching for these two in the
 discovery sitemap.  Am I missing something here?  Can this be done?

You could probably copy the maps and change the transformer class to
discovery, but I don't think it would work, because they have
different URL parameters.

Can you explain why do you think you need this and what exactly you
think you need? This can most likely be avoided, in fact, I can't
think of any reason to do that.


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_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] Psuedo video streaming with item attachment and seeking enabled

2013-02-26 Thread Keith Gilbertson
Jonathan -

I'm not sure if you're using xmlui or jspui. I know that in xmlui, the
servlet didn't implement content range. You have to uncomment some
code in BitstreamReader, and then fix a couple of bugs in it to get
things working.

Sample:
http://vtechworks.lib.vt.edu/handle/10919/18426

I've been intending to put these code changes back into the DSpace
project, but since the hack was a bit rushed I wanted to wait and see
if anything broke. Also, I think it would be better if the
content-range was configurable to be enabled/disabled.
--keith


On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay j.frees...@gmail.com wrote:
 Hi,

 I added a html 5 video tag to play the video's I uploaded to dspace. The
 video can be played, but I cannot seek to parts which aren't downloaded.

 The command curl -H Range:bytes=16- -I localhost:8080 gives
 Accept-Ranges: bytes back, so tomcat understands content-range. Does
 this mean that the servlet handling the file downloads doesn't implement
 content-range? What other options do I have within dspace to do this or will
 it be difficult to implement content-range on servlet level?

 Regards,

 (This is my second post for the same question, as the first was sent to
 dspace-gene...@lists.sourceforge.net, as the question should be sent to this
 mailing list.)

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

--
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] Psuedo video streaming with item attachment and seeking enabled

2013-02-26 Thread Jonathan Freesbay
Hi Keith,

Impressive!

When do you plan to contribute the code?

Regards,


2013/2/27 Keith Gilbertson keith.gilbert...@gmail.com

 Jonathan -

 I'm not sure if you're using xmlui or jspui. I know that in xmlui, the
 servlet didn't implement content range. You have to uncomment some
 code in BitstreamReader, and then fix a couple of bugs in it to get
 things working.

 Sample:
 http://vtechworks.lib.vt.edu/handle/10919/18426

 I've been intending to put these code changes back into the DSpace
 project, but since the hack was a bit rushed I wanted to wait and see
 if anything broke. Also, I think it would be better if the
 content-range was configurable to be enabled/disabled.
 --keith


 On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay j.frees...@gmail.com
 wrote:
  Hi,
 
  I added a html 5 video tag to play the video's I uploaded to dspace. The
  video can be played, but I cannot seek to parts which aren't downloaded.
 
  The command curl -H Range:bytes=16- -I localhost:8080 gives
  Accept-Ranges: bytes back, so tomcat understands content-range. Does
  this mean that the servlet handling the file downloads doesn't implement
  content-range? What other options do I have within dspace to do this or
 will
  it be difficult to implement content-range on servlet level?
 
  Regards,
 
  (This is my second post for the same question, as the first was sent to
  dspace-gene...@lists.sourceforge.net, as the question should be sent to
 this
  mailing list.)
 
 
 --
  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

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