Andrew Marlow wrote:
> hello,
>
> I am still struggling with setting up dspace. I finally got it working with 
> jspui after 
> editing the jspui/WEB-INF/web.xml file to specify the full pathname to the 
> dspace.cfg file. 
>
> I think the need to do this should be more clearly documented.
>
> I then went on to try using xmlui instead. It failed with a mysterious error 
> saying there was a problem logging to
> xmlui/WEB-INF/logs/core.log. It turns out the logs directory was not there! I 
> created it. Is this perhaps another
>
> rough edge to the install process? But then I got a different error. The 
> error is shown below. It looks like it 
> might be something to do with cocoon initialisation. The tomcat logs don't 
> have any errors in and do not shed any light.
>
> The logs in the newly created logs directory are empty.
>
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw 
> exception
>       
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>
>       
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>       
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
>       
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>
>       
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>       
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>       
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
>       java.lang.Thread.run(Unknown Source)
>   
>
> *root cause*
>
> java.lang.NullPointerException
>       
> org.apache.cocoon.servlet.multipart.RequestFactory.<init>(RequestFactory.java:61)
>       org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:490)
>
>       
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>       
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
>       
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
>
>       
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>       
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>       
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>
>       
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>       java.lang.Thread.run(Unknown Source)
>   
> Can anybody shed any light on this please? I am keen to use xmlui 
> instead of jspui because I want to move to using manakin.
> -- 
> Regards,
>
> Andrew M.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   
I have a similar issue when trying to run xml ui and it turned out my 
permissions were wrong for all webapps directory under the dspace 
installation.

I'm on Ubuntu Linux and my tomcat user is tomcat55 so I chown-ed 
everything to that user;

sudo chown tomcat55: -R /usr/local/dspace/webapps


Hope this helps.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to