You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Saphen Qiu (Updated) (JIRA)" <ji...@apache.org> on 2011/11/17 02:57:51 UTC

[jira] [Updated] (GERONIMO-6213) Geronimo TestSuite :: Deployment Testsuite :: J2CA Container Managed Security EAR fail

     [ https://issues.apache.org/jira/browse/GERONIMO-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saphen Qiu updated GERONIMO-6213:
---------------------------------

    Description: 
I got this failure while I am running testsuite(-Pit).

[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo TestSuite :: Deployment Testsuite :: J2CA Container Managed Security EAR
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target (included: [**], excluded: [])
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] [geronimo-property:set-property {execution: set-property}]
[WARNING] File .m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/1.0/geronimo-jaxws_2.2_spec-1.0.jar does not exist
[WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
[WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
[INFO] [enforcer:enforce {execution: default}]
[INFO] [ear:generate-application-xml {execution: default-generate-application-xml}]
[INFO] Generating application.xml
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [resources:testResources {execution: default}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default}]
[INFO] Compiling 1 source file to server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/test-classes
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[war:org.apache.geronimo.testsuite:jca-cms-war:3.0-w20111014] to[web.war]
[INFO] Copying artifact[rar:org.tranql:tranql-connector-derby-embed-xa:1.7] to[tranql.rar]
[INFO] Copy ear resources to /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014
[INFO] Could not find manifest file: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/application/META-INF/MANIFEST.MF - Generating one
[INFO] Building jar: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[INFO] [selenium:start-server {execution: start-selenium}]
Created dir: server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium
Launching Selenium Server
Waiting for Selenium Server...
[WARNING] OS appears to be Unix and no DISPLAY environment variable has been detected. Browser maybe unable to function correctly. Consider using the selenium:xvfb goal to enable headless operation.
[INFO] Redirecting output to: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/server.log
[INFO] User extensions: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/user-extensions.js
Selenium Server started
[INFO] [geronimo:start-server {execution: start-geronimo}]
[INFO] Using assembly configuration: server
[INFO] Using assembly artifact: :bin:3.0:provided
[INFO] Using geronimoHome: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/server
[INFO] Installing assembly...
[INFO] Expanding: server-3.0-bin.zip into /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target
[INFO] Starting Geronimo server...
[INFO] Selected option set: default
[INFO] Redirecting output to: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Waiting for Geronimo server...
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized with URL: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector, environment: {jmx.remote.credentials=[Ljava.lang.String;@568a568a}
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin restart
WARNING: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
Nov 16, 2011 3:18:33 PM RMIConnector RMIClientCommunicatorAdmin-doStop
WARNING: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.123.196.25; nested exception is: 
        java.net.ConnectException: Connection refused
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Unable to determine if the server is fully started; ignoring: java.lang.SecurityException: Invalid login
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
[INFO] Geronimo server started in 0:01:10.421
[INFO] [geronimo:deploy-module {execution: deploy-ears}]
[INFO] Using non-artifact based module archive:server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[INFO] Distributing module artifact: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using protocol=jmx, host=localhost, port=1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using JMXServiceURL with host=localhost, port=1099, secure=false
[INFO] Starting modules...
[INFO] Starting module: org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear
Deployer operation failed: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        ... 40 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
        at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
        at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
        at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
        at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
        at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
        at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)

  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
[org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
 You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
        ... 42 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to start modules: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        ... 40 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
        at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
        at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
        at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
        at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
        at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
        at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)

  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
[org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
 You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)



  was:
I got this failure while I am running testsuite(-Pit).

[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo TestSuite :: Deployment Testsuite :: J2CA Container Managed Security EAR
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target (included: [**], excluded: [])
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] [geronimo-property:set-property {execution: set-property}]
[WARNING] File /home/wasce/.m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/1.0/geronimo-jaxws_2.2_spec-1.0.jar does not exist
[WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
[WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
[INFO] [enforcer:enforce {execution: default}]
[INFO] [ear:generate-application-xml {execution: default-generate-application-xml}]
[INFO] Generating application.xml
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/resources
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [resources:testResources {execution: default}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default}]
[INFO] Compiling 1 source file to /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/test-classes
[INFO] [ear:ear {execution: default-ear}]
[INFO] Copying artifact[war:org.apache.geronimo.testsuite:jca-cms-war:3.0-w20111014] to[web.war]
[INFO] Copying artifact[rar:org.tranql:tranql-connector-derby-embed-xa:1.7] to[tranql.rar]
[INFO] Copy ear resources to /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014
[INFO] Could not find manifest file: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/application/META-INF/MANIFEST.MF - Generating one
[INFO] Building jar: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[INFO] [selenium:start-server {execution: start-selenium}]
Created dir: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium
Launching Selenium Server
Waiting for Selenium Server...
[WARNING] OS appears to be Unix and no DISPLAY environment variable has been detected. Browser maybe unable to function correctly. Consider using the selenium:xvfb goal to enable headless operation.
[INFO] Redirecting output to: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/server.log
[INFO] User extensions: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/user-extensions.js
Selenium Server started
[INFO] [geronimo:start-server {execution: start-geronimo}]
[INFO] Using assembly configuration: wasce-server
[INFO] Using assembly artifact: com.ibm.wasce.assemblies:wasce-server:zip:bin:3.0.0.1:provided
[INFO] Using geronimoHome: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/wasce-server-3.0.0.1
[INFO] Installing assembly...
[INFO] Expanding: /home/wasce/.m2/repository/com/ibm/wasce/assemblies/wasce-server/3.0.0.1/wasce-server-3.0.0.1-bin.zip into /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target
[INFO] Starting Geronimo server...
[INFO] Selected option set: default
[INFO] Redirecting output to: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Waiting for Geronimo server...
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized with URL: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector, environment: {jmx.remote.credentials=[Ljava.lang.String;@568a568a}
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin restart
WARNING: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
Nov 16, 2011 3:18:33 PM RMIConnector RMIClientCommunicatorAdmin-doStop
WARNING: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.123.196.25; nested exception is: 
        java.net.ConnectException: Connection refused
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
WARNING: Failed to check connection: java.net.ConnectException: Connection refused
Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
WARNING: stopping
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused]
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Unable to determine if the server is fully started; ignoring: java.lang.SecurityException: Invalid login
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
[org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
[INFO] Geronimo server started in 0:01:10.421
[INFO] [geronimo:deploy-module {execution: deploy-ears}]
[INFO] Using non-artifact based module archive: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[INFO] Distributing module artifact: /home/wasce/bfwork/WASCE-3.0.0.1_server/work/server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using protocol=jmx, host=localhost, port=1099
[org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using JMXServiceURL with host=localhost, port=1099, secure=false
[INFO] Starting modules...
[INFO] Starting module: org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear
Deployer operation failed: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        ... 40 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
        at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
        at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
        at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
        at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
        at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
        at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)

  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
[org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
 You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
        ... 42 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to start modules: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        ... 40 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
        at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
        at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
        at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
        at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
        at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
        at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
        at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
        at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
        at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        at java.lang.Thread.run(Thread.java:736)

  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
  The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
[org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
 You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)



    
> Geronimo TestSuite :: Deployment Testsuite :: J2CA Container Managed Security EAR fail
> --------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6213
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6213
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: testsuite
>         Environment: https://svn.apache.org/repos/asf/geronimo/server/trunk/
> geronimo-3.0-SNAPSHOT
> suse-linux 64, maven-2.2.1
>            Reporter: Saphen Qiu
>            Priority: Minor
>
> I got this failure while I am running testsuite(-Pit).
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Geronimo TestSuite :: Deployment Testsuite :: J2CA Container Managed Security EAR
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target (included: [**], excluded: [])
> [INFO] [genesis:validate-configuration {execution: default}]
> [INFO] [geronimo-property:set-property {execution: set-property}]
> [WARNING] File .m2/repository/org/apache/geronimo/specs/geronimo-jaxws_2.2_spec/1.0/geronimo-jaxws_2.2_spec-1.0.jar does not exist
> [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
> [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@19981998
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [ear:generate-application-xml {execution: default-generate-application-xml}]
> [INFO] Generating application.xml
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/resources
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO] [resources:testResources {execution: default}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] skip non existing resourceDirectory server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/test/filtered-resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default}]
> [INFO] Compiling 1 source file to server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/test-classes
> [INFO] [ear:ear {execution: default-ear}]
> [INFO] Copying artifact[war:org.apache.geronimo.testsuite:jca-cms-war:3.0-w20111014] to[web.war]
> [INFO] Copying artifact[rar:org.tranql:tranql-connector-derby-embed-xa:1.7] to[tranql.rar]
> [INFO] Copy ear resources to /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014
> [INFO] Could not find manifest file: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/main/application/META-INF/MANIFEST.MF - Generating one
> [INFO] Building jar: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
> [INFO] [selenium:start-server {execution: start-selenium}]
> Created dir: server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium
> Launching Selenium Server
> Waiting for Selenium Server...
> [WARNING] OS appears to be Unix and no DISPLAY environment variable has been detected. Browser maybe unable to function correctly. Consider using the selenium:xvfb goal to enable headless operation.
> [INFO] Redirecting output to: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/server.log
> [INFO] User extensions: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/selenium/user-extensions.js
> Selenium Server started
> [INFO] [geronimo:start-server {execution: start-geronimo}]
> [INFO] Using assembly configuration: server
> [INFO] Using assembly artifact: :bin:3.0:provided
> [INFO] Using geronimoHome: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/server
> [INFO] Installing assembly...
> [INFO] Expanding: server-3.0-bin.zip into /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target
> [INFO] Starting Geronimo server...
> [INFO] Selected option set: default
> [INFO] Redirecting output to: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
> [INFO] Waiting for Geronimo server...
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized with URL: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector, environment: {jmx.remote.credentials=[Ljava.lang.String;@568a568a}
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused]
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused]
> Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin restart
> WARNING: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused]
> Nov 16, 2011 3:18:33 PM RMIConnector RMIClientCommunicatorAdmin-doStop
> WARNING: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.123.196.25; nested exception is: 
>         java.net.ConnectException: Connection refused
> Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
> WARNING: Failed to check connection: java.net.ConnectException: Connection refused
> Nov 16, 2011 3:18:33 PM ClientCommunicatorAdmin Checker-run
> WARNING: stopping
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused]
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused]
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Unable to determine if the server is fully started; ignoring: java.lang.SecurityException: Invalid login
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
> [INFO] Geronimo server started in 0:01:10.421
> [INFO] [geronimo:deploy-module {execution: deploy-ears}]
> [INFO] Using non-artifact based module archive:server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
> [INFO] Distributing module artifact: /server/testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/target/jca-cms-ear-3.0-w20111014.ear
> [org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
> [org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Parsing URI=deployer:geronimo:jmx://localhost:1099
> [org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using protocol=jmx, host=localhost, port=1099
> [org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory] : Using JMXServiceURL with host=localhost, port=1099, secure=false
> [INFO] Starting modules...
> [INFO] Starting module: org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear
> Deployer operation failed: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
> org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
>         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:171)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>         ... 40 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
> javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
>         at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
>         at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
>         at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
>         at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
>         at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
>         at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
>         at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>         at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>         at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
>         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:171)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
> [org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
>  You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
>         ... 42 more
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to start modules: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
> org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
>         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:171)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>         ... 40 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear failed to start due to the following reasons:
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start because No LoginModules configured for test-cms-realm
> javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
>         at javax.security.auth.login.LoginContext.init(LoginContext.java:279)
>         at javax.security.auth.login.LoginContext.<init>(LoginContext.java:522)
>         at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
>         at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
>         at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
>         at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
>         at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>         at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>         at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>         at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
>         at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>         at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
>         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1438)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
>         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1276)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1378)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
>         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:171)
>         at java.security.AccessController.doPrivileged(AccessController.java:284)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>         at java.lang.Thread.run(Thread.java:736)
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper did not start.
>   The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=WebModule,name=web.war did not start because there are 4 dependent services did not start, and the first 2 are recored: 
> [org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=RoleMapper,name=RoleMapper, org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-w20111014/ear,j2eeType=JACCManager,name=JACCManager]. 
>  You might configure the system property org.apache.geronimo.gbean.runtime.max_state_reason_count to show more service names or -1 to show all the unstarted service names
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira