Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 88234 invoked from network); 5 Dec 2008 04:51:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 04:51:19 -0000 Received: (qmail 90079 invoked by uid 500); 5 Dec 2008 04:51:30 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 90030 invoked by uid 500); 5 Dec 2008 04:51:30 -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 90018 invoked by uid 99); 5 Dec 2008 04:51:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 20:51:30 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jgawor@gmail.com designates 209.85.221.18 as permitted sender) Received: from [209.85.221.18] (HELO mail-qy0-f18.google.com) (209.85.221.18) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 04:49:58 +0000 Received: by qyk11 with SMTP id 11so5626601qyk.19 for ; Thu, 04 Dec 2008 20:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=j4zKGN/nIVz56uVhBfHtq0vGR1N0RiPzeHkMLI2su+U=; b=AeE1hqMYXCbVP+ZXVHi0DHpNlcywzdK195GjJDz0HOMMehEg3Xn82rJ4tEBy+sS/OH 0nT65GWP6n5z2DzvXTZTZ1+UHTASsGUijIvr2luMLPv0j3uPBZyrnB5f2U/fJsPpIx6L qfmADsruZSgzrkyEIkYuFb0bQMsDNhivcSiHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uKFmVCpkKwET0RlNPAkO4Wp0YR3V36f3zcu42JOc+J5sgOiQWuhZfJ6r5NzSF6Sf5d M1yAP0ZC8OzBdQn1VIVZSWUZ2whqezrMy1/96cBBh1CmWnY9yForhFOrRtZxXFbi2/NL rSVnVvd9Lp5+WL4X0nRrs3iP0dBcmEV84h9iw= Received: by 10.65.237.15 with SMTP id o15mr14925389qbr.6.1228452585777; Thu, 04 Dec 2008 20:49:45 -0800 (PST) Received: by 10.65.122.10 with HTTP; Thu, 4 Dec 2008 20:49:45 -0800 (PST) Message-ID: <5eb405c70812042049x33d8095duc9af3678dfa1dc95@mail.gmail.com> Date: Thu, 4 Dec 2008 23:49:45 -0500 From: "Jarek Gawor" To: dev@geronimo.apache.org Subject: Re: svn commit: r723242 - /geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml In-Reply-To: <20081204083520.CD0FB238889E@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081204083520.CD0FB238889E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org David, I'm not sure if anybody else is seeing this but I'm unable to reliably start a server after this change. Here's the error I get (from time to time when I try to start the server): 2008-12-04 22:26:45,686 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.plugins.monitoring/agent/2.2-SNAPSHOT/car?EJBModule =org.apache.geronimo.plugins.monitoring/agent/2.2-SNAPSHOT/car,J2EEApplication=null,j2eeType=JACCManager,name=JACCManager" javax.security.auth.login.LoginException: No LoginModules configured for monitoring-runas-realm at javax.security.auth.login.LoginContext.init(LoginContext.java:256) at javax.security.auth.login.LoginContext.(LoginContext.java:499) at org.apache.geronimo.security.ContextManager.login(ContextManager.java:83) at org.apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl.getSubject(SimpleCredentialStoreImpl.java:100) at org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager.(ApplicationPolicyConfigurationManager.java:111) 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:494) at org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:882) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:272) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) Jarek On Thu, Dec 4, 2008 at 3:35 AM, wrote: > Author: djencks > Date: Thu Dec 4 00:35:20 2008 > New Revision: 723242 > > URL: http://svn.apache.org/viewvc?rev=723242&view=rev > Log: > GERONIMO-4415 Use new SimpleCredentialStore isolation features > > Modified: > geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml > > Modified: geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml > URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml?rev=723242&r1=723241&r2=723242&view=diff > ============================================================================== > --- geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml (original) > +++ geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml Thu Dec 4 00:35:20 2008 > @@ -22,6 +22,7 @@ > xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1" > xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" > + xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2" > xmlns:cs="http://geronimo.apache.org/xml/ns/credentialstore-1.0"> > > > @@ -37,7 +38,7 @@ > monitoring-credential-store > > > - geronimo-admin > + monitoring-runas-realm > monitoring-user > > > @@ -58,20 +59,43 @@ > > > > - > + > > monitoring-user > > org.apache.geronimo.security.credentialstore.NameCallbackHandler > - system > - > - > - org.apache.geronimo.security.credentialstore.PasswordCallbackHandler > - manager > + admin > > > > > > + > + monitoring-runas-realm > + > + > + monitoring-runas-realm > + > > + > + + class="org.apache.geronimo.security.realm.GenericSecurityRealm"> > + monitoring-runas-realm > + false > + > + > + > + monitoring-runas-domain > + org.apache.geronimo.security.credentialstore.RunAsLoginModule > + org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal > + admin > + > + > + > + > + > + > + > + > + > > > >