[Dspace-general] Problems in ant fresh_install

Progyamita Banerjee pb28 at buffalo.edu
Mon May 17 12:53:56 EDT 2004


Hi 
I am trying to install DSpace and having this error when I am using the
ant fresh_install
Can someone please help.
------------------------------------------------------------------------
setup_database:
     [java] 2004-05-17 12:25:48,489 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
     [java] 2004-05-17 12:25:48,702 FATAL
org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
     [java] org.postgresql.util.PSQLException: The connection attempt
failed because Exception: java.net.SocketException: Network is unreachable
     [java] Stack Trace:

     [java] java.net.SocketException: Network is unreachable
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
     [java]     at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at java.net.Socket.connect(Socket.java:402)
     [java]     at java.net.Socket.<init>(Socket.java:309)
     [java]     at java.net.Socket.<init>(Socket.java:124)
     [java]     at org.postgresql.core.PGStream.<init>(PGStream.java:47)
     [java]     at
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:197)
     [java]     at org.postgresql.Driver.connect(Driver.java:139)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:171)
     [java]     at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:94)
     [java]     at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)
     [java]     at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
     [java]     at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:193)
     [java]     at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:373)
     [java]     at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:659)
     [java]     at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:76)
     [java] End of Stack Trace

     [java]     at
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:208)
     [java]     at org.postgresql.Driver.connect(Driver.java:139)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:171)
     [java]     at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:94)
     [java]     at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)
     [java]     at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
     [java]     at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:512)
     [java]     at
java.sql.DriverManager.getConnection(DriverManager.java:193)
     [java]     at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:373)
     [java]     at
org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:659)
     [java]     at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:76)


=========================================================================
Progyamita Banerjee (REEMA)
Graduate Student, MA,Informatics
Graduate Assistant, ITS-CIT
SUNY at Buffalo
24 Capen Hall
Amherst, NY
Tel-(716)6452805
Email - pb28 at buffalo.edu
==========================================================================




More information about the Dspace-general mailing list