Helix,

Ah, so you're right.  For the record, I had been comparing our configs to
those in the dspace-3.0 release in preparation for upgrading from 1.8.  I
pulled over some new syntax changes, including what I thought were defaults
in the new config file, such as db.maxconnections.  Defining them as listed
in 3.0's dspace.cfg[1] resulted in a build error:

BUILD FAILED
/home/aorth/src/git/DSpace/dspace/target/dspace-3.0-build/build.xml:88:
Property db.maxconnections was circularly defined.

... so I left it blank (or commented it out, I can't remember now).  That's
how I ended up with the weird Cocoon crashes.

Anyways, I'm now up and running.  If you think it's worth it, I'll submit a
bug report / pull request so we can hopefully stop others from running into
this same error?

Cheers,

[1]
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/config/dspace.cfg#L74


On Mon, Mar 11, 2013 at 6:10 PM, helix84 <heli...@centrum.sk> wrote:

> Hi Alan,
>
> you can determine the cause by looking at this part of the stacktrace:
>
> Caused by: org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters' 
> parameter is required for list items.
>       at 
> org.dspace.app.xmlui.wing.element.AbstractWingElement.require(AbstractWingElement.java:117)
>       at org.dspace.app.xmlui.wing.element.List.addItem(List.java:292)
>       at 
> org.dspace.app.xmlui.aspect.administrative.ControlPanel.addDSpaceConfiguration(ControlPanel.java:511)
>
>
> This tells you that the 'characters' parameter is an empty string and
> addItem uses the require() method to check for that. If you go up a call,
> addItem() is called from the ControlPanel class, specifically line 511:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/ControlPanel.java#L511
>
> The parameter passed to addItem() is db.maxconnections property from
> dspace.cfg. So it seems you either didn't define it or left it empty. If
> you didn't touch this property in dspace.cfg, the problem is in
> build.properties. All properties defined in build.properties are
> transferred to dspace.cfg when you execute ant (update or fresh_install).
> You have to make sure you do not comment out any line in build.properties.
> Read the warning here:
>
> https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-Thebuild.propertiesConfigurationPropertiesFile
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"In heaven all the interesting people are missing." -Friedrich Nietzsche
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to