Hello, Am 05.09.2007 um 04:22 schrieb Shwe Yee Than:
> The second problem is I can't access the Dspace Page (i.e., http:// > fsktm.geranium2.um.edu.my:8080/dspace) from any other PCs rather > than the localhost. The following is my configuration for Dspace > in the [dspace-source]/config/dspace.cfg file: Did you change this file after installation? Did you make sure, these changes got reflected in [dspace]/config/dspace.cfg? ant install-cfg would be a means to do so. > dspace.dir = /home/dspace/tomcat/webapps/dspace No, this should point to the dir where your assetstore, history and so on lives. This should not be the same directory that is exposed to the web. In case you installed it there, you should change this before going productive. Common procedures expect this to be separate. Especially any changes you might want to make to the jsp frontend are far more easily done if you can just wipe this directory and replace it with a new .war file. If your bitstreams are in the same directory, that is not feasable. Besides, there a probably security issues why the programmers decided to keep both directories separate. To come back to your question, this variable is never read by a client and should not be the cause for not being reachable from outside. > dspace.url = http://fsktm.geranium2.um.edu.my:8080/dspace > dspace.hostname = fsktm.geranium2.um.edu.my I never saw the ccTLD .my before, but as it is your valid domain, thats looks fine. > The fist problem is I've got the following error message > when I upload a file (.pdf) to the collection. > > HTTP Status 500 - > ... > exception > java.lang.NoClassDefFoundError > org.dspace.content.Bitstream.create(Bitstream.java:184) > ... > note The full stack trace of the root cause is available in the > Apache Tomcat/5.5.23 logs. I cant say much to this. It does not look like a DB permissions issue although this method directly calls the BitstreamStorageManager which in turn opens a DB connection, but if the problem was there, then it would be notified as a SQLexeption, not an exeption. I would go to the tomcat log as advised. Or, I would change the logging level to info at least in the log4j configuration. Is the context you are working in valid? Id est, are you allowed to upload to this collection? I guess you would not get to the uplaod page if not. No, sorry, no help from here. Maybe, this gets solved automagically as soon as you solve the dspace.dir issue. Your server might not be able to write the .pdf file to a directory beyond webapps because of general security constraints of the tomcat configuration. That would make sense. So take care for the simple dspace.cfg stuff first and you might be done. Bye, Christian ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

