Can you go into you assetstore directory and create files via the commandline as your tomcat user? Likewise verify that you are testing with your webapplication servers permissions more specifically, if your application server can't create files in the directory, you will get this sort of error.
Mark On Jan 23, 2009, at 1:00 PM, Sandy De Groote wrote: > Unfortunately non of these suggestions seems to be the problem. Any > other suggestions? > thanks. > > Diggory Mark wrote: >> Yes, filesystem permissions in the assetstore would cause both to >> fail. But also look at your filesystem quota as well to make sure >> there is disk space. >> >> On Jan 22, 2009, at 9:32 AM, Claudia Jürgen wrote: >> >>> Hi Sandy, >>> >>> seems to be the problem mentioned below, an authorization one. >>> >>> Your tomcat user needs the authorization to write to >>> [dspace]/assetstore. >>> >>> In the installation instructions it is recommended to run tomcat >>> as the >>> dspace user which owns the [dspace] directory. >>> >>> Claudia >>> >>> >>> >>> Sandy De Groote schrieb: >>>> Claudia, >>>> Thanks for any help you can provide! >>>> >>>> >>>> >>>> Jan 20, 2009 8:30:13 AM >>>> org.apache.catalina.core.StandardWrapperValve >>>> invoke >>>> WARNING: Servlet.service() for servlet submit threw exception >>>> java.io.IOException: No such file or directory >>>> at java.io.UnixFileSystem.createFileExclusively(Native Method) >>>> at java.io.File.createNewFile(File.java:850) >>>> at >>>> edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486) >>>> at >>>> org >>>> .dspace >>>> .storage >>>> .bitstore >>>> .BitstreamStorageManager.store(BitstreamStorageManager.java:332) >>>> >>>> at org.dspace.content.Bitstream.create(Bitstream.java:184) >>>> at org.dspace.content.Bundle.createBitstream(Bundle.java:362) >>>> at org.dspace.content.Item.createSingleBitstream(Item.java:1185) >>>> at org.dspace.content.Item.licenseGranted(Item.java:1265) >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui.servlet.SubmitServlet.processLicense(SubmitServlet.java: >>>> 1615) >>>> >>>> at >>>> org >>>> .dspace >>>> .app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:424) >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) >>>> >>>> at >>>> org >>>> .dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java: >>>> 105) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:252) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui >>>> .filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:202) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardContextValve.invoke(StandardContextValve.java:178) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >>>> >>>> at >>>> org >>>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: >>>> 541) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardEngineValve.invoke(StandardEngineValve.java:107) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >>>> at >>>> org >>>> .apache >>>> .coyote.http11.Http11Processor.process(Http11Processor.java:869) >>>> at >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $ >>>> Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util >>>> .net >>>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: >>>> 80) >>>> >>>> at >>>> org.apache.tomcat.util.threads.ThreadPool >>>> $ControlRunnable.run(ThreadPool.java:684) >>>> >>>> at java.lang.Thread.run(Thread.java:595) >>>> Jan 20, 2009 8:44:05 AM >>>> org.apache.catalina.core.StandardWrapperValve >>>> invoke >>>> WARNING: Servlet.service() for servlet submit threw exception >>>> java.io.IOException: No such file or directory >>>> at java.io.UnixFileSystem.createFileExclusively(Native Method) >>>> at java.io.File.createNewFile(File.java:850) >>>> at >>>> edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486) >>>> at >>>> org >>>> .dspace >>>> .storage >>>> .bitstore >>>> .BitstreamStorageManager.store(BitstreamStorageManager.java:332) >>>> >>>> at org.dspace.content.Bitstream.create(Bitstream.java:184) >>>> at org.dspace.content.Bundle.createBitstream(Bundle.java:362) >>>> at org.dspace.content.Item.createSingleBitstream(Item.java:1185) >>>> at org.dspace.content.Item.licenseGranted(Item.java:1265) >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui.servlet.SubmitServlet.processLicense(SubmitServlet.java: >>>> 1615) >>>> >>>> at >>>> org >>>> .dspace >>>> .app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:424) >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) >>>> >>>> at >>>> org >>>> .dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java: >>>> 105) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:252) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui >>>> .filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:202) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardContextValve.invoke(StandardContextValve.java:178) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >>>> >>>> at >>>> org >>>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: >>>> 541) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardEngineValve.invoke(StandardEngineValve.java:107) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >>>> at >>>> org >>>> .apache >>>> .coyote.http11.Http11Processor.process(Http11Processor.java:869) >>>> at >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $ >>>> Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util >>>> .net >>>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: >>>> 80) >>>> >>>> at >>>> org.apache.tomcat.util.threads.ThreadPool >>>> $ControlRunnable.run(ThreadPool.java:684) >>>> >>>> at java.lang.Thread.run(Thread.java:595) >>>> Jan 20, 2009 9:43:15 PM >>>> org.apache.catalina.core.StandardWrapperValve >>>> invoke >>>> SEVERE: Servlet.service() for servlet handle threw exception >>>> java.lang.OutOfMemoryError: Java heap space >>>> Jan 20, 2009 9:43:15 PM >>>> org.apache.catalina.core.ApplicationDispatcher >>>> invoke >>>> SEVERE: Servlet.service() for servlet internal-error threw >>>> exception >>>> java.lang.ClassCastException: java.lang.OutOfMemoryError >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui >>>> .servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:86) >>>> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:252) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationDispatcher.processRequest(ApplicationDispatcher.java: >>>> 465) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.doForward(ApplicationDispatcher.java: >>>> 398) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.custom(StandardHostValve.java:363) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.throwable(StandardHostValve.java: >>>> 212) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >>>> >>>> at >>>> org >>>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: >>>> 541) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardEngineValve.invoke(StandardEngineValve.java:107) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >>>> at >>>> org >>>> .apache >>>> .coyote.http11.Http11Processor.process(Http11Processor.java:869) >>>> at >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $ >>>> Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util >>>> .net >>>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: >>>> 80) >>>> >>>> at >>>> org.apache.tomcat.util.threads.ThreadPool >>>> $ControlRunnable.run(ThreadPool.java:684) >>>> >>>> at java.lang.Thread.run(Thread.java:595) >>>> Jan 20, 2009 9:43:15 PM >>>> org.apache.catalina.core.StandardHostValve custom >>>> SEVERE: Exception Processing >>>> ErrorPage[exceptionType=java.lang.Exception, location=/internal- >>>> error] >>>> java.lang.ClassCastException: java.lang.OutOfMemoryError >>>> at >>>> org >>>> .dspace >>>> .app >>>> .webui >>>> .servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:86) >>>> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationFilterChain >>>> .internalDoFilter(ApplicationFilterChain.java:252) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: >>>> 173) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core >>>> .ApplicationDispatcher.processRequest(ApplicationDispatcher.java: >>>> 465) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.doForward(ApplicationDispatcher.java: >>>> 398) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.custom(StandardHostValve.java:363) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.throwable(StandardHostValve.java: >>>> 212) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:134) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >>>> >>>> at >>>> org >>>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: >>>> 541) >>>> at >>>> org >>>> .apache >>>> .catalina >>>> .core.StandardEngineValve.invoke(StandardEngineValve.java:107) >>>> >>>> at >>>> org >>>> .apache >>>> .catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >>>> at >>>> org >>>> .apache >>>> .coyote.http11.Http11Processor.process(Http11Processor.java:869) >>>> at >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $ >>>> Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >>>> >>>> at >>>> org >>>> .apache >>>> .tomcat >>>> .util >>>> .net >>>> .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: >>>> 80) >>>> >>>> at >>>> org.apache.tomcat.util.threads.ThreadPool >>>> $ControlRunnable.run(ThreadPool.java:684) >>>> >>>> at java.lang.Thread.run(Thread.java:595) >>>> >>>> >>>> >>>> >>>> Claudia Jürgen wrote: >>>>> Hi Sandy, >>>>> >>>>> could you provide more information (stack trace). >>>>> >>>>> Just a guess. Got the tomcat user the proper rights - i.e. does >>>>> [dspace] your dspace intallation directory belongs to the user >>>>> tomcat >>>>> (assuming this is your servlet container) is running as? >>>>> >>>>> Claudia Jürgen >>>>> >>>>> >>>>> >>>>> Sandy De Groote schrieb: >>>>>> We are getting many internal error messages when submitting to >>>>>> dspace? We typically get >>>>>> them at two places: 1. uploading the file or 2. the final page >>>>>> when we >>>>>> click on "I grant the license." Also, we are unable to >>>>>> upload anything to one of our communities. We get an error on >>>>>> the final page almost every time. >>>>>> >>>>>> Can anyone point us in the right direction to fix this? I tried >>>>>> looking at the documentation but I couldn't get to the right >>>>>> release. (We are not using the latest version of dspace - we >>>>>> are >>>>>> using the one before 1.5) >>>>>> Sandy >>>>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> SourcForge Community >>> SourceForge wants to tell your story. >>> http://p.sf.net/sfu/sf-spreadtheword >>> _______________________________________________ >>> DSpace-tech mailing list >>> DSpace-tech@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> ~~~~~~~~~~~~~ >> Mark R. Diggory >> http://purl.org/net/mdiggory/homepage >> >> > > -- > Sandy De Groote, MLIS, AHIP sgro...@uic.edu > Assistant Health Sciences Librarian and Associate Professor > Visiting Digital Publishing Librarian > 309-671-8494 > UIC Library of the Health Sciences-Peoria > PO Box 1649, Peoria IL 61656 > ~~~~~~~~~~~~~ Mark R. Diggory http://purl.org/net/mdiggory/homepage ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech