Hi!

I have problems with building the jetspeed 2 portal. The build fails. I don't know 
where the problem is. It looks like a connection problem to the database!?!?

Thank you!

Greetings from Germany!
Dennis

+++++++++++++++++++++++++++
1. Recreate database
+++++++++++++++++++++++++++
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download picocontainer-1.0-beta-5-SNAPSHOT.jar.
Attempting to download nanocontainer-1.0-beta-1-SNAPSHOT.jar.
db.recreate:
db.drop:
db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\drop-db.sql
    [sql] 42 of 42 SQL statements executed successfully


db.create:
db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\create-db-phase3-ojb.sql
    [sql] 9 of 9 SQL statements executed successfully

db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\create-db.sql
    [sql] 8 of 8 SQL statements executed successfully

db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\create-db-phase2.sql
    [sql] 23 of 23 SQL statements executed successfully

db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\create-prefs-schema.sql
    [sql] 9 of 9 SQL statements executed successfully

db.execute:
    [sql] Executing file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\src\sql\hs
ql\populate-db-default.sql
    [sql] 167 of 167 SQL statements executed successfully
BUILD SUCCESSFUL
Total time: 11 seconds
Finished at: Tue Feb 24 22:31:10 CET 2004

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download picocontainer-1.0-beta-5-SNAPSHOT.jar.
Attempting to download nanocontainer-1.0-beta-1-SNAPSHOT.jar.

BUILD FAILED
File...... file:/C:/temp/jetspeed2/jakarta-jetspeed-2/portal/
Element... sql
Line...... 203
Column.... 39
java.sql.SQLException: Violation of unique index: SYS_IDX_31
Total time: 11 seconds
Finished at: Tue Feb 24 22:31:22 CET 2004

ECHO ist ausgeschaltet (OFF).
+++++++++++++++++++++++++++
2. Build all Jetspeed sub projects
+++++++++++++++++++++++++++


---------------------------------------------------------------
........

........

........
========================= DatasourceEnabledTestSuite start RDBMS container
cn=org.nanocontainer.script.groovy.GroovyContainerBuilder
 INFO: Using HSQL script file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\test\
db\hsql\Registry
 INFO: Setting up data source pooling for org.hsqldb.jdbcDriver
 INFO: Max active connnections set to: 20
 INFO: Pool is set to "2" when all connections are exhausted.
 INFO: Verifying HSQL server is up will try 5 times then give up.
 INFO: Attempt 1.
 INFO: Starting HSQLDB server on localhost: [Ljava.lang.String;@929ba3
server.properties not found, using command line or default properties
Opening database: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\test\db\hsql\Regis
try
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
 INFO: Attempt 1 failed!
 INFO: Attempt 2.
 INFO: Attempt 2 failed!
Server.run/init: java.sql.SQLException: Violation of unique index: SYS_IDX_31
java.sql.SQLException: Violation of unique index: SYS_IDX_31
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Trace.error(Unknown Source)
        at org.hsqldb.Index.insert(Unknown Source)
        at org.hsqldb.Table.indexRow(Unknown Source)
        at org.hsqldb.Table.insertNoCheck(Unknown Source)
        at org.hsqldb.Transaction.rollback(Unknown Source)
        at org.hsqldb.Session.rollback(Unknown Source)
        at org.hsqldb.Log.runScript(Unknown Source)
        at org.hsqldb.Log.open(Unknown Source)
        at org.hsqldb.Database$Logger.openLog(Unknown Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.Database.<init>(Unknown Source)
        at org.hsqldb.Server.openDB(Unknown Source)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at org.apache.jetspeed.components.hsql.HSQLServerComponent$HSQLServer.ru
n(HSQLServerComponent.java:279)
 INFO: Attempt 3.
 INFO: Attempt 3 failed!
 INFO: Attempt 4.
 INFO: Attempt 4 failed!
 INFO: Attempt 5.
 INFO: Attempt 5 failed!
 WARN: Unable to successfuly verify HSQL was successfuly started.
 INFO: Attempting to start DBCPCDatasourceComponent.
 INFO: DBCPCDatasourceComponent successfuly started!
 INFO: Using HSQL script file: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\test\
db\hsql\Registry
 INFO: Setting up data source pooling for org.hsqldb.jdbcDriver
 INFO: Max active connnections set to: 20
 INFO: Pool is set to "2" when all connections are exhausted.
 INFO: Verifying HSQL server is up will try 5 times then give up.
 INFO: Attempt 1.
 INFO: Starting HSQLDB server on localhost: [Ljava.lang.String;@1ef4b
server.properties not found, using command line or default properties
Opening database: C:\temp\jetspeed2\jakarta-jetspeed-2\portal\test\db\hsql\Regis
try
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
 INFO: Attempt 1 failed!
 INFO: Attempt 2.
Server.run/init: java.sql.SQLException: The database is already in use by anothe
r process
java.sql.SQLException: The database is already in use by another process
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Trace.error(Unknown Source)
        at org.hsqldb.Log.open(Unknown Source)
        at org.hsqldb.Database$Logger.openLog(Unknown Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.Database.<init>(Unknown Source)
        at org.hsqldb.Server.openDB(Unknown Source)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at org.apache.jetspeed.components.hsql.HSQLServerComponent$HSQLServer.ru
n(HSQLServerComponent.java:279)
 INFO: Attempt 2 failed!
 INFO: Attempt 3.

Reply via email to