Hi Leeladharan,

It looks like there may be a few issues here.

(1) It looks like you are running 'ant fresh_install' against a database 
that already exists. The error message says that it is attempting to 
create values in your database which already exist. You will need to 
clear out your existing Database entirely (or delete & recreate it). The 
'ant fresh_install' command needs to be run on an empty database.

(2) You also mentioned that you are running Maven 3.0.3.  DSpace 1.7.x 
is only compatible with Maven 2.2.x. So, you may run into other build 
issues when running Maven 3 with DSpace 1.7.x. For more information see 
the 1.7.x prerequisites at: 
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29

Good luck,

- Tim

On 9/20/2011 2:38 AM, leeladharan manavalan wrote:
> Hi all,
>      I am trying to install DSpace on Windows. I am using the following
> softwares
>
>
> Apache ant 1.8.2
>
> Apache maven 3.0.3
>
> Apache Tomcat 7.0.14
>
> Dspace 1.7.1
>
> JDK 6 update 26
>
> Postgresql 9.0.4-1
>
> I succeeded in installing the components up to the  command mvn package.
> When I try ant fresh_install i am getting some errors. Which I have
> saved as a doc. file and attached along with for your perusal and
> suggestions. I am also furnishing the last few lines of the error here
> for your ready reference.
>
> load_registries:
>
> [java] 2011-09-13 16:12:49,296 INFOorg.dspace.core.ConfigurationManager
> @ Loading system provided config property (-Ddspace.configuration):
> config/dspace.cfg
>
> [java] 2011-09-13 16:12:49,296 INFOorg.dspace.core.ConfigurationManager
> @ Using default log4j provided log configuration,if unintended, check
> your dspace.cfg for (log.init.config)
>
> [java] 2011-09-13 16:12:49,703 INFOorg.dspace.content.BitstreamFormat @
> anonymous::create_bitstream_format:bitstream_format_id=80
>
> [java] 2011-09-13 16:12:49,703 INFOorg.dspace.content.BitstreamFormat @
> anonymous::update_bitstream_format:bitstream_format_id=80
>
> [java] 2011-09-13 16:12:49,703 FATAL
> org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries:
>
> [java] org.postgresql.util.PSQLException: ERROR: duplicate key value
> violates unique constraint "bitstreamformatregistry_short_description_key"
>
> [java]Detail: Key (short_description)=(Unknown) already exists.
>
> [java]at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
>
> [java]at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
>
> [java]at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
>
> [java]at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
>
> [java]at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
>
> [java]at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
>
> [java]at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
>
> [java]at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
>
> [java]at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
>
> [java]at
> org.dspace.storage.rdbms.DatabaseManager.executeUpdate(DatabaseManager.java:1315)
>
> [java]at
> org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:729)
>
> [java]at org.dspace.content.BitstreamFormat.update(BitstreamFormat.java:601)
>
> [java]at
> org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:183)
>
> [java]at
> org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138)
>
> [java]at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75)
>
> [java] Error:
>
> [java]- ERROR: duplicate key value violates unique constraint
> "bitstreamformatregistry_short_description_key"
>
> [java]Detail: Key (short_description)=(Unknown) already exists.
>
> BUILD FAILED
>
> C:\dspace\dspace-1.7.1-src-release\dspace\target\dspace-1.7.1-build.dir\build.xm
>
> l:809: Java returned: 1
>
>
> Please help me resolve this issue.
>
> thanks,
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
>
>
>
> _______________________________________________
> Dspace-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-general

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to