Yes, here they are. Seems to be user/password error with the DB. Thanks for your help.

Michael

> -----Urspr�ngliche Nachricht-----
> Von: Scott T. Weaver [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 14. September 2004 15:23
> An: Jetspeed Developers List
> Betreff: Re: jetspeed2 junit errors during build
> 
> 
> Hi Michael,
> 
> Woulod you mind posting your test report output?  It should 
> be located 
> here: 
> /components/security/target/test-reports/org.apache.jetspeed.s
> ecurity.TestRdbmsPolicy.txt 
> and 
> /components/security/target/test-reports/org.apache.jetspeed.s
> ecurity.TestUserManager.txt
> 
        
Testsuite: org.apache.jetspeed.security.TestUserManager
Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 3,415 sec

------------- Standard Output ---------------
 INFO: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - JNDI successfully 
initiallized
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Setting up 
data source pooling for org.hsqldb.jdbcDriver
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Max active 
connnections set to: 20
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Pool is set 
to "2" when all connections are exhausted.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Attempting 
to start DBCPCDatasourceComponent.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - 
DBCPCDatasourceComponent successfuly started!
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name comp/env/jdbc/jetspeed
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name jdbc/jetspeed
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
jar:file:/C:/Dokumente%20und%20Einstellungen/suedkamp/.maven/repository/jetspeed2/jars/jetspeed-prefs-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy constructed.
DEBUG: org.apache.jetspeed.security.impl.SecurityProviderImpl - 
java.security.auth.login.config = 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/login.conf
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy refresh called.
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: true
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User: [[id, 121], 
[fullPath, /user/anon]]
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: true
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User: [[id, 121], 
[fullPath, /user/anon]]
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Deleted user: /user/anon
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
 INFO: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - JNDI successfully 
initiallized
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Setting up 
data source pooling for org.hsqldb.jdbcDriver
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Max active 
connnections set to: 20
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Pool is set 
to "2" when all connections are exhausted.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Attempting 
to start DBCPCDatasourceComponent.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - 
DBCPCDatasourceComponent successfuly started!
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name comp/env/jdbc/jetspeed
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name jdbc/jetspeed
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
jar:file:/C:/Dokumente%20und%20Einstellungen/suedkamp/.maven/repository/jetspeed2/jars/jetspeed-prefs-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy constructed.
DEBUG: org.apache.jetspeed.security.impl.SecurityProviderImpl - 
java.security.auth.login.config = 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/login.conf
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy refresh called.
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user preferences 
node: /user/test
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user: /user/test
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: true
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User: [[id, 201], 
[fullPath, /user/test]]
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Deleted user: /user/test
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
 INFO: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - JNDI successfully 
initiallized
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Setting up 
data source pooling for org.hsqldb.jdbcDriver
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Max active 
connnections set to: 20
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Pool is set 
to "2" when all connections are exhausted.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Attempting 
to start DBCPCDatasourceComponent.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - 
DBCPCDatasourceComponent successfuly started!
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name comp/env/jdbc/jetspeed
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name jdbc/jetspeed
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
jar:file:/C:/Dokumente%20und%20Einstellungen/suedkamp/.maven/repository/jetspeed2/jars/jetspeed-prefs-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy constructed.
DEBUG: org.apache.jetspeed.security.impl.SecurityProviderImpl - 
java.security.auth.login.config = 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/login.conf
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy refresh called.
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user preferences 
node: /user/anon
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user: /user/anon
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Credential: [[principalId, 
202], [value, newpassword], [type, 0], [classname, null], [creationDate, 2004-09-14 
09:39:31.669], [modifiedDate, 2004-09-14 09:39:31.669]]
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: true
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User: [[id, 202], 
[fullPath, /user/anon]]
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Deleted user: /user/anon
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
------------- ---------------- ---------------
Testcase: testAddRemoveUser(org.apache.jetspeed.security.TestUserManager):      FAILED
user already exists. exception caught: org.apache.jetspeed.security.SecurityException: 
The user already exists. anon
junit.framework.AssertionFailedError: user already exists. exception caught: 
org.apache.jetspeed.security.SecurityException: The user already exists. anon
        at 
org.apache.jetspeed.security.TestUserManager.testAddRemoveUser(TestUserManager.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testsuite: org.apache.jetspeed.security.TestRdbmsPolicy
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3,044 sec

------------- Standard Output ---------------
 INFO: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - JNDI successfully 
initiallized
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Setting up 
data source pooling for org.hsqldb.jdbcDriver
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Max active 
connnections set to: 20
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Pool is set 
to "2" when all connections are exhausted.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - Attempting 
to start DBCPCDatasourceComponent.
 INFO: org.apache.jetspeed.components.datasource.DBCPDatasourceComponent - 
DBCPCDatasourceComponent successfuly started!
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name comp/env/jdbc/jetspeed
DEBUG: org.apache.jetspeed.components.jndi.TyrexJNDIComponent - Binding [EMAIL 
PROTECTED] to name jdbc/jetspeed
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/classes/META-INF/ojb_repository.xml
 INFO: org.apache.jetspeed.components.persistence.store.ojb.pb.PBStore - Merging OJB 
respository: 
jar:file:/C:/Dokumente%20und%20Einstellungen/suedkamp/.maven/repository/jetspeed2/jars/jetspeed-prefs-2.0-a1-dev.jar!/META-INF/ojb_repository.xml
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy constructed.
DEBUG: org.apache.jetspeed.security.impl.SecurityProviderImpl - 
java.security.auth.login.config = 
file:/D:/temp/jakarta-jetspeed-2/components/security/target/test-classes/login.conf
DEBUG: org.apache.jetspeed.security.impl.RdbmsPolicy - RdbmsPolicy refresh called.
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - User exists: false
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user preferences 
node: /user/anon
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Added user: /user/anon
                [TestRdbmsPolicy] Creating login context.
DEBUG: org.apache.jetspeed.security.impl.UserManagerImpl - Credential: [[principalId, 
121], [value, password], [type, 0], [classname, null], [creationDate, 2004-09-14 
09:39:16.627], [modifiedDate, 2004-09-14 09:39:16.627]]
------------- ---------------- ---------------
------------- Standard Error -----------------
javax.security.auth.login.LoginException: Authentication failed: Password does not 
match
        at 
org.apache.jetspeed.security.impl.RdbmsLoginModule.login(RdbmsLoginModule.java:167)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
        at org.apache.jetspeed.security.TestRdbmsPolicy.setUp(TestRdbmsPolicy.java:63)
        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: 
testPermissionWithSubjectInAccessControlContext(org.apache.jetspeed.security.TestRdbmsPolicy):
        FAILED
                [TestRdbmsPolicy] Failed to setup test.
junit.framework.AssertionFailedError:           [TestRdbmsPolicy] Failed to setup test.
        at org.apache.jetspeed.security.TestRdbmsPolicy.setUp(TestRdbmsPolicy.java:68)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to