Hi Dr Gopa
Try ant update
Regards
Lewatle
From: Gopa Kumar [mailto:gopa1...@yahoo.com]
Sent: Sunday, August 30, 2009 10:16 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] error while ant fresh_install
Hi,
While installing dspace i am getting the following error. Can somebody
help me ?
Buildfile: build.xml
init_installation:
init_configs:
setup_database:
[java] 2009-08-31 10:39:36,676 INFO org.dspace.core.ConfigurationManager
@ Loading system provided config property (-Ddspace.configuration):
config/dspace.cfg
[java] 2009-08-31 10:39:36,682 INFO org.dspace.core.ConfigurationManager
@ Using default log4j provided log configuration,if uninitended, check
your dspace.cfg for (log.init.config)
[java] 2009-08-31 10:39:36,682 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
[java] 2009-08-31 10:39:36,802 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
[java] org.postgresql.util.PSQLException: The connection attempt failed.
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:136)
[java] at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:65)
[java] at
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connect
ion.java:116)
[java] at
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connect
ion.java:30)
[java] at
org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
[java] at org.postgresql.Driver.makeConnection(Driver.java:369)
[java] at org.postgresql.Driver.connect(Driver.java:245)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:185)
[java] at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(
DriverManagerConnectionFactory.java:65)
[java] at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon
nectionFactory.java:294)
[java] at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjec
tPool.java:974)
[java] at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:207)
[java] at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.j
ava:550)
[java] at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:92
3)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java
:100)
[java] Caused by: java.net.SocketException: Permission denied: connect
[java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[java] at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[java] at java.net.Socket.connect(Socket.java:519)
[java] at java.net.Socket.connect(Socket.java:469)
[java] at java.net.Socket.<init>(Socket.java:366)
[java] at java.net.Socket.<init>(Socket.java:180)
[java] at org.postgresql.core.PGStream.<init>(PGStream.java:60)
[java] at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:77)
[java] ... 17 more
Dr. V. Gopa Kumar
Principal
Government College of Engineering
Kannur
Kerala, India - 670 563
<html><p><font face = "verdana" size = "0.8" color = "navy">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.</font></p></html>
------------------------------------------------------------------------------
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