[ https://issues.apache.org/jira/browse/GERONIMO-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
janel Zhang updated GERONIMO-5515: ---------------------------------- Attachment: (was: test-security-annotation-ejb.zip) > Geronimo 3.0 testsuite > testsuite/security-testsuite/test-security-annotation-ejb cannot run > correctly:No LoginModules configured for the realm > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-5515 > URL: https://issues.apache.org/jira/browse/GERONIMO-5515 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: testsuite > Affects Versions: 3.0 > Environment: OS:ubuntu 8.04 > JDK:sun 1.6.0_20 > Geronimo:3.0 Build at2010.08.09-09:46:39.619+0800 > Reporter: janel Zhang > Fix For: 3.0 > > Attachments: test-security-annotation-ejb.patch > > > The sample can run on Geronimo 2.1.5,but can not start on Geronimo 3.0 > 1.Deploy the ear. > 2.The ear can deploy but can not start. > The error is: > 2010-08-10 14:16:14,875 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="default/security-ejb-ear-3.0-SNAPSHOT/1281420951544/car?J2EEApplication=default/security-ejb-ear-3.0-SNAPSHOT/1281420951544/car,j2eeType=RoleMapper,name=RoleMapper" > javax.security.auth.login.LoginException: No LoginModules configured for > demo-properties-realm > at javax.security.auth.login.LoginContext.init(LoginContext.java:256) > at javax.security.auth.login.LoginContext.<init>(LoginContext.java:499) > at > org.apache.geronimo.security.ContextManager.login(ContextManager.java:92) > at > org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100) > at > org.apache.geronimo.security.jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager.<init>(ApplicationPrincipalRoleConfigurationManager.java:66) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952) > 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:933) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.