Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EA9990A7 for ; Fri, 8 Jun 2012 08:26:31 +0000 (UTC) Received: (qmail 94782 invoked by uid 500); 8 Jun 2012 08:26:29 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94285 invoked by uid 500); 8 Jun 2012 08:26:26 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 94219 invoked by uid 99); 8 Jun 2012 08:26:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2012 08:26:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 53626140B94 for ; Fri, 8 Jun 2012 08:26:23 +0000 (UTC) Date: Fri, 8 Jun 2012 08:26:22 +0000 (UTC) From: "Forrest Xia (JIRA)" To: dev@geronimo.apache.org Message-ID: <921883986.51964.1339143983347.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1998191284.2471.1337579682341.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (GERONIMO-6355) No LoginModules configured for test-cms-realm happened for jca-cms-tests testsuite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.(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.(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