Return-Path: Delivered-To: apmail-incubator-felix-commits-archive@www.apache.org Received: (qmail 33551 invoked from network); 27 Sep 2006 22:59:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 22:59:38 -0000 Received: (qmail 85993 invoked by uid 500); 27 Sep 2006 22:59:38 -0000 Delivered-To: apmail-incubator-felix-commits-archive@incubator.apache.org Received: (qmail 85979 invoked by uid 500); 27 Sep 2006 22:59:38 -0000 Mailing-List: contact felix-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-commits@incubator.apache.org Received: (qmail 85968 invoked by uid 99); 27 Sep 2006 22:59:38 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 15:59:38 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=santillan@apache.org; spf=permerror X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received-SPF: error (idunn.apache.osuosl.org: domain apache.org from 140.211.166.113 cause and error) Received: from [140.211.166.113] ([140.211.166.113:50536] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 73/A0-03285-8520B154 for ; Wed, 27 Sep 2006 15:59:37 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E12FB1A981A; Wed, 27 Sep 2006 15:59:34 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r450621 - /incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt Date: Wed, 27 Sep 2006 22:59:34 -0000 To: felix-commits@incubator.apache.org From: santillan@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20060927225934.E12FB1A981A@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: santillan Date: Wed Sep 27 15:59:34 2006 New Revision: 450621 URL: http://svn.apache.org/viewvc?view=rev&rev=450621 Log: Small quickstart guide Added: incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt Added: incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt URL: http://svn.apache.org/viewvc/incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt?view=auto&rev=450621 ============================================================================== --- incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt (added) +++ incubator/felix/trunk/org.apache.felix.jmood/QUICKSTART.txt Wed Sep 27 15:59:34 2006 @@ -0,0 +1,31 @@ +WITH ECLIPSE +If you are using eclipse: +1. Init a workspace to be maven-compatible (see maven site) +2. Run maven eclipse:eclipse to create the .project file +FOR ALL +3. Run maven install to add jmood to your M2_REPO +or just mvn package to generate the bundle in target/ +4. To test it you can just run the FelixLauncher class under +src/test/java. This creates a temporary './cache' directory for Felix. +Note that no shell is available so you can only interact with felix +remotely through JMood +5. Connect to JMood using your favorite general purpose JMX console +(for example, jconsole, bundled with java 5) or help us building one ;-) +The url is printed in the console but it should be: +-> service:jmx:rmi:///jndi/rmi://${host}:1199/server +where ${host}=your_hostname or 'localhost' if no non-loopback interface is found. + +ISSUES +- If you are using java1.4 the framework won't find the javax.management and +javax.management.remote packages so it will not resolve JMood. You can choose between Sun's reference +or mx4j (http://mx4j.sourceforge.net) implementations. Just bundle them and export those +two packages and everything should work fine. +- If running on Java 5+, JMood uses the java.lang.management PlatformMBeanServer +else (java.version<1.5.0) it creates an independent MBeanServer and +JVM MBeans are not available any more. +- MBeans for some compendium services are created if those services are available +but no static dependency is needed. +- JMood creates an RMIRegistry on port 1199, this value is hard-coded for the moment, so be sure it is free +- JMood automatically creates a policy manager with a dummy policy if none found. Note that it has not been +very much tested with *real* security, and that many management operations need AdminPermission to work fine. +