Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 23104 invoked from network); 5 Dec 2008 06:10:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 06:10:46 -0000 Received: (qmail 42961 invoked by uid 500); 5 Dec 2008 06:10:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 42907 invoked by uid 500); 5 Dec 2008 06:10:57 -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 42896 invoked by uid 99); 5 Dec 2008 06:10:57 -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 22:10:57 -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 jason.dillon@gmail.com designates 209.85.142.185 as permitted sender) Received: from [209.85.142.185] (HELO ti-out-0910.google.com) (209.85.142.185) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 06:09:26 +0000 Received: by ti-out-0910.google.com with SMTP id b6so2988443tic.1 for ; Thu, 04 Dec 2008 22:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer:sender; bh=ET6HKMYGcvZcU8TKEmNHj0/cU8gigBSUrjMAol9dowE=; b=qiozUSF6ad7VS7rTFODzwpCtwz8ypBWIFMHNJYM/Ok9xhX4JWhh+9RvXbSyHigJhms SAnOzMx30fSY6LzW/IPQgiHC5YbeE5tgTqD854fhlZ+Q2YoDYZ+IGYFZzWTGUATQlyM7 BJDBMhFwSV8m10qryFb1jJaXy1z4Iek0oTbz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=exEJb2chu35ycAuBkJgThR/PHk2vEZBmrRSCzUfnwyHc2mUfkrPQgLnJh/imcJnrOv 3jwT1D4MwKxraHLmzTk6jsPjpz8Ytb2G6uyy5HgLK4Z6dKWUMugqMd/7+X3Gq2E7nDbx oKTmD0UtShYcAzWydajdw5wd/EZfmkKUJP5mg= Received: by 10.110.40.8 with SMTP id n8mr2083106tin.30.1228457411856; Thu, 04 Dec 2008 22:10:11 -0800 (PST) Received: from ?10.0.1.100? (ppp-58-11-71-181.revip2.asianet.co.th [58.11.71.181]) by mx.google.com with ESMTPS id i9sm117348tid.9.2008.12.04.22.10.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 22:10:09 -0800 (PST) Message-Id: <10C55531-42EE-46A4-9762-8EC668A8AE74@planet57.com> From: Jason Dillon To: dev@geronimo.apache.org In-Reply-To: <5eb405c70812042049x33d8095duc9af3678dfa1dc95@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: svn commit: r723242 - /geronimo/server/trunk/plugins/monitoring/agent/src/main/plan/plan.xml Date: Fri, 5 Dec 2008 13:10:04 +0700 References: <20081204083520.CD0FB238889E@eris.apache.org> <5eb405c70812042049x33d8095duc9af3678dfa1dc95@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org I was seeing something very similar the other day too. --jason On Dec 5, 2008, at 11:49 AM, Jarek Gawor wrote: > 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 @@ >> > class >> = >> "org >> .apache.geronimo.security.credentialstore.SimpleCredentialStoreImpl"> >> >> >> - >> + >> >> monitoring-user >> >> >> < >> cs:type >> >org.apache.geronimo.security.credentialstore.NameCallbackHandler> cs:type> >> - system >> - >> - >> - >> < >> cs:type >> > >> org >> .apache.geronimo.security.credentialstore.PasswordCallbackHandler> cs:type> >> - manager >> + admin >> >> >> >> >> >> + >> + monitoring-runas-realm >> + >> + >> + monitoring-runas-realm >> + >> >> + >> + > + >> class="org.apache.geronimo.security.realm.GenericSecurityRealm"> >> + monitoring-runas-realm> attribute> >> + false >> + >> + >> + >> + monitoring-runas-domain> lc:login-domain-name> >> + > class >> >org.apache.geronimo.security.credentialstore.RunAsLoginModule> lc:login-module-class> >> + > name >> = >> "principalClass >> "> >> org >> .apache.geronimo.security.realm.providers.GeronimoGroupPrincipal> lc:option> >> + admin> lc:option> >> + >> + >> + >> + >> + >> + >> + >> + >> + >> >> >> >>