I've got this same error from time to time. I thought that it was my
hardware RAID5-1 giving some problems when occasionally the asset store
would disappear or something. It appears not only at the CC submission stage
for me. Sometimes after I skip CC stage and accept the DSpace distribution
license. I get the error. A refresh of the page almost always goes through
ok.
Mybe its not my hardware then.
John
On 2/8/07, Dorothea Salo <[EMAIL PROTECTED]> wrote:
I'm working on getting 1.4.1 in shape on my test server, and I ran
into an odd
problem with the Creative Commons licensing.
Symptom: On the first attempt to attach a CC license, DSpace blows
up (ISE
message below). The *second* attempt, however, works flawlessly. Same deal
if
you try to attach a CC license to an existing item via the Edit menu:
first
attempt blows up, second one works.
The root of the blowup appears to be in CreativeCommons.java:
// set the license text bitstream
setBitstreamFromBytes(item, bundle, BSN_LICENSE_TEXT, bs_format,
license_text.getBytes());
But what's odd is that it seems to be a file I/O error, even though it's
already
*done* some file I/O in line 160. I'm stumped. Anybody have any bright
ideas?
-- URL Was:
http://phobos.gmu.edu:8080/dspace/tools/edit-item?item_id=1107&cc_license_url=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F2.5%2F
-- Method: GET
-- Parameters were:
-- cc_license_url: "http://creativecommons.org/licenses/by/2.5/"
-- item_id: "1107"
Exception:
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:828)
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.license.CreativeCommons.setBitstreamFromBytes(
CreativeCommons.java:303)
at org.dspace.license.CreativeCommons.setLicense(
CreativeCommons.java:164)
at
org.dspace.app.webui.servlet.admin.EditItemServlet.showEditForm(
EditItemServlet.java:325)
at
org.dspace.app.webui.servlet.admin.EditItemServlet.doDSGet(
EditItemServlet.java:158)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(
DSpaceServlet.java:151)
at org.dspace.app.webui.servlet.DSpaceServlet.doGet(
DSpaceServlet.java:99)
(etc. etc.)
The only other thing I can find in the logs that might be related
is this:
2007-02-08 15:15:50,628 ERROR org.jboss.web.localhost.Engine @
StandardWrapperValve[edit-item]: Servlet.service() for servlet edit-item
threw
exception
java.lang.IllegalStateException: Cannot forward after response has been
committed
at
org.apache.catalina.core.ApplicationDispatcher.doForward(
ApplicationDispatcher.java:368)
at
org.apache.catalina.core.ApplicationDispatcher.forward(
ApplicationDispatcher.java:356)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java
:91)
at
org.dspace.app.webui.servlet.admin.EditItemServlet.showEditForm(
EditItemServlet.java:364)
at
org.dspace.app.webui.servlet.admin.EditItemServlet.processUpdateItem(
EditItemServlet.java:598)
at
org.dspace.app.webui.servlet.admin.EditItemServlet.doDSPost(
EditItemServlet.java:244)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(
DSpaceServlet.java:147)
at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
Dorothea
--
Dorothea Salo, Digital Repository Services Librarian
(703)993-3742 [EMAIL PROTECTED] AIM: gmumars
MSN 2FL, Fenwick Library
George Mason University
4400 University Drive, Fairfax VA 22031
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech