Return-Path: Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: (qmail 69042 invoked from network); 3 Mar 2011 09:13:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 09:13:02 -0000 Received: (qmail 38743 invoked by uid 500); 3 Mar 2011 09:12:59 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 38677 invoked by uid 500); 3 Mar 2011 09:12:58 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 38663 invoked by uid 99); 3 Mar 2011 09:12:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 09:12:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 09:12:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E10AD4DE8F for ; Thu, 3 Mar 2011 09:12:36 +0000 (UTC) Date: Thu, 3 Mar 2011 09:12:36 +0000 (UTC) From: "Andreas Pieber (JIRA)" To: dev@shiro.apache.org Message-ID: <1370327998.10542.1299143556918.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <230628070.4145.1298172279139.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (SHIRO-274) Apache Karaf Features File MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SHIRO-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001932#comment-13001932 ] Andreas Pieber commented on SHIRO-274: -------------------------------------- hey guys, Since Karaf-2.2 is now finally out; any interest in applying this patch? :) Kind regards, Andreas > Apache Karaf Features File > -------------------------- > > Key: SHIRO-274 > URL: https://issues.apache.org/jira/browse/SHIRO-274 > Project: Shiro > Issue Type: New Feature > Reporter: Andreas Pieber > Fix For: 1.2.0 > > Attachments: karaf-features.patch > > > Apache Karaf is a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed. > The following patch provides a features.xml which can be used in to install Apache Shiro easily in Apache Karaf. To test the patch download apache karaf 2.2.0-SNAPSHOT (because of the used obr resolver not backward-compatible to 2.1.x; but we're going to release karaf-2.2.0 very soon anyway...) here [1] or here [2], unizp/untar; now start Karaf: > {code} > pieber@coprime [04:18:58] [~/apache-karaf-2.1.99-SNAPSHOT] > -> % ./bin/karaf > __ __ ____ > / //_/____ __________ _/ __/ > / ,< / __ `/ ___/ __ `/ /_ > / /| |/ /_/ / / / /_/ / __/ > /_/ |_|\__,_/_/ \__,_/_/ > Apache Karaf (2.1.99-SNAPSHOT) > Hit '' for a list of available commands > and '[cmd] --help' for help on a specific command. > Hit '' or 'osgi:shutdown' to shutdown Karaf. > {code} > Afterwards add the new shiro features file: > {code} > karaf@root> features:addurl mvn:org.apache.shiro/shiro-features/1.2.0-SNAPSHOT/xml/features > {code} > Now we can install the features... > {code} > karaf@root> features:install shiro-web shiro-ehcache shiro-quartz shiro-spring shiro-aspectj > {code} > ... and check if everything was installed correctly > {code} > karaf@root> list > START LEVEL 100 , List Threshold: 50 > ID State Blueprint Level Name > [ 42] [Active ] [ ] [ 60] Apache Shiro :: Core (1.2.0.SNAPSHOT) > [ 43] [Active ] [ ] [ 60] geronimo-servlet_2.5_spec (1.1.2) > [ 44] [Active ] [ ] [ 60] Jetty :: Utilities (7.2.2.v20101205) > [ 45] [Active ] [ ] [ 60] Jetty :: IO Utility (7.2.2.v20101205) > [ 46] [Active ] [ ] [ 60] Jetty :: Http Utility (7.2.2.v20101205) > [ 47] [Active ] [ ] [ 60] Jetty :: Continuation (7.2.2.v20101205) > [ 48] [Active ] [ ] [ 60] Jetty :: Server Core (7.2.2.v20101205) > [ 49] [Active ] [ ] [ 60] Jetty :: Security (7.2.2.v20101205) > [ 50] [Active ] [ ] [ 60] Jetty :: Servlet Handling (7.2.2.v20101205) > [ 51] [Active ] [ ] [ 60] Jetty :: XML utilities (7.2.2.v20101205) > [ 52] [Active ] [ ] [ 60] OPS4J Pax Web - API (1.0.1) > [ 53] [Active ] [ ] [ 60] OPS4J Pax Web - Service SPI (1.0.1) > [ 54] [Active ] [ ] [ 60] OPS4J Pax Web - Runtime (1.0.1) > [ 55] [Active ] [ ] [ 60] OPS4J Pax Web - Jetty (1.0.1) > [ 57] [Active ] [ ] [ 60] OPS4J Pax Web - Jsp Support (1.0.1) > [ 58] [Active ] [ ] [ 60] OPS4J Pax Web - Extender - WAR (1.0.1) > [ 59] [Active ] [ ] [ 60] OPS4J Pax Web - Extender - Whiteboard (1.0.1) > [ 60] [Active ] [ ] [ 60] OPS4J Pax Web - FileInstall Deployer (1.0.1) > [ 61] [Active ] [ ] [ 60] OPS4J Pax Url - war:, war-i: (1.2.5) > [ 62] [Active ] [ ] [ 60] Apache Shiro :: Web (1.2.0.SNAPSHOT) > [ 63] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: ehcache (2.3.0.1) > [ 64] [Active ] [ ] [ 60] Apache Shiro :: Support :: EHCache (1.2.0.SNAPSHOT) > [ 65] [Active ] [ ] [ 60] Commons Collections (3.2.1) > [ 66] [Active ] [ ] [ 60] Apache ServiceMix Bundles: quartz-1.6.1 (1.6.1.1) > [ 67] [Active ] [ ] [ 60] Apache Shiro :: Support :: Quartz (1.2.0.SNAPSHOT) > [ 68] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: aopalliance (1.0.0.4) > [ 69] [Active ] [ ] [ 60] Spring Core (3.0.5.RELEASE) > [ 70] [Active ] [ ] [ 60] Spring ASM (3.0.5.RELEASE) > [ 71] [Active ] [ ] [ 60] Spring Expression Language (3.0.5.RELEASE) > [ 72] [Active ] [ ] [ 60] Spring Beans (3.0.5.RELEASE) > [ 73] [Active ] [ ] [ 60] Spring AOP (3.0.5.RELEASE) > [ 74] [Active ] [ ] [ 60] Spring Context (3.0.5.RELEASE) > [ 75] [Active ] [ ] [ 60] Spring Context Support (3.0.5.RELEASE) > [ 76] [Active ] [ ] [ 60] Apache Shiro :: Support :: Spring (1.2.0.SNAPSHOT) > [ 77] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: aspectj (1.6.8.1) > [ 78] [Active ] [ ] [ 60] Apache Shiro :: Support :: AspectJ (1.2.0.SNAPSHOT) > {code} > [1] http://repository.apache.org/snapshots/org/apache/karaf/assemblies/apache-karaf/apache-karaf/2.1.99-SNAPSHOT/apache-karaf-2.1.99-SNAPSHOT.tar.gz > [2] http://repository.apache.org/snapshots/org/apache/karaf/assemblies/apache-karaf/apache-karaf/2.1.99-SNAPSHOT/apache-karaf-2.1.99-SNAPSHOT.zip -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira