Eric,

Have you run the bin/index-init script?  If so, have you restarted your Tomcat 
instance after running it?  I have seen this (not restarting post-index) cause 
very strange, sometimes NPE, errors in the browse interface.

--
sands fish
Software Engineer
MIT Libraries
Technology Research & Development
sa...@mit.edu<mailto:sa...@mit.edu>
E25-131




On Jul 14, 2010, at 10:18 AM, Kurzenberger, Eric wrote:

Thanks for the response, Sean.  Defining the context path in the server.xml
file enabled me to see the XMLUI interface.  However, I'm getting
java.lang.NullPointerException errors when I attempt to view any items,
communities, or collections.  I've updated all my config files.  I've copied
the Cocoon stacktrace below.

I'm also getting this error when I attempt to view the Dspace configuration
in the control panel: "org.dspace.app.xmlui.wing.WingInvalidArgument: The
'characters' parameter is required for list items."

Any help would be appreciated.  Thanks!

Eric


Cocoon stacktrace:

Failed to process pipeline
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 126:31
<map:serialize type="xml">
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 125:55
<map:generate type="file">
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 234:84
<map:serialize type="xml">
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 233:97
<map:transform type="CollectionViewer">
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 107:59
<map:transform type="Navigation">
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 95:40
<map:generate>
context:/resource://aspects/Administrative/sitemap.xmap - 957:31
<map:serialize type="xml">
context:/resource://aspects/Administrative/sitemap.xmap - 295:38
<map:transform type="Navigation">
context:/resource://aspects/Administrative/sitemap.xmap - 294:44
<map:transform type="SystemwideAlerts">
context:/resource://aspects/Administrative/sitemap.xmap - 292:19
<map:generate>
context:/resource://aspects/EPerson/sitemap.xmap - 332:31    <map:serialize
type="xml">
context:/resource://aspects/EPerson/sitemap.xmap - 137:38    <map:transform
type="Navigation">
context:/resource://aspects/EPerson/sitemap.xmap - 126:19    <map:generate>
context:/resource://aspects/Submission/sitemap.xmap - 312:38
<map:serialize type="xml">
context:/resource://aspects/Submission/sitemap.xmap - 156:58
<map:transform type="CollectionViewer">
context:/resource://aspects/Submission/sitemap.xmap - 144:45
<map:transform type="Navigation">
context:/resource://aspects/Submission/sitemap.xmap - 141:26
<map:generate>
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34
<map:serialize type="xml">
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43
<map:transform type="PageNotFound">
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22
<map:generate>
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 184:34
<map:serialize type="xhtml">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 181:84
<map:transform type="NamespaceFilter">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 180:78
<map:transform type="NamespaceFilter">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 174:33
<map:transform type="i18n">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 170:44
<map:transform>
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 155:45
<map:transform type="IncludePageMeta">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 131:55
<map:generate type="file">
context:/jndi:/localhost/xmlui/themes/Yale/sitemap.xmap - 128:28
<map:match>
context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45    <map:mount>
context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35    <map:match
type="ThemeMatcher">
context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94    <map:mount>



On 7/14/10 2:25 AM, "Sean Carte" 
<sean.ca...@gmail.com<mailto:sean.ca...@gmail.com>> wrote:


Hi Eric

Have you defined an XML context path in your
/var/lib/<tomcat_version>/conf/server.xml?

For example, mine contains the following:

       <!-- DEFINE A CONTEXT PATH FOR DSpace XML User Interface  -->
       <Context path="/xmlui" docBase="/dspace/webapps/xmlui" debug="0"
       reloadable="true" cachingAllowed="false"
       allowLinking="true"/>

       <!-- DEFINE A CONTEXT PATH FOR DSpace JSP User Interface  -->
       <Context path="/jspui" docBase="/dspace/webapps/jspui" debug="0"
       reloadable="true" cachingAllowed="false"
       allowLinking="true"/>

       <!-- DEFINE A CONTEXT PATH FOR DSpace OAI User Interface  -->
       <Context path="/oai" docBase="/dspace/webapps/oai" debug="0"
       reloadable="true" cachingAllowed="false"
       allowLinking="true"/>

       <!-- DEFINE A CONTEXT PATH FOR DSpace SOLR Interface  -->
       <Context path="/solr" docBase="/dspace/webapps/solr" debug="0"
      reloadable="true" cachingAllowed="false"
      allowLinking="true"/>

(And you do need to update your config files -- there are differences
between 1.5 and 1.6.)

Sean


------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first<http://sprint.com/first> -- 
http://p.sf.net/sfu/sprint-com-first
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to