Hello Magnus,

in dspace.cfg you got e.g.

# DSpace installation directory
dspace.dir = /dspace

then later dspace.dir is referenced in

# Asset (bitstream) store number 0 (zero)
assetstore.dir = ${dspace.dir}/assetstore

During the build process ${dspace.dir} will be expanded to the value set in
dspace.dir = ...


This is explained in the DSpace Documentation see
5.1.1. The dspace.cfg Configuration Properties File

A pdf version of the Manual is included in the sources
[dspace-source]/dspace/docs/pdf

It's worth reading and will answer a lot of your questions.

Hope that helps

Claudia Jürgen




Am 03.03.2010 16:14, schrieb Magnus Norberg:

I can not find no ${parameterName} in dspace.cfg



and what does it mean to "reference existing parameters"?



Thanks!



/Magnus

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


Hello Magnus,

you can reference existing parameters in dspace.cfg with
${parameterName}

so
${dspace.dir}
will be resolved to the value defined with
dspace.dir = [value]


Hope that helps

Claudia Jürgen

Am 03.03.2010 15:32, schrieb Magnus Norberg:

I've changed from:



#upload.temp.dir = ${dspace.dir}/upload

upload.temp.dir = S:/dspace/



to





#upload.temp.dir = ${dspace.dir}/upload

upload.temp.dir = C:/Dspace/upload-temp



is this correct?




I don't know what this "S:" is,



and what do you mean by "init_installation phase in ant"?





Thank you!



/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 i busskön! Hotmail i mobilen
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
                                        
_________________________________________________________________
Mejla i busskön! 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