Hi, everyone :
I'm using dspace 1.6.2 in Eclipse. After I run "mvn package", everything
is OK. when I run "ant fresh_install", I meet this problem:
Buildfile: E:\Eclipse\workspace\dspace-1.6.2\dspace\target\dspace-1.6.2-build.di
r\build.xml
init_installation:
init_configs:
test_database:
[java] 2010-10-11 21:45:29,515 INFO org.dspace.core.ConfigurationManager @
Loading system provided config property (-Ddspace.configuration): config/dspace
.cfg
[java] 2010-10-11 21:45:29,546 INFO org.dspace.core.ConfigurationManager @
Using default log4j provided log configuration,if uninitended, check your dspac
e.cfg for (log.init.config)
[java] Attempting to connect to database:
[java] - URL: jdbc:postgresql://localhost:5432/dspace_1.6.2
[java] - Driver: org.postgresql.Driver
[java] - Username: dspace
[java] - Password: dspace
[java] - Schema: null
[java] Testing connection...
[java] Connected succesfully!
setup_database:
[java] 2010-10-11 21:45:30,734 INFO org.dspace.core.ConfigurationManager @
Loading system provided config property (-Ddspace.configuration): config/dspace
.cfg
[java] 2010-10-11 21:45:30,750 INFO org.dspace.core.ConfigurationManager @
Using default log4j provided log configuration,if uninitended, check your dspac
e.cfg for (log.init.config)
[java] 2010-10-11 21:45:30,750 INFO org.dspace.storage.rdbms.InitializeDat
abase @ Initializing Database
[java] 2010-10-11 21:45:30,781 FATAL org.dspace.storage.rdbms.InitializeDat
abase @ Caught exception:
[java] java.io.FileNotFoundException: database_schema.sql
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:66)
[java] at java.io.FileReader.<init>(FileReader.java:41)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.getScript(Initialize
Database.java:147)
[java] at
org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatab
ase.java:100)
BUILD FAILED
E:\Eclipse\workspace\dspace-1.6.2\dspace\target\dspace-1.6.2-build.dir\build.xml
:619: Java returned: 1
The file is in etc directory. But why it cann't be found? Where should
I put that file in? Or What way can I use to debug that problem?
By the way, "init_configs" and "test_database" have built successfully.
Can anyonet help me? thanks a lot!
Martin
搜索本应是彩色的,快来体验新一代搜索引擎-必应,精美图片每天换哦! 立即试用!
使用Messenger保护盾2.0,支持多账号登录! 现在就下载!
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
更多热辣资讯尽在新版MSN首页! 立刻访问!
------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel
------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel