Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 87686 invoked from network); 22 Apr 2003 22:51:06 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 22 Apr 2003 22:51:06 -0000 Received: (qmail 3925 invoked by uid 97); 22 Apr 2003 22:53:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 3918 invoked from network); 22 Apr 2003 22:53:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 22 Apr 2003 22:53:08 -0000 Received: (qmail 86820 invoked by uid 500); 22 Apr 2003 22:50:57 -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 86809 invoked from network); 22 Apr 2003 22:50:57 -0000 Received: from patan.sun.com (192.18.98.43) by daedalus.apache.org with SMTP; 22 Apr 2003 22:50:57 -0000 Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.61]) by patan.sun.com (8.9.3p2+Sun/8.9.3) with ESMTP id QAA10549 for ; Tue, 22 Apr 2003 16:51:04 -0600 (MDT) Received: from apache.org (d-usca14-133-182 [129.145.133.182]) by ha2sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id h3MMp3X14259 for ; Tue, 22 Apr 2003 15:51:04 -0700 (PDT) Message-ID: <3EA5C7EE.3020404@apache.org> Date: Tue, 22 Apr 2003 15:53:34 -0700 From: Amy Roh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: [5.0.2] New tag at the end of the week ? References: <20030422014556.36981.qmail@web9403.mail.yahoo.com> <3EA4D6D2.9050302@apache.org> <3EA58FA6.6090306@apache.org> <3EA59FD6.2000904@sun.com> <3EA5AEA3.5020404@apache.org> <3EA5C5EC.4040201@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >>>> Could you point to the JSR77 section where the mbeans are required >>>> to be >>>> in the same domain ? My understanding so far has been that the >>>> domain is >>>> not specified, and implementations can use it, for example to deal with >>>> this case, of multiple servlet engine instances running in the same >>>> j2eeServer, with the same context name and j2eeApplication. >>> >>> >>> If you look at JSR77.3.2, J2EEServer extends J2EEDomain. >>> J2EEModule(WebModule) and J2EEApplication extend J2EEDeployedObject >>> which extends J2EEServer. Therefore, all WebModules that are deployed >>> under J2EEServer should be in the same J2EEDomain. When TC is >>> integrated in AppServer, if multiple engines are created, there isn't a >>> way for the WebModules to be under same domain. They'll get deployed >>> under engine name domain not the J2EEServer, J2EEDomain from the >>> integration which is not JSR77 compliant. >> >> >> >> It's not very difficult to fix the creation of WebModule - to move it >> under >> the same domain. > > > When context is created, it inherits its domain name from its parent > engine. If we don't allow multiple engines in one domain, how can we > move it under the same domain? To clarify more...it's not right to distribute managed objects belonging to one domain and one server across multiple domain names. And we're doing that if we create more than one engine since we use engine's name as its domain for all components under it. > > >> The problem is how to figure out what Engine a WebModule belongs to, >> if you >> use JMX ( and embed ) to create it. >> Attribute is the only solution I can find - and that restricts engines >> from registering 2 webmodules with the same name. > > > We *should* restrict registering 2 webmodules with the same name, no? > >> The thing I miss is the relation between multiple engines ( and >> connectors ) >> and ears. The context name is based on .ear name, server name, and >> context >> name. How do you associate this with an engine ? >> >> >> >>> What do you think? >> >> >> >> You have a point with the J2EEDomain. IMO the solution is to fix the >> WebModule and Servlet registration. If we find how to associate them back >> to the Engine - it shouldn't be hard to implement. > > > with "parentName" (engineName) attribute? So all we have to change is > in WebModule and Servlet to include its parent objectName, right? > > Amy > >> >> Costin >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org