[Dspace-tech] DSpace: Internal Server Error

2011-01-17 Thread Emilios Hadjiprokopi
I am getting the following error when I try to access my webpage and when I
am trying to create an administrator account for dspace. 

Maven and ant procedure works giving me no errors( I run both of them using
dspace user) . 

Any suggestions will be helpful. 


Emilios Hadjiprocopi




An internal server error occurred on http://172.20.72.40:8080/jspui:

Date:   1/17/11 4:09 PM
Session ID: 042C771B5C06F38F39939DD64277
User:   Anonymous
IP address: 172.20.72.40

-- URL Was: http://172.20.72.40:8080/jspui/browse?type=title
-- Method: GET
-- Parameters were:
-- type: "title"


Exception:
java.sql.SQLException: java.lang.ClassNotFoundException: 
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:14
9)
at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:151
3)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
585)
at org.dspace.core.Context.(Context.java:95)
at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:98)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:100)
at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:306)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServ
letFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:161)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100
)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:188)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:166)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:
288)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException: 
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:38
)
... 27 more




--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem when I am trying to upload files

2010-12-28 Thread Emilios Hadjiprokopi
I am getting the following error when I am  trying to submit-upload a file
to my dspace.

I have tried to chmod to
/usr/local/dspace-1.7.0-release/dspace/upload/t.txt but with no success.


Thanks in advance


An internal server error occurred on http://172.20.72.40:8080/xmlui:

Date:   12/28/10 8:57 AM
Session ID: F724D5E3B3861FBDFEA939FE3BC001AA
User:   Emilios Hadjiprokopi (emili...@ucy.ac.cy)
IP address: 172.20.142.147

-- URL Was: http://172.20.72.40:8080/jspui/submit
-- Method: POST
-- Parameters were:


Exception:
javax.servlet.ServletException: java.io.IOException:
/usr/local/dspace-1.7.0-release/dspace/upload/t.txt (Permission denied)
at
org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(Submi
ssionController.java:1375)
at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionControl
ler.java:222)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:115)
at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
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(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilt
er.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServ
letFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va: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.Http11AprProcessor.process(Http11AprProcessor.java:
865)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(H
ttp11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.io.IOException:
/usr/local/dspace-1.7.0-release/dspace/upload/t.txt (Permission denied)
at
org.dspace.app.webui.util.FileUploadRequest.(FileUploadRequest.java:93
)
at
org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(Submi
ssionController.java:1364)
... 23 more
Caused by: java.io.FileNotFoundException:
/usr/local/dspace-1.7.0-release/dspace/upload/t.txt (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:209)
at java.io.FileOutputStream.(FileOutputStream.java:160)
at
org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:416)
at
org.dspace.app.webui.util.FileUploadRequest.(FileUploadRequest.java:85
)
... 24 more




--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ant fresh_install error

2009-08-17 Thread Emilios Hadjiprokopi
Now it works. 

 

Thanks a lot. 

 

Also I have changed the TOMCAT_USER="dspace" back to TOMCAT_USER="tomcat"
since it gave me an error. 

 

 

  _  

From: Lewatle Phaladi [mailto:lewatle.phal...@wits.ac.za] 
Sent: Friday, August 07, 2009 2:49 PM
To: Emilios Hadjiprokopi; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] ant fresh_install error

 

use

sudo ant update
or
# ant update

then :
sudo chown dspace [dspace]/webapps
cd [dspace]/webapps
cp -r jspui xmlui  tomcat/webapps

tomcat/webapps = location of your tomcat like on my system is
/usr/local/tomcat/webapps

sudo service tomcat restart

i hope that will help



-Original Message-
From: Emilios Hadjiprokopi [mailto:hadjiprokopi.emil...@ucy.ac.cy]
Sent: Fri 8/7/2009 1:24 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] ant fresh_install error

I am getting the following error when I am runninh ant fresh_install

 [java] 2009-08-07 14:30:46,031 WARN
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception:
org.postgresql.util.PSQLException: ERROR: duplicate key value violates
unique constraint "checksum_results_pkey"

 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value
violates unique constraint "checksum_results_pkey"  

I have comment out in pg_hba.conf   

#hostall all 127.0.0.1/32 ident sameuser

I have also change TOMCAT_USER="dspace" in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks

   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



This communication is intended for the addressee only. It is confidential.
If you have received this communication in error, please notify us
immediately and destroy the original message. You may not copy or
disseminate this communication without the permission of the University.
Only authorized signatories are competent to enter into agreements on behalf
of the University and recipients are thus advised that the content of this
message may not be legally binding on the University and may contain the
personal views and opinions of the author, which are not necessarily the
views and opinions of The University of the Witwatersrand, Johannesburg. All
agreements between the University and outsiders are subject to South African
Law unless the University agrees in writing to the contrary.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ant fresh_install error

2009-08-07 Thread Emilios Hadjiprokopi
I am getting the following error when I am runninh ant fresh_install 

 [java] 2009-08-07 14:30:46,031 WARN  
org.dspace.storage.rdbms.DatabaseManager @ Got SQL Exception: 
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique 
constraint "checksum_results_pkey"  
   
 [java] org.postgresql.util.PSQLException: ERROR: duplicate key value 
violates unique constraint "checksum_results_pkey"   

I have comment out in pg_hba.conf

#hostall all 127.0.0.1/32 ident sameuser 

I have also change TOMCAT_USER="dspace" in tomcat6.conf

I am login as dspace user.

A hint will be helpfull as for what the error might be.

Thanks



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace - Novell Suse

2009-07-27 Thread Emilios Hadjiprokopi
Has anyone used Novell Suse with DSpace.

 

I am planning to buy a server and I need to choose the OS of the system.

 

If somebody used Novell Suse is there any special requirements or
difficulties with that distro ? 

 

Thanks

 

Emilios 

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] System Requirements for installing DSpace - Department of Architecture- University of Cyprus

2009-06-24 Thread Emilios Hadjiprokopi
First of all I am glad to find such an organized community. 

 

We are planning to use Dspace at the Department of Architecture as a digital
repository for images and photographs. 

 

The thing is that we need some technical specifications about Dspace in
order to be able to choose the right server - system

 

 

We are expecting to have 100 users with maximum of 10 simultaneous users. 

We are also expecting to store 1000 photos (100 Mb each) for the first year
and 2000 for the consecutive year. 

 

>From your own experience what are the minimum system requirements that we
will need. 

 

Thanks in advanced, 

 

Emilios 

 

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech