Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 33149 invoked from network); 4 Oct 2004 22:52:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Oct 2004 22:52:05 -0000 Received: (qmail 23592 invoked by uid 500); 4 Oct 2004 22:51:51 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 23449 invoked by uid 500); 4 Oct 2004 22:51:50 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 23435 invoked by uid 99); 4 Oct 2004 22:51:49 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 04 Oct 2004 15:51:49 -0700 Received: (qmail 33033 invoked from network); 4 Oct 2004 22:51:47 -0000 Received: from localhost.hyperreal.org (HELO ?127.0.0.1?) (127.0.0.1) by localhost.hyperreal.org with SMTP; 4 Oct 2004 22:51:47 -0000 Message-ID: <4161D402.1050001@apache.org> Date: Tue, 05 Oct 2004 00:51:46 +0200 From: Remy Maucherat User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml References: <20041003085356.46659.qmail@minotaur.apache.org> <028c01c4aa61$b0876770$ab1b9681@AMYROH> In-Reply-To: <028c01c4aa61$b0876770$ab1b9681@AMYROH> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Amy Roh wrote: > Hi Remy, > >> Modified: . build.xml >> catalina/src/share/org/apache/catalina/core >> StandardContext.java StandardEngine.java >> mbeans-descriptors.xml >> catalina/src/share/org/apache/catalina/connector >> Connector.java >> resources/mbeans tomcat5-ant.xml >> catalina/src/share/org/apache/catalina/realm >> RealmBase.java >> webapps/docs changelog.xml >> Log: >> - Fix embed and deployer packaging. >> - Fix JMX registration of realm. >> - Fix a variety of problems in MBean names. > > >> 1.26 +18 -1 >> jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java >> >> >> Index: StandardEngine.java >> =================================================================== >> RCS file: >> /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v >> >> retrieving revision 1.25 >> retrieving revision 1.26 >> diff -u -r1.25 -r1.26 >> --- StandardEngine.java 16 Aug 2004 09:31:05 -0000 1.25 >> +++ StandardEngine.java 3 Oct 2004 08:53:56 -0000 1.26 >> @@ -404,6 +404,23 @@ >> if( !initialized ) { >> init(); >> } >> + >> + // Look for a realm - that may have been configured earlier. >> + // If the realm is added after context - it'll set itself. >> + if( realm == null ) { >> + ObjectName realmName=null; >> + try { >> + realmName=new ObjectName( domain + ":type=Realm"); >> + if( mserver.isRegistered(realmName ) ) { >> + Realm nrealm = >> (Realm)mserver.getAttribute(realmName, >> + "managedResource"); > > > I don't think Realm has "managedResource" attribute. > > Shouldn't we be moving towards getting rid of all non-serializable > attributes and return types in order to support remote access to > MBeanServer using JSR 160? It's probably not used. I don't know for sure if it does anything, all I know is that I did cut & paste from the other standard containers while I was investigating why realms weren't working with embed. R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org