Hello Magnus,

you are not running ant from the right directory.
Supposing you are using the source release, after running mvn package you got [dspace-src]/dspace/target/dspace-[version]-build.dir
Change to that directory and run ant [target].

Hope that helps

Claudia Jürgen

P. S. Please do keep DSpace related questions on the DSpace lists. You are likely to get more/better feedback. Furthermore the discussion will be available to others during their troubleshooting. One other thing for technical questions like yours best use dspace-tech instead of dspace-general.



Am 03.03.2010 15:56, schrieb Magnus Norberg:

now I have another question: when I am trying to "Quick Build" I do
the C:\DSpace\ant update in DOS Prompt, then it says "Buildfile:
build.xml does not exist! Build failed"



Do you what might be wrong?



Thanks!



/Magnus

Date: Wed, 3 Mar 2010 15:25:53 +0100 From:
[email protected] To: [email protected] CC:
[email protected] Subject: Re: [Dspace-general]
Newly installed DSpace, can not add an item

Hello Magnus,

it should not have been necessary to create that directory. During
the init_installation phase in ant the directory will be created
according to the upload.temp.dir = ${dspace.dir}/upload setting in
dspace.cfg Did you change this setting after the installation?

Claudia


Am 03.03.2010 15:18, schrieb Magnus Norberg:

Ok, I did that and I made a new directory:
C:\DSpace\upload-temp\



now when I try to add an item it says: "No stack trace
available"



Thank you very, very much!



/Magnus



Date: Wed, 3 Mar 2010 15:07:00 +0100 From:
[email protected] To: [email protected];
[email protected] Subject: Re:
[Dspace-general] Newly installed DSpace, can not add an item

Hello Magnus,

so check your dspace.cfg settings for the following parameter
upload.temp.dir = ${dspace.dir}/upload

Hope that helps

Claudia




Am 03.03.2010 14:57, schrieb Magnus Norberg:

This is what the source of the html file says when the
Internal System Error appears:



S:\dspace\upload-temp\namnlos.JPG (The system cannot find the
path specified)




=============================================



java.io.IOException: S:\dspace\upload-temp\namnlos.JPG (The
system cannot find the path specified)



at
org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:139)





at org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1376)



at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:256)





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:637)



at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)





at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)



at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)





at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)



at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)





at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)



at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)





at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)



at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)





at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)



at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)





at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)



at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)





at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)



at java.lang.Thread.run(Unknown Source)



Caused by: java.io.FileNotFoundException:
S:\dspace\upload-temp\namnlos.JPG (The system cannot find the
path specified)



at java.io.FileOutputStream.open(Native Method)



at java.io.FileOutputStream.<init>(Unknown Source)



at java.io.FileOutputStream.<init>(Unknown Source)



at
org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:416)





at org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:131)



... 21 more



















S:\dspace\upload-temp\namnlos.JPG (The system cannot find the
path specified)



=============================================



java.io.FileNotFoundException:
S:\dspace\upload-temp\namnlos.JPG (The system cannot find the
path specified)



at java.io.FileOutputStream.open(Native Method)



at java.io.FileOutputStream.<init>(Unknown Source)



at java.io.FileOutputStream.<init>(Unknown Source)



at
org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:416)





at org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:131)



at
org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1376)





at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:256)



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:637)



at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)



at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)





at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)



at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)





at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)



at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)





at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)



at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)





at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)



at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)





at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)



at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)





at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)



at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)





at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)



at java.lang.Thread.run(Unknown Source)























-->







Do you know what is wrong?



/Magnus

Date: Wed, 3 Mar 2010 12:25:34 +0100 From:
[email protected] To:
[email protected] CC:
[email protected] Subject: Re:
[Dspace-general] Newly installed DSpace, can not add an
item

Hello Magnus,

the dspace log file are in the directory specified by the
dspace.cfg parameter

log.dir

that's usually [dspace]/log

Further log files: handle-server [dspace]/handle-server
tomcat [tomcat]/logs postgres [postgres]/data/pg_log

Hope that helps

Claudia Jürgen

Am 03.03.2010 12:10, schrieb Magnus Norberg:

Thank you very much for your help, but I can not find my
log files, do you know where I can find them?



/Magnus

Date: Wed, 3 Mar 2010 12:08:16 +0100 From:
[email protected] To:
[email protected] CC:
[email protected] Subject: Re:
[Dspace-general] Newly installed DSpace, can not add an
item

Hello Magnus,

could you provide further information from the log
files, just internal error is to unspecific.

My guess is that it's an authorization issue. Make sure
the tomcat user can write to the assetstore.

Hope that helps

Claudia Jürgen


Am 03.03.2010 11:06, schrieb Magnus Norberg:

Hi everyone,



I've newly installed DSpace, but I can not add an
item, I have made a Community and a Collection, and
it works fine. But when I try to add an item to that
Collection, it works fine until I upload a file -
when I try to upload it says: "


"Internal System Error

The system has experienced an internal error. Please
try to do what you were doing again, and if the
problem persists, please contact us so we can fix the
problem"



what might be wrong? how can I find out what is
wrong?



thank you for your help!



/Greetings: Magnus
_________________________________________________________________


Mejla i busskön! Hotmail i mobilen
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx






------------------------------------------------------------------------------


Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed
compiling, find bugs proactively, and fine-tune
applications for parallel performance. See why Intel
Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev



_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general



_________________________________________________________________
Mejla på krogen! Hotmail i mobilen.
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx



_________________________________________________________________
Klicka här!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx



_________________________________________________________________
Mejla på krogen! Hotmail i mobilen.
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx


_________________________________________________________________
Mejla på krogen! Hotmail i mobilen.
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx

<<attachment: Claudia_Juergen.vcf>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to