portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Schöneich <schoene...@ecooperate.de>
Subject Jetspeed2 Build-Error (running test case)
Date Wed, 28 Jul 2004 20:49:46 GMT
Hi,
i get the error

[junit] [ERROR] TEST 
org.apache.jetspeed.components.persistence.TestPersistenceContainer FAILED

when building jetspeed2 (using hypersonic db)

any idea ?

the complete test output is:

Testsuite: 
org.apache.jetspeed.components.persistence.TestPersistenceContainer
Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1,312 sec
------------- Standard Output ---------------
 INFO: JNDI successfully initiallized
 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: Attempting to start DBCPCDatasourceComponent.
 INFO: DBCPCDatasourceComponent successfuly started!
DEBUG: Binding org.apache.commons.dbcp.PoolingDataSource@1db699b to name 
comp/env/jdbc/jetspeed
==========================>org.apache.ojb.broker.PBFactoryException: 
Given PBKey org.apache.ojb.broker.PBKey: jcdAlias=jetspeed, user=null, 
password=null does not match in metadata configuration
 INFO: JNDI successfully initiallized
 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: Attempting to start DBCPCDatasourceComponent.
 INFO: DBCPCDatasourceComponent successfuly started!
DEBUG: Binding org.apache.commons.dbcp.PoolingDataSource@39ab89 to name 
comp/env/jdbc/jetspeed
==========================>org.apache.ojb.broker.PBFactoryException: 
Given PBKey org.apache.ojb.broker.PBKey: jcdAlias=jetspeed, user=null, 
password=null does not match in metadata configuration
------------- ---------------- ---------------
------------- Standard Error -----------------
org.apache.ojb.broker.PBFactoryException: Given PBKey 
org.apache.ojb.broker.PBKey: jcdAlias=jetspeed, user=null, password=null 
does not match in metadata configuration
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.createNewBrokerInstance(Unknown

Source)
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl$PBKeyedPoolableObjectFactory.makeObject(Unknown

Source)
    at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:747)
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(Unknown

Source)
    at 
org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(Unknown 
Source)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.<init>(PBStore.java:84)
    at 
org.apache.jetspeed.components.persistence.TestPersistenceContainer.setUp(TestPersistenceContainer.java:166)
    at junit.framework.TestCase.runBare(TestCase.java:125)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
org.apache.ojb.broker.PBFactoryException: Given PBKey 
org.apache.ojb.broker.PBKey: jcdAlias=jetspeed, user=null, password=null 
does not match in metadata configuration
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.createNewBrokerInstance(Unknown

Source)
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl$PBKeyedPoolableObjectFactory.makeObject(Unknown

Source)
    at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:747)
    at 
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(Unknown

Source)
    at 
org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(Unknown 
Source)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.<init>(PBStore.java:84)
    at 
org.apache.jetspeed.components.persistence.TestPersistenceContainer.setUp(TestPersistenceContainer.java:166)
    at junit.framework.TestCase.runBare(TestCase.java:125)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
------------- ---------------- ---------------

Testcase: test001 took 0,875 sec
    Caused an ERROR
null
java.lang.NullPointerException
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.checkBroker(PBStore.java:202)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.getBroker(PBStore.java:216)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBTransaction.begin(PBTransaction.java:46)
    at 
org.apache.jetspeed.components.persistence.TestPersistenceContainer.tearDown(TestPersistenceContainer.java:179)

Testcase: test001Testcase: testEvents took 0,093 sec
    Caused an ERROR
null
java.lang.NullPointerException
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.checkBroker(PBStore.java:202)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore.getBroker(PBStore.java:216)
    at 
org.apache.jetspeed.components.persistence.store.ojb.pb.PBTransaction.begin(PBTransaction.java:46)
    at 
org.apache.jetspeed.components.persistence.TestPersistenceContainer.tearDown(TestPersistenceContainer.java:179)

Testcase: testEvents


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message