geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GERONIMO-6355) No LoginModules configured for test-cms-realm happened for jca-cms-tests testsuite
Date Fri, 08 Jun 2012 08:26:22 GMT

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

Forrest Xia resolved GERONIMO-6355.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0
         Assignee: Forrest Xia

Committed revision 1347937@3.0-beta, Committed revision 1347943@trunk
                
> No LoginModules configured for test-cms-realm happened for jca-cms-tests testsuite
> ----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6355
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6355
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment, testsuite
>    Affects Versions: 3.0-beta-2
>         Environment: Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
>            Reporter: Tina Li
>            Assignee: Forrest Xia
>             Fix For: 3.0
>
>         Attachments: geronimo.log.tar.gz
>
>
> 1. Run jca-cms-tests testsuite using the command:
> mvn clean install -Pit
> 2. Test failure and the error message:
> [ERROR] Failed to execute goal org.apache.geronimo.buildsupport:geronimo-maven-plugin:3.0-beta-2-SNAPSHOT:deploy-module
(deploy-ears) on project jca-cms-ear: Failed to start modules: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear
failed
> [ERROR] org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear
failed
> [ERROR] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:726)
> [ERROR] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
> [ERROR] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> [ERROR] at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
> [ERROR] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> [ERROR] at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> [ERROR] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> [ERROR] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
> [ERROR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [ERROR] at java.lang.Thread.run(Thread.java:662)
> [ERROR] Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
> [ERROR] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
> [ERROR] at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> [ERROR] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> [ERROR] ... 41 more
> [ERROR] Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration
org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear failed to start due to the
following reasons:
> [ERROR] The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=RoleMapper,name=RoleMapper
did not start because No LoginModules configured for test-cms-realm
> [ERROR] javax.security.auth.login.LoginException: No LoginModules configured for test-cms-realm
> [ERROR] at javax.security.auth.login.LoginContext.init(LoginContext.java:256)
> [ERROR] at javax.security.auth.login.LoginContext.<init>(LoginContext.java:499)
> [ERROR] at org.apache.geronimo.security.ContextManager.login(ContextManager.java:97)
> [ERROR] at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100)
> [ERROR] at org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:56)
> [ERROR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> [ERROR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> [ERROR] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> [ERROR] at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> [ERROR] at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> [ERROR] at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> [ERROR] at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
> [ERROR] at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> [ERROR] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
> [ERROR] at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> [ERROR] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> [ERROR] at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
> [ERROR] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> [ERROR] at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
> [ERROR] at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
> [ERROR] at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> [ERROR] at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> [ERROR] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> [ERROR] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
> [ERROR] at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
> [ERROR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
> [ERROR] at sun.rmi.transport.Transport$1.run(Transport.java:159)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> [ERROR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> [ERROR] at java.lang.Thread.run(Thread.java:662)
> [ERROR] 
> [ERROR] The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=JACCManager,name=JACCManager
did not start because org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=RoleMapper,name=RoleMapper
did not start.
> [ERROR] The service J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=WebModule,name=web.war
did not start because there are 4 dependent services did not start, and the first 2 are recored:
> [ERROR] [org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=RoleMapper,name=RoleMapper,
org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear?J2EEApplication=org.apache.geronimo.testsuite/jca-cms-ear/3.0-beta-2-SNAPSHOT/ear,j2eeType=JACCManager,name=JACCManager].
> [ERROR] 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
> [ERROR] 
> [ERROR] at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
> [ERROR] ... 43 more

--
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

        

Mime
View raw message