FWIW, we see the same upload and license errors on a regular, but not quite common, basis. Particular accounts seem to be affected intermittently. If the submitter tries again, though, the second attempt is nearly always successful. We find the same errors in our log files.
Our tomcat runs as 'tomcat', but dspace and tomcat users belong to each others' groups, so they should both be able to write to all relevant directories. I don't have any information to add except that it happens to us, too. Brian Freels-Stendel University of New Mexico >>> On 1/23/2009 at 2:00 PM, in message <497a2fde.5090...@uic.edu>, Sandy De Groote <sgro...@uic.edu> 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(BitstreamStorageMan > ager.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(ApplicationF > ilterChain.java:252) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilte > r.java:98) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF > ilterChain.java:202) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.jav > a:213) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.jav > a:178) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > >>>> >>>> >>>> at >>>> > org.apache.catalina.valves.ErrorReportValve.i nvoke(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.processCo > nnection(Http11BaseProtocol.java:664) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWor > kerThread.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(BitstreamStorageMan > ager.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(ApplicationF > ilterChain.java:252) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilte > r.java:98) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF > ilterChain.java:202) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.jav > a:213) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.jav > a: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.processCo > nnection(Http11BaseProtocol.java:664) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWor > kerThread.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(ApplicationF > ilterChain.java:252) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcherj > ava:672) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDisp > atcher.java:465) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatche > r.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:2 > 12) >>>> >>>> >>>> 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.processCo > nnection(Http11BaseProtocol.java:664) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWor > kerThread.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(ApplicationF > ilterChain.java:252) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCha > in.java:173) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcherj > ava:672) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDisp > atcher.java:465) >>>> >>>> >>>> at >>>> > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatche > r.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:2 > 12) >>>> >>>> >>>> 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.processCo > nnection(Http11BaseProtocol.java:664) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) >>>> >>>> >>>> at >>>> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWor > kerThread.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 >> >> ------------------------------------------------------------------------------ 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