Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 45253 invoked from network); 10 Feb 2011 07:44:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 07:44:41 -0000 Received: (qmail 37946 invoked by uid 500); 10 Feb 2011 07:44:41 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 37659 invoked by uid 500); 10 Feb 2011 07:44:38 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 37514 invoked by uid 99); 10 Feb 2011 07:44:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 07:44:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of riceyeh@gmail.com designates 209.85.210.177 as permitted sender) Received: from [209.85.210.177] (HELO mail-iy0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 07:44:29 +0000 Received: by iyh42 with SMTP id 42so1247514iyh.22 for ; Wed, 09 Feb 2011 23:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=A/kRVxPGxV78z76vDe0tt5psAaJtZX4xyV7qZY8pBhg=; b=J1ZaSaL6T4wBcCuYSxTlqcqvv396KS/bRoLHXsEt4mzEhWFJq+GXUCLb16Biw621Ez ScSZ/9o/puPavkMnckUJhPn75mmRm8f/mSc+rfrkZ2uL+GIAP70nIoWCpzJwQG9DOx63 dPzkNPlNr2Dk6Qr8P/kTSRN7pvmMTWIxI8XDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jqPW9rdVyPyeJaElxtk4U/oqc4ZEF5qQ7GqM5E2hv0rFGAnvuGEpvvWGJKqyMn78CF jSsSq5Xhj3y0zc5dsTvT+rh3fej8jeuaHTH23a7HzumUCas8GmzZnSjtYQys0DqTKgMv DZ7ypwDGnP6cyJJJUn+PMX+vSPtcQ5TLgsk/I= MIME-Version: 1.0 Received: by 10.231.191.129 with SMTP id dm1mr11614073ibb.173.1297323848670; Wed, 09 Feb 2011 23:44:08 -0800 (PST) Received: by 10.231.194.100 with HTTP; Wed, 9 Feb 2011 23:44:08 -0800 (PST) Date: Thu, 10 Feb 2011 15:44:08 +0800 Message-ID: Subject: [KARAF] ManagedServiceFactory.updated not called From: Rice Yeh To: users@felix.apache.org Content-Type: multipart/alternative; boundary=0016363b85a028a483049be8bf69 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b85a028a483049be8bf69 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have registered a ManagedServiceFactory service in an activator: Dictionary properties = new Hashtable(); properties.put(Constants.SERVICE_PID, "xs.persistence.hibernate.session.factory"); this.hibernateConfigurationFactoryService = context.registerService( ManagedServiceFactory.class.getName(), new HibernateConfigurationFactory(), properties); Then I put a file called xs.persistence.hibernate.session.factory.cfg under the etc directory. With config:list, I can find the configuration is noticed by configuration admin service. However, why the updated method of HibernateConfigurationFactory( implementation of ManagedServiceFactory) is never called? What more should I do? Rice --0016363b85a028a483049be8bf69--