[Dspace-tech] [dspace-tech] XMLUI Create Collection/Community Code

2012-06-14 Thread César Sabater
Hello,
I'm trying to customize the Community and Collection creation for XMLUI in
DSpace 1.8. I'm trying to find the code that does all the heavy lifting but
all I've found are this steps:

 org.dspace.app.xmlui.aspect.administrative.collection.CreateCollectionForm
 org.dspace.app.xmlui.aspect.administrative.community.CreateCommunityForm

but what I'm looking for is the "equivalent" for XMLUI for this JSPUI
classes:

org.dspace.app.webui.servlet.admin.CollectionWizardServlet
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet

Where can I find such processing for XMLUI? I couldn't manage to find a
servlet mapping or something that leads me to that classes. Would be good
to know if there is a "method" for that too :-).

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


Re: [Dspace-tech] Using Maven Overlays to customize Submission Process

2012-06-13 Thread César Sabater
Yes Robin, that make sense.
Thanks you all!

2012/6/12 Mark Diggory 

>
>
> On Tue, Jun 12, 2012 at 6:38 AM, helix84  wrote:
>
>> On Tue, Jun 12, 2012 at 3:19 PM, César Sabater 
>> wrote:
>> > I was trying to create a new item-submission step but a concern came to
>> me
>> > about were should I place the API processing class of the step. Since
>> > there's no folder inside [ds-src]/dspace/modules that corresponds to
>> > dspace-api changes. Should I create a class in
>> > [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile
>> > dspace entirely?
>>
>> I think it should go to [dspace-src]/dspace/modules/additions/ but
>> don't take my word for it, you'll have to try it.
>>
>
> This will be the new place to put such classes for dspace 3.0
>
> for code that should be associated with dspace-api (submission step)
>
> https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java
>
> for code that should be associated with the dspace-xmlui (view) you'll
> need to add the /java directory on the end
>
> https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java
>
> for code that should be associated with the dspace-jspui (view) you'll
> need to add the /java directory on the end
> https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src
>
> Cheers,
> Mark
> --
>  [image: @mire Inc.]
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Using Maven Overlays to customize Submission Process

2012-06-12 Thread César Sabater
Hi All,

I was trying to create a new item-submission step but a concern came to me
about were should I place the API processing class of the step. Since
there's no folder inside [ds-src]/dspace/modules that corresponds to
dspace-api changes. Should I create a class in
[ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile
dspace entirely?

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


[Dspace-tech] Customizing creation of communities and collections in DS 1.8

2012-06-05 Thread César Sabater
Hello,

I'm trying to customize the creation of Communities and Collections in
DSpace 1.8 in a way that I'm not sure will preserve compatibility for
future versions of DSpace.

1- The main customization in the Community Creation is to add default
Collections to a community. That is, if a community is created, it will
come with certain pre-defined collections.

2- Also, I would like to customize the creation of a collection by
dynamically assigning a specific customized submission in the moment of its
creation.

For #2, I've read about the Service Manager and how can modify the sources
of config values, and seems that would be a nice way to modify the process
of assigning a specific submission to a collection. But the Service Manager
seems to be a very recent update and I'm not sure if it is applicable in
DSpace 1.8 or not. Maybe there is a simple way to do that without using it.

#1 seems more difficult to me because involves the creation of collections
in the same moment of the community creation (and #2 could be applied in #1
as well for the default collections).

I will try to emphasize the major compatibility with the future versions of
dspace in this customizations, but they seem to me they are somehow
"radical". Is it possible to customize dspace that way without loosing
compatibility?

Thougts?

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


Re: [Dspace-tech] [Dspace-devel] Customizing Upload Step in the Item Submission

2012-06-05 Thread César Sabater
Thanks Mark,

I wasn't so confident about that line becouse earlier on that file there
are some comments about cocoon handling the uploaded files independently.

Cheers,
César




2012/5/31 Mark Diggory 

> César,
>
> you are on track, the first file you mention has the logic within it to
> process the uploaded file and attach it to the Item as a Bitstream.
>
> Look specifically around the following line
>
> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/submit/step/UploadStep.java#L500
>
> Best,
> Mark
>
> On Thu, May 31, 2012 at 2:03 PM, César Sabater wrote:
>
>> Hi All,
>>
>> I'm trying to customize the submission steps of the standard item
>> submission in DSpace 1.8 . The customization consists on reordering the
>> steps such that the bitstream upload step appears before the describe step,
>> modifying the upload step to gather some information of the uploaded
>> bitstreams, such as keywords (using some keyword extractor for known
>> formats), abstract, etc., and then use this information to complete/suggest
>> values for the description of the item in the describe step. The
>> customization will be done mainly for XMLUI and JSPUI.
>>
>> I've been looking the Java code that implements the Upload Step
>> (org.dspace.submit.step.UploadStep) and the XMLUI binding for that step
>> (org.dspace.app.xmlui.aspect.submission.submit.UploadStep) and It wasn't so
>> clear for me step when (or where) can I access the uploaded bitstream so I
>> can wire there some java classes to process the bitstreams and extract
>> useful information for the describe step.
>>
>> I'm asking if there are learning resources that can be useful, specially
>> for the XMLUI binding and JSPUI binding so I can speed up my learning for
>> those topics. Also if someone has done something like this before, would be
>> good to hear some approaches.
>>
>> Thanks!
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Dspace-devel mailing list
>> dspace-de...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>>
>>
>
>
> --
> [image: @mire Inc.]
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Customizing Upload Step in the Item Submission

2012-05-31 Thread César Sabater
Hi All,

I'm trying to customize the submission steps of the standard item
submission in DSpace 1.8 . The customization consists on reordering the
steps such that the bitstream upload step appears before the describe step,
modifying the upload step to gather some information of the uploaded
bitstreams, such as keywords (using some keyword extractor for known
formats), abstract, etc., and then use this information to complete/suggest
values for the description of the item in the describe step. The
customization will be done mainly for XMLUI and JSPUI.

I've been looking the Java code that implements the Upload Step
(org.dspace.submit.step.UploadStep) and the XMLUI binding for that step
(org.dspace.app.xmlui.aspect.submission.submit.UploadStep) and It wasn't so
clear for me step when (or where) can I access the uploaded bitstream so I
can wire there some java classes to process the bitstreams and extract
useful information for the describe step.

I'm asking if there are learning resources that can be useful, specially
for the XMLUI binding and JSPUI binding so I can speed up my learning for
those topics. Also if someone has done something like this before, would be
good to hear some approaches.

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


[Dspace-tech] [dspace-tech] Copying solr statistics data

2011-05-12 Thread César Sabater
Hi all,
I'm using Dspace 1.6.2 with solr statistics, also I have another test
repository with the same version and the same data. So I want to copy
the first repository stats data to the second one. Is ok if I copy
[dspace]/solr/statistics/data folder to solr data folder in the second
repo?

Also I can convert an inmport the logs form the first one to the
second.. but that seems to be much more tedious.

Greetings!
César Sabater

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] how to upgrade handle server after upgrade from rrelease 1.6.1 to 1.6.2

2010-12-08 Thread César Sabater
Hi Admire,

If the machine hasn't change you can basically follow the steps
in 3.4.4. The Handle Server documentation without generating a new
sitebndl.zip,
use the old one. Basically, you ignore step 3 of the installation.
Just use your existing prefix.

Then you got to stop the handle-server from your 1.6.1 and start the
handle server from your 1.6.2 installation.

That's what I've done to update my 1.5.2 to 1.6.2 handle server and it
worked fine.

Hope that helps

Cheers
César Sabater


2010/12/8 amutsikiwa 

>  Hi I have upgraded my dspace instance  from release 1.6.1 to 1.6.2 to fix
> the handle server issue as mentioned in  http://www.duraspace.org/node/946. 
> Now I am at a loss as on how to update the handle application. Should I
> copy the handle file from [dspace-source]/dspace/bin to the [dspace]/bin
> directory?
>
>
>
> Regards,
>
> Admire Mutsikiwa
>
>
> --
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to
> build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace update and Handle Server

2010-11-25 Thread César Sabater
Thank you Claudia,

When you say follow the same steps follow the steps in
3.4.4, do you mean something like this:

a- handle-server directory to anther place
b- make a new handle-server dir and run [dspace]/bin/dspace
make-handle-config
c- replace the new 'sitebdl.zip' with the old one used in dspace 1.5.2
handle-server
d- stop the current handle process
  I have two handle-related processes runing:

   1 -> /bin/sh /dspace/bin/dsrun -Ddspace.log.init.disable=true
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main
/dspace/handle-server

   2 -> java -Xmx256m -classpath
:/dspace/lib/activation-1.1.jar:/dspace/lib/bcmail-jdk14-136.jar:/dspace/lib/bcprov-jdk14-136.jar:/dspace/lib/commons-cli-1.0.jar:/dspace/lib/commons-codec-1.3.jar:/dspace/lib/commons-collections-3.2.jar:/dspace/lib/commons-dbcp-1.2.2.jar:/dspace/lib/commons-fileupload-1.2.1.jar:/dspace/lib/commons-io-1.4.jar:/dspace/lib/commons-lang-2.2.jar:/dspace/lib/commons-logging-1.0.jar:/dspace/lib/commons-pool-1.4.jar:/dspace/lib/dom4j-1.6.1.jar:/dspace/lib/dspace-api-1.5.2.jar:/dspace/lib/dspace-api-lang-1.5.2.1.jar:/dspace/lib/fontbox-0.1.0.jar:/dspace/lib/handle-5.3.4.jar:/dspace/lib/icu4j-3.4.4.jar:/dspace/lib/jargon-1.4.25.jar:/dspace/lib/jaxen-1.1.jar:/dspace/lib/jdom-1.0.jar:/dspace/lib/jempbox-0.2.0.jar:/dspace/lib/log4j-1.2.14.jar:/dspace/lib/lucene-analyzers-2.3.0.jar:/dspace/lib/lucene-core-2.3.0.jar:/dspace/lib/mail-1.4.jar:/dspace/lib/mets-1.5.2.jar:/dspace/lib/oro-2.0.8.jar:/dspace/lib/pdfbox-0.7.3.jar:/dspace/lib/poi-2.5.1-final-20040804.jar:/dspace/lib/postgresql-8.1-408.jdbc3.jar:/dspace/lib/rome-0.8.jar:/dspace/lib/tm-extractors-0.4.jar:/dspace/lib/xalan-2.7.0.jar:/dspace/lib/xercesImpl-2.8.1.jar:/dspace/lib/xml-apis-1.3.02.jar:/dspace/lib/xmlParserAPIs-2.0.2.jar:/dspace/config
-Ddspace.log.init.disable=true
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main
/dspace/handle-server

  Sorry for the mess of copying this two processes, I suppose is the
second one that I have to stop.

e- start the 1.6.2 handle server ([dspace]/bin/start-handle-server)


or ...

just stop the handle process and start the new one with the original
handle-server dir

Regards
César


2010/11/25 Claudia Jürgen 

> Hello César,
>
> if the machine hasn't change you can basically follow the steps in
> 3.4.4. The Handle Server
> documentation, without generating a new sitebdl.zip and sendig this to
> CNRI. Just use your existing prefix.
>
> Then you got to stop the handle-server from your 1.5.2 and start the
> handle server from your 1.6.2 installation.
>
> Hope that helps
>
> Claudia Jürgen
>
>
>
> Am 25.11.2010 13:44, schrieb César Sabater:
> > Hi all,
> >
> > Two weeks ago I had running Dspace 1.5.2 with the handle server running
> ok.
> > I decided to update dspace version to 1.6.2, so I looked for
> documentation
> > about what to do with the handle server and how to bind it to the new
> > version without re-installing it but I had no succes. I suppose
> > re-installing it will require acquiring a new naming authority or
> something
> > like that.. Anyway, the hole process of installing the handle server if I
> > already have a dspace naming authority wasn't clear...
> >
> > So I updated Dspace to version 1.6.2 without stopping the handle server,
> and
> > now I have this problem:
> >
> > The handle server resolves item URIs that were submitted with dspace
> 1.5.2
> > with no truble.
> >
> > When someone tries to acces item URIs thar were submitted with dspace
> 1.6.2
> > (i.e. http://hdl.handle.net/2133/1552) i have the following error:
> >
> > --
> > Error - System Error
> >
> > The handle you requested --
> >
> > *2133/1552*
> >
> > -- cannot be found.
> >
> > Please contact us<
> hdlad...@cnri.reston.va.us?subject=handle%20not%20found&body=The%20following%20handle%20was%20not%20found:%0D%0A2133/1552%20%0D%0AThe%20referring%20page%20was:%20%0D%0Ahttp://rephip.unr.edu.ar/
> >if
> > you wish to report this error. Please include information regarding
> > where
> > you found the handle
> > http://rephip.unr.edu.ar/
> >
> > --
> >
> > Any help, suggestions, recommendations of where to ask are greatly
> > apprecieted
> >
> > Regards
> >
> > César
> >
> >
> >
> >
> >
> --
> > Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
> > Tap into the largest installed PC base&  get more eyes on your game by
> > optimizing for

[Dspace-tech] DSpace update and Handle Server

2010-11-25 Thread César Sabater
Hi all,

Two weeks ago I had running Dspace 1.5.2 with the handle server running ok.
I decided to update dspace version to 1.6.2, so I looked for documentation
about what to do with the handle server and how to bind it to the new
version without re-installing it but I had no succes. I suppose
re-installing it will require acquiring a new naming authority or something
like that.. Anyway, the hole process of installing the handle server if I
already have a dspace naming authority wasn't clear...

So I updated Dspace to version 1.6.2 without stopping the handle server, and
now I have this problem:

The handle server resolves item URIs that were submitted with dspace 1.5.2
with no truble.

When someone tries to acces item URIs thar were submitted with dspace 1.6.2
(i.e. http://hdl.handle.net/2133/1552) i have the following error:

--
Error - System Error

The handle you requested --

*2133/1552*

-- cannot be found.

Please contact 
ushttp://rephip.unr.edu.ar/>if
you wish to report this error. Please include information regarding
where
you found the handle
http://rephip.unr.edu.ar/

--

Any help, suggestions, recommendations of where to ask are greatly
apprecieted

Regards

César
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Solr stats granularity

2010-11-19 Thread César Sabater
Thank you Bram, the slide was very welpfull.

Cheers
César Sabater


2010/11/19 Bram Luyten 

> Dear César,
>
> the back end logs all page views and downloads. You are correct in your
> observation that "total visits per month" like shown for a community page
> here: http://demo.dspace.org/xmlui/handle/10673/1089/statistics represents
> only the pageviews of that specific community page.
>
> It's possible to formulate SOLR queries to aggregate data across
> collections/communities.
> Here's a slide presentation about the usage stats: http://bit.ly/bXCyFbthat 
> shows a few examples on how you can customize the views.
>
> with best regards,
>
> Bram Luyten
>
> @mire - http://www.atmire.com
>
> Technologielaan 9 - 3001 Heverlee - Belgium
> 533 2nd Street - Encinitas, CA 92024 - USA
>
> http://www.togather.eu - Before getting together, get t...@ther
>
>
> On Fri, Nov 19, 2010 at 1:51 PM, César Sabater wrote:
>
>> Hi all,
>>
>> I've seen that solr statistics has Fine-grained stats in dspace, it shows
>> community, collection, item and  bitstream views.
>>
>> Now I'm wondering if community views represent the sum of all
>> item/collection views (without counting items twice or more) placed on that
>> community, or they only represent the general view of the community. The
>> same question can be done for collections and its items.
>>
>> If the number of views are not accumulative botton-up, how can that be
>> done? anybody has done that before?
>>
>> Any help would be appreciated.
>> Cheers!
>> César
>>
>>
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Solr stats granularity

2010-11-19 Thread César Sabater
Hi all,

I've seen that solr statistics has Fine-grained stats in dspace, it shows
community, collection, item and  bitstream views.

Now I'm wondering if community views represent the sum of all
item/collection views (without counting items twice or more) placed on that
community, or they only represent the general view of the community. The
same question can be done for collections and its items.

If the number of views are not accumulative botton-up, how can that be done?
anybody has done that before?

Any help would be appreciated.
Cheers!
César
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Customizing solr statistics display

2010-11-15 Thread César Sabater
Thanks Peter, that's what I was trying to find, but I was looking in
[dspace-src]/dspace-stats/..

César.

2010/11/14 Peter Dietz 

> Hi César,
>
> The default statistics display is for the past six months. This is not
> easily configurable (such as dspace.cfg), however, if you know where to
> look, its not a difficult change.
>
> Here is the usage in XMLUI:
>
> https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178
>
> And here is the JavaDoc of what your calling:
> http://projects.dspace.org/apidocs/org/dspace/statistics/content/DatasetTimeGenerator.html#setDateInterval(java.lang.String,
> java.lang.String, 
> java.lang.String)<http://projects.dspace.org/apidocs/org/dspace/statistics/content/DatasetTimeGenerator.html#setDateInterval%28java.lang.String,+java.lang.String,+java.lang.String%29>
>
>
> <https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/statistics/StatisticsTransformer.java?r=HEAD#l178>-6
> is the past six months, reduce that to a smaller (natural) number to go less
> than six months back in the past.
> --
> Peter Dietz
> Systems Developer/Engineer
> Ohio State University Libraries
>
>
>
> On Wed, Nov 10, 2010 at 9:10 AM, César Sabater wrote:
>
>> Hi all,
>> I'm using dspace 1.6 solr stats and I want to change the display so it
>> changes the start month. Now, it shows visits from may-2010 to nov-2010, I
>> want to show only visits from sept-2010 to nov-2010.
>>
>> I would appreciate any help.
>> Cheers
>> César.
>>
>>
>> --
>> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
>> David G. Thomson, author of the best-selling book "Blueprint to a
>> Billion" shares his insights and actions to help propel your
>> business during the next growth cycle. Listen Now!
>> http://p.sf.net/sfu/SAP-dev2dev
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Customizing solr statistics display

2010-11-10 Thread César Sabater
Hi all,
I'm using dspace 1.6 solr stats and I want to change the display so it
changes the start month. Now, it shows visits from may-2010 to nov-2010, I
want to show only visits from sept-2010 to nov-2010.

I would appreciate any help.
Cheers
César.
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace update and Handle Server

2010-10-15 Thread César Sabater
Hi All,

Im trying to update my DSpace installation from 1.5.2 to 1.6.2, and I
have a Handle Service for persisten identifiers.
Do I have to modify settings in the Handle Server? Or leave the Handle
server running during the whole update process?
I'm not changing Naming Authority nor nothing related with the handle
configuration.

Cheers,
César

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem Viewing Items and Collections without signing up

2010-10-04 Thread César Sabater
Hi All,
I'm using DSpace 1.6.2 xmlui Interface
(http://desarrollo.rephip.unr.edu.ar) and I can view Communities but
I can't view Items or Collections if I don't sign up first.

It looks like the 'isAdmin' method of the AuthorizeManager class
throws a NullPointer exception when it tries to verfy if an anonymous
user is an administrator.

the exception occurs at this line:

c.getCurrentUser().getId()

where c is an instance of Context.
c.getCurrentUser() returns null because there's no current user and
the exception becomes when java tries to evaluate "NULL.getID()".

Below is the error's stacktrace.

I would appreciate any help/correction about what's going on.

Regards
César Sabater.
-
Cocoon stacktrace [hide]

Failed to process pipeline
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 126:31

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 125:55

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 234:84

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 233:97

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 107:59

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 95:40 
context:/resource://aspects/Administrative/sitemap.xmap - 957:31

context:/resource://aspects/Administrative/sitemap.xmap - 295:38

context:/resource://aspects/Administrative/sitemap.xmap - 294:44

context:/resource://aspects/Administrative/sitemap.xmap - 292:19 
context:/resource://aspects/EPerson/sitemap.xmap - 332:31

context:/resource://aspects/EPerson/sitemap.xmap - 137:38

context:/resource://aspects/EPerson/sitemap.xmap - 126:19 
context:/resource://aspects/Submission/sitemap.xmap - 342:27 
context:/resource://aspects/Submission/sitemap.xmap - 318:26 
context:/resource://aspects/Statistics/sitemap.xmap - 70:31

context:/resource://aspects/Statistics/sitemap.xmap - 33:19 
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22 
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 184:62

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 181:112

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 180:106

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 174:68

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 170:72

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 155:87

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 131:83

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 128:49

context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45 
context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35 
context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94 

Java stacktrace [hide]

java.lang.NullPointerException
       at 
org.dspace.authorize.AuthorizeManager.isAdmin(AuthorizeManager.java:405)
       at 
org.dspace.app.xmlui.aspect.administrative.Navigation.addOptions(Navigation.java:260)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:261)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
       at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
       at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.xml.AbstractXMLPi

[Dspace-tech] Problem Viewing Items and Collection without signing up

2010-10-02 Thread César Sabater
-- Forwarded message --
From: César Sabater 
Date: 2010/10/2
Subject: Problem Viewing Items and Collection without signing up
To: dspace-tech@lists.sourceforge.net


Hi All,
I'm using a DSpace 1.6.2 xmlui Interface
(http://desarrollo.rephip.unr.edu.ar) and I can view Communities but
not Items nor Collection's without signing up first.
Below is the stacktrace of the error when I try to do that.

I would appreciate any help.

Regards
César Sabater.
-
Cocoon stacktrace [hide]

Failed to process pipeline
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 126:31

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 125:55

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 234:84

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 233:97

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 107:59

context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 95:40 
context:/resource://aspects/Administrative/sitemap.xmap - 957:31

context:/resource://aspects/Administrative/sitemap.xmap - 295:38

context:/resource://aspects/Administrative/sitemap.xmap - 294:44

context:/resource://aspects/Administrative/sitemap.xmap - 292:19 
context:/resource://aspects/EPerson/sitemap.xmap - 332:31

context:/resource://aspects/EPerson/sitemap.xmap - 137:38

context:/resource://aspects/EPerson/sitemap.xmap - 126:19 
context:/resource://aspects/Submission/sitemap.xmap - 342:27 
context:/resource://aspects/Submission/sitemap.xmap - 318:26 
context:/resource://aspects/Statistics/sitemap.xmap - 70:31

context:/resource://aspects/Statistics/sitemap.xmap - 33:19 
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22 
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 184:62

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 181:112

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 180:106

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 174:68

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 170:72

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 155:87

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 131:83

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 128:49

context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45 
context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35 
context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94 

Java stacktrace [hide]

java.lang.NullPointerException
       at 
org.dspace.authorize.AuthorizeManager.isAdmin(AuthorizeManager.java:405)
       at 
org.dspace.app.xmlui.aspect.administrative.Navigation.addOptions(Navigation.java:260)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:261)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
       at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
       at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
       at $Proxy22.startElement(Unknown Source)
       at 
org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
       at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
       at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorI

[Dspace-tech] Fwd: Video Submission

2010-09-20 Thread César Sabater
 Hello, I'm a DSpace 1.5.2 administrator and I need to know how good is
DSpace support for large videos in general, alternative solutions, sites
related to this topic, etc.
Thanks.
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech