You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <de...@geronimo.apache.org> on 2006/07/20 23:49:13 UTC
[jira] Created: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
------------------------------------------------------------------
Key: GERONIMO-2211
URL: http://issues.apache.org/jira/browse/GERONIMO-2211
Project: Geronimo
Issue Type: Sub-task
Security Level: public (Regular issues)
Reporter: Jason Dillon
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon updated GERONIMO-2211:
-----------------------------------
Fix Version/s: 1.2
Affects Version/s: 1.2
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Fix For: 1.2
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon updated GERONIMO-2211:
-----------------------------------
Description: A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon updated GERONIMO-2211:
-----------------------------------
Description:
A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
The test fails with (on the console):
{noformat}
DEBUG [main] Starting boot
DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
DEBUG [main] Booted
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
DEBUG [main] Installed Geronimo login configuration
DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
DEBUG [main] Added Application Configuration Entry properties-client
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
DEBUG [main] Added Application Configuration Entry properties-realm
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
DEBUG [main] Stopped remote login service.
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
DEBUG [main] Removed Application Configuration Entry properties-realm
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
DEBUG [main] Removed Application Configuration Entry properties-client
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
DEBUG [main] Uninstalled Geronimo login configuration
DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
DEBUG [main] Starting kernel shutdown
DEBUG [main] Kernel shutdown complete
{noformat}
And in the surefire report:
{noformat}
-------------------------------------------------------------------------------
Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
javax.security.auth.login.LoginException: Error filling callback list
at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
{noformat}
was:A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> DEBUG [main] Starting boot
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> DEBUG [main] Booted
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
> DEBUG [main] Installed Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
> DEBUG [main] Stopped remote login service.
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
> DEBUG [main] Uninstalled Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
> DEBUG [main] Starting kernel shutdown
> DEBUG [main] Kernel shutdown complete
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
> test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
> javax.security.auth.login.LoginException: Error filling callback list
> at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
> 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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon reassigned GERONIMO-2211:
--------------------------------------
Assignee: Jason Dillon
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Assigned To: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> DEBUG [main] Starting boot
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> DEBUG [main] Booted
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
> DEBUG [main] Installed Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
> DEBUG [main] Stopped remote login service.
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
> DEBUG [main] Uninstalled Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
> DEBUG [main] Starting kernel shutdown
> DEBUG [main] Kernel shutdown complete
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
> test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
> javax.security.auth.login.LoginException: Error filling callback list
> at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
> 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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
Posted by Jason Dillon <ja...@planet57.com>.
FYI, I'd rather add a resolveFile() and resolvePath() to TestSupport
so that tests don't need to muck with File().getPath() and such.
--jason
On Aug 31, 2006, at 12:48 PM, Jason Dillon wrote:
> No, the BASEDIR rooting is important, as we can not always control
> the basedir that the tests are executed from. Tests are not just
> run from maven, but also from IDE's.
>
> It is a good practice to always root your files in tests... and
> this is why I changed them to use BASEDIR.
>
> --jason
>
>
> On Aug 31, 2006, at 6:00 AM, anita kulshreshtha wrote:
>
>> I have always wondered why we need to do this:
>> File auditlog = new File(BASEDIR, "target/login-audit.log");
>> instead of
>> File auditlog = new File("target/login-audit.log");
>>
>> The relative file references in java are resolved using the
>> current
>> user dir, given by the system property user.dir, and is typically the
>> directory in which the Java virtual machine was invoked.
>> The <workingDirectory> specifies the dir the jvm is forked
>> from. If
>> it is set to {basedir}/target by default, then all the tests should
>> just use:
>> File auditlog = new File("login-audit.log");
>> This is the most natural way. WDYT?
>>
>> Thanks
>> Anita
>>
>> --- "Jason Dillon (JIRA)" <de...@geronimo.apache.org> wrote:
>>
>>> [ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
>>>
>>> Jason Dillon closed GERONIMO-2211.
>>> ----------------------------------
>>>
>>> Resolution: Fixed
>>>
>>> Thanks Anita for pointing out that it works with basedir, the
>>> reference to the login-audit.log was not being rooted with BASEDIR.
>>>
>>> Looks okay now, so I'm enabling this test again.
>>>
>>>> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
>>>> ------------------------------------------------------------------
>>>>
>>>> Key: GERONIMO-2211
>>>> URL:
>>> http://issues.apache.org/jira/browse/GERONIMO-2211
>>>> Project: Geronimo
>>>> Issue Type: Sub-task
>>>> Security Level: public(Regular issues)
>>>> Affects Versions: 1.2
>>>> Reporter: Jason Dillon
>>>> Assigned To: Jason Dillon
>>>> Fix For: 1.2
>>>>
>>>>
>>>> A few tests failed in non-obvious ways when run under the m2 build.
>>> Need someone who knows these tests better to inspect, resolve and
>>> enable the test (remove the test exclusions in the pom).
>>>> The test fails with (on the console):
>>>> {noformat}
>>>> DEBUG [main] Starting boot
>>>> DEBUG [main] GBeanInstanceState for:
>>> geronimo/boot/none/car?role=kernel State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> geronimo/boot/none/car?role=kernel State changed from starting to
>>> running
>>>> DEBUG [main] Booted
>>>> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
>>> State changed from stopped to starting
>>>> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
>>> State changed from starting to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?new=LoginConfiguration State changed from stopped to
>>> starting
>>>> DEBUG [main] Installed Geronimo login configuration
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?new=LoginConfiguration State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=TestLoginService State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=TestLoginService State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>>> from
>>> stopped to starting
>>>> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242
>>> clients can connect to: tcp://0.0.0.0:4242
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>>> from
>>> starting to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>>> stopped to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>>> starting to running
>>>> DEBUG [main] Added Application Configuration Entry
>>> properties-client
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> stopped to starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=PropertiesSecurityRealm because no targets are
>>> running for reference LoginModuleConfiguration matching the patterns
>>> test/foo/1/car?name=PropertiesLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModule State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModule State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from
>>> stopped to
>>> starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=AuditLoginModuleUse because no targets are
>>> running for reference Next matching the patterns
>>> test/foo/1/car?name=UPCredLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModule State changed from stopped
>>> to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModule State changed from
>>> starting
>>> to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> stopped to starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=PropertiesLoginModuleUse because no targets are
>>> running for reference Next matching the patterns
>>> test/foo/1/car?name=AuditLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped
>>> to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from starting
>>> to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=AuditLoginModule
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=AuditLoginModule
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from starting
>>> to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=PropertiesLoginModule
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=PropertiesLoginModule
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> starting to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=ServerInfo
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=ServerInfo
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=TestLoginService
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=TestLoginService
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> starting to running
>>>> DEBUG [main] Added Application Configuration Entry properties-realm
>>>
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>>> from
>>> running to stopping
>>>> DEBUG [main] Stopped remote login service.
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>>> from
>>> stopping to stopped
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> running to stopping
>>>> DEBUG [main] Removed Application Configuration Entry
>>> properties-realm
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> stopping to stopped
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from running to
>>> stopping
>>>> DEBUG [main] Checking if child is running:
>>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>>> DEBUG [main] Stopping child:
>>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from running
>>> to stopping
>>>> DEBUG [main] Checking if child is running:
>>> child=test/foo/1/car?name=AuditLoginModuleUse
>>>> DEBUG [main] Stopping child:
>>> child=test/foo/1/car?name=AuditLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from
>>> running to
>>> stopping
>>>> DEBUG [main] Checking if child is running:
>>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>>> DEBUG [main] Stopping child:
>>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> running to stopping
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> stopping to stopped
>>>> DEBUG [main] Stopped child:
>>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from stopping
>>> to stopped
>>>> DEBUG [main] Stopped child:
>>> child=test/foo/1/car?name=AuditLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping
>>> to stopped
>>>> DEBUG [main] Stopped child:
>>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from stopping to
>>> stopped
>> === message truncated ===
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>
Re: [jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
Posted by Jason Dillon <ja...@planet57.com>.
No, the BASEDIR rooting is important, as we can not always control
the basedir that the tests are executed from. Tests are not just run
from maven, but also from IDE's.
It is a good practice to always root your files in tests... and this
is why I changed them to use BASEDIR.
--jason
On Aug 31, 2006, at 6:00 AM, anita kulshreshtha wrote:
> I have always wondered why we need to do this:
> File auditlog = new File(BASEDIR, "target/login-audit.log");
> instead of
> File auditlog = new File("target/login-audit.log");
>
> The relative file references in java are resolved using the current
> user dir, given by the system property user.dir, and is typically the
> directory in which the Java virtual machine was invoked.
> The <workingDirectory> specifies the dir the jvm is forked from. If
> it is set to {basedir}/target by default, then all the tests should
> just use:
> File auditlog = new File("login-audit.log");
> This is the most natural way. WDYT?
>
> Thanks
> Anita
>
> --- "Jason Dillon (JIRA)" <de...@geronimo.apache.org> wrote:
>
>> [ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
>>
>> Jason Dillon closed GERONIMO-2211.
>> ----------------------------------
>>
>> Resolution: Fixed
>>
>> Thanks Anita for pointing out that it works with basedir, the
>> reference to the login-audit.log was not being rooted with BASEDIR.
>>
>> Looks okay now, so I'm enabling this test again.
>>
>>> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
>>> ------------------------------------------------------------------
>>>
>>> Key: GERONIMO-2211
>>> URL:
>> http://issues.apache.org/jira/browse/GERONIMO-2211
>>> Project: Geronimo
>>> Issue Type: Sub-task
>>> Security Level: public(Regular issues)
>>> Affects Versions: 1.2
>>> Reporter: Jason Dillon
>>> Assigned To: Jason Dillon
>>> Fix For: 1.2
>>>
>>>
>>> A few tests failed in non-obvious ways when run under the m2 build.
>> Need someone who knows these tests better to inspect, resolve and
>> enable the test (remove the test exclusions in the pom).
>>> The test fails with (on the console):
>>> {noformat}
>>> DEBUG [main] Starting boot
>>> DEBUG [main] GBeanInstanceState for:
>> geronimo/boot/none/car?role=kernel State changed from stopped to
>> starting
>>> DEBUG [main] GBeanInstanceState for:
>> geronimo/boot/none/car?role=kernel State changed from starting to
>> running
>>> DEBUG [main] Booted
>>> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
>> State changed from stopped to starting
>>> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
>> State changed from starting to running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?new=LoginConfiguration State changed from stopped to
>> starting
>>> DEBUG [main] Installed Geronimo login configuration
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?new=LoginConfiguration State changed from starting to
>> running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=TestLoginService State changed from stopped to
>> starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=TestLoginService State changed from starting to
>> running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
>> stopped to starting
>>> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242
>> clients can connect to: tcp://0.0.0.0:4242
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
>> starting to running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>> stopped to starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>> starting to running
>>> DEBUG [main] Added Application Configuration Entry
>> properties-client
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>> stopped to starting
>>> DEBUG [main] Waiting to start
>> test/foo/1/car?name=PropertiesSecurityRealm because no targets are
>> running for reference LoginModuleConfiguration matching the patterns
>> test/foo/1/car?name=PropertiesLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModule State changed from stopped to
>> starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModule State changed from starting to
>> running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to
>> starting
>>> DEBUG [main] Waiting to start
>> test/foo/1/car?name=AuditLoginModuleUse because no targets are
>> running for reference Next matching the patterns
>> test/foo/1/car?name=UPCredLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModule State changed from stopped
>> to starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModule State changed from starting
>> to running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>> stopped to starting
>>> DEBUG [main] Waiting to start
>> test/foo/1/car?name=PropertiesLoginModuleUse because no targets are
>> running for reference Next matching the patterns
>> test/foo/1/car?name=AuditLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModule State changed from stopped to
>> starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModule State changed from starting to
>> running
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped
>> to starting
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModuleUse State changed from starting
>> to running
>>> DEBUG [main] Checking if parent is running:
>> parent=test/foo/1/car?name=AuditLoginModule
>>> DEBUG [main] Parent is running:
>> parent=test/foo/1/car?name=AuditLoginModule
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModuleUse State changed from starting
>> to running
>>> DEBUG [main] Checking if parent is running:
>> parent=test/foo/1/car?name=PropertiesLoginModule
>>> DEBUG [main] Parent is running:
>> parent=test/foo/1/car?name=PropertiesLoginModule
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>> starting to running
>>> DEBUG [main] Checking if parent is running:
>> parent=test/foo/1/car?name=ServerInfo
>>> DEBUG [main] Parent is running:
>> parent=test/foo/1/car?name=ServerInfo
>>> DEBUG [main] Checking if parent is running:
>> parent=test/foo/1/car?name=TestLoginService
>>> DEBUG [main] Parent is running:
>> parent=test/foo/1/car?name=TestLoginService
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>> starting to running
>>> DEBUG [main] Added Application Configuration Entry properties-realm
>>
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
>> running to stopping
>>> DEBUG [main] Stopped remote login service.
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
>> stopping to stopped
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>> running to stopping
>>> DEBUG [main] Removed Application Configuration Entry
>> properties-realm
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>> stopping to stopped
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModule State changed from running to
>> stopping
>>> DEBUG [main] Checking if child is running:
>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>> DEBUG [main] Stopping child:
>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModuleUse State changed from running
>> to stopping
>>> DEBUG [main] Checking if child is running:
>> child=test/foo/1/car?name=AuditLoginModuleUse
>>> DEBUG [main] Stopping child:
>> child=test/foo/1/car?name=AuditLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModuleUse State changed from running to
>> stopping
>>> DEBUG [main] Checking if child is running:
>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>> DEBUG [main] Stopping child:
>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>> running to stopping
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>> stopping to stopped
>>> DEBUG [main] Stopped child:
>> child=test/foo/1/car?name=PropertiesLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=AuditLoginModuleUse State changed from stopping
>> to stopped
>>> DEBUG [main] Stopped child:
>> child=test/foo/1/car?name=AuditLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping
>> to stopped
>>> DEBUG [main] Stopped child:
>> child=test/foo/1/car?name=UPCredLoginModuleUse
>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=UPCredLoginModule State changed from stopping to
>> stopped
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
Re: [jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
Posted by Jason Dillon <ja...@planet57.com>.
Yes I know that, and I changed it to ${basedir}/target on purpose.
--jason
On Aug 31, 2006, at 6:49 AM, anita kulshreshtha wrote:
> One more thing..
> In m1 the jvm was forked from basedir, hence we have all the file
> references as target/....
> http://maven.apache.org/maven-1.x/plugins/test/properties.html
>
> So we should modify all the tests to not used target!
>
> Thanks
> Anita
> --- anita kulshreshtha <a_...@yahoo.com> wrote:
>
>> I have always wondered why we need to do this:
>> File auditlog = new File(BASEDIR, "target/login-audit.log");
>> instead of
>> File auditlog = new File("target/login-audit.log");
>>
>> The relative file references in java are resolved using the
>> current
>> user dir, given by the system property user.dir, and is typically the
>> directory in which the Java virtual machine was invoked.
>> The <workingDirectory> specifies the dir the jvm is forked from.
>> If
>> it is set to {basedir}/target by default, then all the tests should
>> just use:
>> File auditlog = new File("login-audit.log");
>> This is the most natural way. WDYT?
>>
>> Thanks
>> Anita
>>
>> --- "Jason Dillon (JIRA)" <de...@geronimo.apache.org> wrote:
>>
>>> [ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all
>> ]
>>>
>>> Jason Dillon closed GERONIMO-2211.
>>> ----------------------------------
>>>
>>> Resolution: Fixed
>>>
>>> Thanks Anita for pointing out that it works with basedir, the
>>> reference to the login-audit.log was not being rooted with BASEDIR.
>>>
>>> Looks okay now, so I'm enabling this test again.
>>>
>>>> Enable tests (geronimo-security ::
>> **/ConfigurationEntryTest.java)
>>>>
>> ------------------------------------------------------------------
>>>>
>>>> Key: GERONIMO-2211
>>>> URL:
>>> http://issues.apache.org/jira/browse/GERONIMO-2211
>>>> Project: Geronimo
>>>> Issue Type: Sub-task
>>>> Security Level: public(Regular issues)
>>>> Affects Versions: 1.2
>>>> Reporter: Jason Dillon
>>>> Assigned To: Jason Dillon
>>>> Fix For: 1.2
>>>>
>>>>
>>>> A few tests failed in non-obvious ways when run under the m2
>> build.
>>> Need someone who knows these tests better to inspect, resolve and
>>> enable the test (remove the test exclusions in the pom).
>>>> The test fails with (on the console):
>>>> {noformat}
>>>> DEBUG [main] Starting boot
>>>> DEBUG [main] GBeanInstanceState for:
>>> geronimo/boot/none/car?role=kernel State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> geronimo/boot/none/car?role=kernel State changed from starting to
>>> running
>>>> DEBUG [main] Booted
>>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=ServerInfo
>>> State changed from stopped to starting
>>>> DEBUG [main] GBeanInstanceState for:
>> test/foo/1/car?name=ServerInfo
>>> State changed from starting to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?new=LoginConfiguration State changed from stopped to
>>> starting
>>>> DEBUG [main] Installed Geronimo login configuration
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?new=LoginConfiguration State changed from starting
>> to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=TestLoginService State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=TestLoginService State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>> from
>>> stopped to starting
>>>> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242
>>> clients can connect to: tcp://0.0.0.0:4242
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>> from
>>> starting to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>>> stopped to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=client-ConfigurationEntry State changed from
>>> starting to running
>>>> DEBUG [main] Added Application Configuration Entry
>>> properties-client
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> stopped to starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=PropertiesSecurityRealm because no targets are
>>> running for reference LoginModuleConfiguration matching the
>> patterns
>>> test/foo/1/car?name=PropertiesLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModule State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModule State changed from starting to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from stopped
>> to
>>> starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=AuditLoginModuleUse because no targets are
>>> running for reference Next matching the patterns
>>> test/foo/1/car?name=UPCredLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModule State changed from
>> stopped
>>> to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModule State changed from
>> starting
>>> to running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> stopped to starting
>>>> DEBUG [main] Waiting to start
>>> test/foo/1/car?name=PropertiesLoginModuleUse because no targets are
>>> running for reference Next matching the patterns
>>> test/foo/1/car?name=AuditLoginModuleUse
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from stopped to
>>> starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from starting
>> to
>>> running
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped
>>> to starting
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModuleUse State changed from
>> starting
>>> to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=AuditLoginModule
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=AuditLoginModule
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=AuditLoginModuleUse State changed from starting
>>> to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=PropertiesLoginModule
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=PropertiesLoginModule
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
>>> starting to running
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=ServerInfo
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=ServerInfo
>>>> DEBUG [main] Checking if parent is running:
>>> parent=test/foo/1/car?name=TestLoginService
>>>> DEBUG [main] Parent is running:
>>> parent=test/foo/1/car?name=TestLoginService
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> starting to running
>>>> DEBUG [main] Added Application Configuration Entry
>> properties-realm
>>>
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>> from
>>> running to stopping
>>>> DEBUG [main] Stopped remote login service.
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
>> from
>>> stopping to stopped
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> running to stopping
>>>> DEBUG [main] Removed Application Configuration Entry
>>> properties-realm
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=PropertiesSecurityRealm State changed from
>>> stopping to stopped
>>>> DEBUG [main] GBeanInstanceState for:
>>> test/foo/1/car?name=UPCredLoginModule State changed from running to
>>
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
Re: [jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
Posted by anita kulshreshtha <a_...@yahoo.com>.
One more thing..
In m1 the jvm was forked from basedir, hence we have all the file
references as target/....
http://maven.apache.org/maven-1.x/plugins/test/properties.html
So we should modify all the tests to not used target!
Thanks
Anita
--- anita kulshreshtha <a_...@yahoo.com> wrote:
> I have always wondered why we need to do this:
> File auditlog = new File(BASEDIR, "target/login-audit.log");
> instead of
> File auditlog = new File("target/login-audit.log");
>
> The relative file references in java are resolved using the
> current
> user dir, given by the system property user.dir, and is typically the
> directory in which the Java virtual machine was invoked.
> The <workingDirectory> specifies the dir the jvm is forked from.
> If
> it is set to {basedir}/target by default, then all the tests should
> just use:
> File auditlog = new File("login-audit.log");
> This is the most natural way. WDYT?
>
> Thanks
> Anita
>
> --- "Jason Dillon (JIRA)" <de...@geronimo.apache.org> wrote:
>
> > [ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all
> ]
> >
> > Jason Dillon closed GERONIMO-2211.
> > ----------------------------------
> >
> > Resolution: Fixed
> >
> > Thanks Anita for pointing out that it works with basedir, the
> > reference to the login-audit.log was not being rooted with BASEDIR.
> >
> > Looks okay now, so I'm enabling this test again.
> >
> > > Enable tests (geronimo-security ::
> **/ConfigurationEntryTest.java)
> > >
> ------------------------------------------------------------------
> > >
> > > Key: GERONIMO-2211
> > > URL:
> > http://issues.apache.org/jira/browse/GERONIMO-2211
> > > Project: Geronimo
> > > Issue Type: Sub-task
> > > Security Level: public(Regular issues)
> > > Affects Versions: 1.2
> > > Reporter: Jason Dillon
> > > Assigned To: Jason Dillon
> > > Fix For: 1.2
> > >
> > >
> > > A few tests failed in non-obvious ways when run under the m2
> build.
> > Need someone who knows these tests better to inspect, resolve and
> > enable the test (remove the test exclusions in the pom).
> > > The test fails with (on the console):
> > > {noformat}
> > > DEBUG [main] Starting boot
> > > DEBUG [main] GBeanInstanceState for:
> > geronimo/boot/none/car?role=kernel State changed from stopped to
> > starting
> > > DEBUG [main] GBeanInstanceState for:
> > geronimo/boot/none/car?role=kernel State changed from starting to
> > running
> > > DEBUG [main] Booted
> > > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=ServerInfo
> > State changed from stopped to starting
> > > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=ServerInfo
> > State changed from starting to running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?new=LoginConfiguration State changed from stopped to
> > starting
> > > DEBUG [main] Installed Geronimo login configuration
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?new=LoginConfiguration State changed from starting
> to
> > running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=TestLoginService State changed from stopped to
> > starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=TestLoginService State changed from starting to
> > running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
> from
> > stopped to starting
> > > DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242
> > clients can connect to: tcp://0.0.0.0:4242
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
> from
> > starting to running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=client-ConfigurationEntry State changed from
> > stopped to starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=client-ConfigurationEntry State changed from
> > starting to running
> > > DEBUG [main] Added Application Configuration Entry
> > properties-client
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesSecurityRealm State changed from
> > stopped to starting
> > > DEBUG [main] Waiting to start
> > test/foo/1/car?name=PropertiesSecurityRealm because no targets are
> > running for reference LoginModuleConfiguration matching the
> patterns
> > test/foo/1/car?name=PropertiesLoginModuleUse
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=AuditLoginModule State changed from stopped to
> > starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=AuditLoginModule State changed from starting to
> > running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=AuditLoginModuleUse State changed from stopped
> to
> > starting
> > > DEBUG [main] Waiting to start
> > test/foo/1/car?name=AuditLoginModuleUse because no targets are
> > running for reference Next matching the patterns
> > test/foo/1/car?name=UPCredLoginModuleUse
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesLoginModule State changed from
> stopped
> > to starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesLoginModule State changed from
> starting
> > to running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> > stopped to starting
> > > DEBUG [main] Waiting to start
> > test/foo/1/car?name=PropertiesLoginModuleUse because no targets are
> > running for reference Next matching the patterns
> > test/foo/1/car?name=AuditLoginModuleUse
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=UPCredLoginModule State changed from stopped to
> > starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=UPCredLoginModule State changed from starting
> to
> > running
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped
> > to starting
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=UPCredLoginModuleUse State changed from
> starting
> > to running
> > > DEBUG [main] Checking if parent is running:
> > parent=test/foo/1/car?name=AuditLoginModule
> > > DEBUG [main] Parent is running:
> > parent=test/foo/1/car?name=AuditLoginModule
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=AuditLoginModuleUse State changed from starting
> > to running
> > > DEBUG [main] Checking if parent is running:
> > parent=test/foo/1/car?name=PropertiesLoginModule
> > > DEBUG [main] Parent is running:
> > parent=test/foo/1/car?name=PropertiesLoginModule
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> > starting to running
> > > DEBUG [main] Checking if parent is running:
> > parent=test/foo/1/car?name=ServerInfo
> > > DEBUG [main] Parent is running:
> > parent=test/foo/1/car?name=ServerInfo
> > > DEBUG [main] Checking if parent is running:
> > parent=test/foo/1/car?name=TestLoginService
> > > DEBUG [main] Parent is running:
> > parent=test/foo/1/car?name=TestLoginService
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesSecurityRealm State changed from
> > starting to running
> > > DEBUG [main] Added Application Configuration Entry
> properties-realm
> >
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
> from
> > running to stopping
> > > DEBUG [main] Stopped remote login service.
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=JaasLoginServiceRemotingServer State changed
> from
> > stopping to stopped
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesSecurityRealm State changed from
> > running to stopping
> > > DEBUG [main] Removed Application Configuration Entry
> > properties-realm
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=PropertiesSecurityRealm State changed from
> > stopping to stopped
> > > DEBUG [main] GBeanInstanceState for:
> > test/foo/1/car?name=UPCredLoginModule State changed from running to
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: [jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
Posted by anita kulshreshtha <a_...@yahoo.com>.
I have always wondered why we need to do this:
File auditlog = new File(BASEDIR, "target/login-audit.log");
instead of
File auditlog = new File("target/login-audit.log");
The relative file references in java are resolved using the current
user dir, given by the system property user.dir, and is typically the
directory in which the Java virtual machine was invoked.
The <workingDirectory> specifies the dir the jvm is forked from. If
it is set to {basedir}/target by default, then all the tests should
just use:
File auditlog = new File("login-audit.log");
This is the most natural way. WDYT?
Thanks
Anita
--- "Jason Dillon (JIRA)" <de...@geronimo.apache.org> wrote:
> [ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
>
> Jason Dillon closed GERONIMO-2211.
> ----------------------------------
>
> Resolution: Fixed
>
> Thanks Anita for pointing out that it works with basedir, the
> reference to the login-audit.log was not being rooted with BASEDIR.
>
> Looks okay now, so I'm enabling this test again.
>
> > Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> > ------------------------------------------------------------------
> >
> > Key: GERONIMO-2211
> > URL:
> http://issues.apache.org/jira/browse/GERONIMO-2211
> > Project: Geronimo
> > Issue Type: Sub-task
> > Security Level: public(Regular issues)
> > Affects Versions: 1.2
> > Reporter: Jason Dillon
> > Assigned To: Jason Dillon
> > Fix For: 1.2
> >
> >
> > A few tests failed in non-obvious ways when run under the m2 build.
> Need someone who knows these tests better to inspect, resolve and
> enable the test (remove the test exclusions in the pom).
> > The test fails with (on the console):
> > {noformat}
> > DEBUG [main] Starting boot
> > DEBUG [main] GBeanInstanceState for:
> geronimo/boot/none/car?role=kernel State changed from stopped to
> starting
> > DEBUG [main] GBeanInstanceState for:
> geronimo/boot/none/car?role=kernel State changed from starting to
> running
> > DEBUG [main] Booted
> > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
> State changed from stopped to starting
> > DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo
> State changed from starting to running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?new=LoginConfiguration State changed from stopped to
> starting
> > DEBUG [main] Installed Geronimo login configuration
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?new=LoginConfiguration State changed from starting to
> running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=TestLoginService State changed from stopped to
> starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=TestLoginService State changed from starting to
> running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
> stopped to starting
> > DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242
> clients can connect to: tcp://0.0.0.0:4242
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
> starting to running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=client-ConfigurationEntry State changed from
> stopped to starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=client-ConfigurationEntry State changed from
> starting to running
> > DEBUG [main] Added Application Configuration Entry
> properties-client
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesSecurityRealm State changed from
> stopped to starting
> > DEBUG [main] Waiting to start
> test/foo/1/car?name=PropertiesSecurityRealm because no targets are
> running for reference LoginModuleConfiguration matching the patterns
> test/foo/1/car?name=PropertiesLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModule State changed from stopped to
> starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModule State changed from starting to
> running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to
> starting
> > DEBUG [main] Waiting to start
> test/foo/1/car?name=AuditLoginModuleUse because no targets are
> running for reference Next matching the patterns
> test/foo/1/car?name=UPCredLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModule State changed from stopped
> to starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModule State changed from starting
> to running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> stopped to starting
> > DEBUG [main] Waiting to start
> test/foo/1/car?name=PropertiesLoginModuleUse because no targets are
> running for reference Next matching the patterns
> test/foo/1/car?name=AuditLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModule State changed from stopped to
> starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModule State changed from starting to
> running
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped
> to starting
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModuleUse State changed from starting
> to running
> > DEBUG [main] Checking if parent is running:
> parent=test/foo/1/car?name=AuditLoginModule
> > DEBUG [main] Parent is running:
> parent=test/foo/1/car?name=AuditLoginModule
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModuleUse State changed from starting
> to running
> > DEBUG [main] Checking if parent is running:
> parent=test/foo/1/car?name=PropertiesLoginModule
> > DEBUG [main] Parent is running:
> parent=test/foo/1/car?name=PropertiesLoginModule
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> starting to running
> > DEBUG [main] Checking if parent is running:
> parent=test/foo/1/car?name=ServerInfo
> > DEBUG [main] Parent is running:
> parent=test/foo/1/car?name=ServerInfo
> > DEBUG [main] Checking if parent is running:
> parent=test/foo/1/car?name=TestLoginService
> > DEBUG [main] Parent is running:
> parent=test/foo/1/car?name=TestLoginService
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesSecurityRealm State changed from
> starting to running
> > DEBUG [main] Added Application Configuration Entry properties-realm
>
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
> running to stopping
> > DEBUG [main] Stopped remote login service.
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from
> stopping to stopped
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesSecurityRealm State changed from
> running to stopping
> > DEBUG [main] Removed Application Configuration Entry
> properties-realm
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesSecurityRealm State changed from
> stopping to stopped
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModule State changed from running to
> stopping
> > DEBUG [main] Checking if child is running:
> child=test/foo/1/car?name=UPCredLoginModuleUse
> > DEBUG [main] Stopping child:
> child=test/foo/1/car?name=UPCredLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModuleUse State changed from running
> to stopping
> > DEBUG [main] Checking if child is running:
> child=test/foo/1/car?name=AuditLoginModuleUse
> > DEBUG [main] Stopping child:
> child=test/foo/1/car?name=AuditLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModuleUse State changed from running to
> stopping
> > DEBUG [main] Checking if child is running:
> child=test/foo/1/car?name=PropertiesLoginModuleUse
> > DEBUG [main] Stopping child:
> child=test/foo/1/car?name=PropertiesLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> running to stopping
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=PropertiesLoginModuleUse State changed from
> stopping to stopped
> > DEBUG [main] Stopped child:
> child=test/foo/1/car?name=PropertiesLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=AuditLoginModuleUse State changed from stopping
> to stopped
> > DEBUG [main] Stopped child:
> child=test/foo/1/car?name=AuditLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping
> to stopped
> > DEBUG [main] Stopped child:
> child=test/foo/1/car?name=UPCredLoginModuleUse
> > DEBUG [main] GBeanInstanceState for:
> test/foo/1/car?name=UPCredLoginModule State changed from stopping to
> stopped
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[jira] Closed: (GERONIMO-2211) Enable tests (geronimo-security ::
**/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=all ]
Jason Dillon closed GERONIMO-2211.
----------------------------------
Resolution: Fixed
Thanks Anita for pointing out that it works with basedir, the reference to the login-audit.log was not being rooted with BASEDIR.
Looks okay now, so I'm enabling this test again.
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Assigned To: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> DEBUG [main] Starting boot
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> DEBUG [main] Booted
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
> DEBUG [main] Installed Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
> DEBUG [main] Stopped remote login service.
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
> DEBUG [main] Uninstalled Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
> DEBUG [main] Starting kernel shutdown
> DEBUG [main] Kernel shutdown complete
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
> test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
> javax.security.auth.login.LoginException: Error filling callback list
> at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
> 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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2211) Enable tests (geronimo-security
:: **/ConfigurationEntryTest.java)
Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=comments#action_12431694 ]
Jason Dillon commented on GERONIMO-2211:
----------------------------------------
The working dir should not be set to ${basedir}, it should be left as ${basedir}/target.
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> DEBUG [main] Starting boot
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> DEBUG [main] Booted
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
> DEBUG [main] Installed Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
> DEBUG [main] Stopped remote login service.
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
> DEBUG [main] Uninstalled Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
> DEBUG [main] Starting kernel shutdown
> DEBUG [main] Kernel shutdown complete
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
> test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
> javax.security.auth.login.LoginException: Error filling callback list
> at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
> 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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2211) Enable tests (geronimo-security
:: **/ConfigurationEntryTest.java)
Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2211?page=comments#action_12431595 ]
Anita Kulshreshtha commented on GERONIMO-2211:
----------------------------------------------
The original code in GERONIMO-2071 had the following lines in pom.xml:
<forkMode>once</forkMode>
<workingDirectory>${basedir}</workingDirectory>
I added these lines to rev 438055, enabled ConfigurationEntryTest and am able to build sucessfully on windows and a login-audit.log
file is created.
Path: .
URL: https://svn.apache.org/repos/asf/geronimo/server/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 438055
Node Kind: directory
Schedule: normal
Last Changed Author: jdillon
Last Changed Rev: 437936
Last Changed Date: 2006-08-28 23:28:32 -0400 (Mon, 28 Aug 2006)
Properties Last Updated: 2006-08-29 08:13:22 -0400 (Tue, 29 Aug 2006)
> Enable tests (geronimo-security :: **/ConfigurationEntryTest.java)
> ------------------------------------------------------------------
>
> Key: GERONIMO-2211
> URL: http://issues.apache.org/jira/browse/GERONIMO-2211
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Affects Versions: 1.2
> Reporter: Jason Dillon
> Fix For: 1.2
>
>
> A few tests failed in non-obvious ways when run under the m2 build. Need someone who knows these tests better to inspect, resolve and enable the test (remove the test exclusions in the pom).
> The test fails with (on the console):
> {noformat}
> DEBUG [main] Starting boot
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: geronimo/boot/none/car?role=kernel State changed from starting to running
> DEBUG [main] Booted
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopped to starting
> DEBUG [main] Installed Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopped to starting
> DEBUG [main] Remote login service started on: tcp://0.0.0.0:4242 clients can connect to: tcp://0.0.0.0:4242
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesSecurityRealm because no targets are running for reference LoginModuleConfiguration matching the patterns test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=AuditLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopped to starting
> DEBUG [main] Waiting to start test/foo/1/car?name=PropertiesLoginModuleUse because no targets are running for reference Next matching the patterns test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from starting to running
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopped to starting
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=AuditLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=PropertiesLoginModule
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from starting to running
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=ServerInfo
> DEBUG [main] Checking if parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] Parent is running: parent=test/foo/1/car?name=TestLoginService
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from starting to running
> DEBUG [main] Added Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from running to stopping
> DEBUG [main] Stopped remote login service.
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=JaasLoginServiceRemotingServer State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-realm
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesSecurityRealm State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from running to stopping
> DEBUG [main] Checking if child is running: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] Stopping child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=PropertiesLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=PropertiesLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=AuditLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModuleUse State changed from stopping to stopped
> DEBUG [main] Stopped child: child=test/foo/1/car?name=UPCredLoginModuleUse
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=UPCredLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=AuditLoginModule State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from running to stopping
> DEBUG [main] Removed Application Configuration Entry properties-client
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=client-ConfigurationEntry State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=TestLoginService State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from running to stopping
> DEBUG [main] Uninstalled Geronimo login configuration
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?new=LoginConfiguration State changed from stopping to stopped
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from running to stopping
> DEBUG [main] GBeanInstanceState for: test/foo/1/car?name=ServerInfo State changed from stopping to stopped
> DEBUG [main] Starting kernel shutdown
> DEBUG [main] Kernel shutdown complete
> {noformat}
> And in the surefire report:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.geronimo.security.jaas.ConfigurationEntryTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.498 sec <<< FAILURE!
> test(org.apache.geronimo.security.jaas.ConfigurationEntryTest) Time elapsed: 4.356 sec <<< ERROR!
> javax.security.auth.login.LoginException: Error filling callback list
> at org.apache.geronimo.security.jaas.client.ServerLoginProxy.login(ServerLoginProxy.java:78)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.performLogin(JaasLoginCoordinator.java:199)
> at org.apache.geronimo.security.jaas.client.JaasLoginCoordinator.login(JaasLoginCoordinator.java:120)
> 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.geronimo.security.jaas.ConfigurationEntryTest.test(ConfigurationEntryTest.java:83)
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira