From user-return-16137-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue Jun 19 02:07:09 2012 Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F2EE9C53 for ; Tue, 19 Jun 2012 02:07:09 +0000 (UTC) Received: (qmail 72062 invoked by uid 500); 19 Jun 2012 02:07:08 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 72031 invoked by uid 500); 19 Jun 2012 02:07:08 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 72024 invoked by uid 99); 19 Jun 2012 02:07:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 02:07:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Collins-Solutions@austin.rr.com designates 71.74.56.122 as permitted sender) Received: from [71.74.56.122] (HELO hrndva-omtalb.mail.rr.com) (71.74.56.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 02:07:00 +0000 X-Authority-Analysis: v=2.0 cv=NbpkJh/4 c=1 sm=0 a=NjzueLXEFL+JvenYoLnPsQ==:17 a=NLKF_CLTfucA:10 a=eFosVe0FMc8A:10 a=05ChyHeVI94A:10 a=ayC55rCoAAAA:8 a=mV9VRH-2AAAA:8 a=jinb9UDzQYacoFb8k2sA:9 a=wPNLvfGTeEIA:10 a=pGLkceISAAAA:8 a=RxNP90Dsxp0x3qjQvg4A:9 a=_W_S_7VecoQA:10 a=tXsnliwV7b4A:10 a=NjzueLXEFL+JvenYoLnPsQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 70.114.157.140 Received: from [70.114.157.140] ([70.114.157.140:34982] helo=[192.168.1.116]) by hrndva-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 0E/19-22753-FAEDFDF4; Tue, 19 Jun 2012 02:06:40 +0000 Message-ID: <4FDFDEBB.1000705@austin.rr.com> Date: Mon, 18 Jun 2012 21:06:51 -0500 From: Russell Collins Organization: Collins Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: user@geronimo.apache.org CC: Ivan Subject: Re: JSF Dependencies References: <4FDFCB4F.70904@austin.rr.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------000804080808060103090502" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------000804080808060103090502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ok maybe I need to explain a little better. Primefaces is basically a component library that sits on top of a JSF implementation similar to Apache MyFaces Tomahawk. In Geronimo, the JSF implementation is MyFaces. Primefaces would not work at all if it did not have a JSF implementation (MyFaces, Mojorra). I have installed the Primefaces jar file in Geronimo successfully. I am now just trying to references this component library that has already been installed. I hope that clears up what I am trying to do. On 06/18/2012 08:28 PM, Ivan wrote: > Currently, with Geronimo 3.0-beta, the version shipped from MyFaces is > 2.0.9.1, so it could not match the requirement for primefaces > [2.1.0,3.0.0) > > 2012/6/19 Russell Collins > > > I am trying to add Primefaces to the Geronimo Installation and > then reference that Primefaces Jar in my war file. However, when > I do this, I get an error that says > > org.osgi.framework.BundleException: The bundle > "org.primefaces_3.3.1 [377]" could not be resolved. Reason: > Missing Constraint: Import-Package: javax.faces; > version="[2.1.0,3.0.0)" > > My geronimo-web.xml file looks like this. > > > > > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > > com.acc > acc-web > 1.0-SNAPSHOT > war > > > > org.apache.geronimo.bundles > myfaces-bundle > 2.0.9_1 > jar > > > org.primefaces > primefaces > 3.3.1 > jar > > > > acc > > > The assembly has been installed successfully. What am I missing? > I would really like to include the JSF implementation library > with the Geronimo install as opposed to having to include it in my > .war file. > > Thank you > > -- > > Russell > > > > > -- > Ivan -- Russell Collins Collins-Solutions@austin.rr.com --------------000804080808060103090502 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ok maybe I need to explain a little better.  Primefaces is basically a component library that sits on top of a JSF implementation similar to Apache MyFaces Tomahawk.  In Geronimo, the JSF implementation is MyFaces.  Primefaces would not work at all if it did not have a JSF implementation (MyFaces, Mojorra).

I have installed the Primefaces jar file in Geronimo successfully.  I am now just trying to references this component library that has already been installed.  I hope that clears up what I am trying to do.

On 06/18/2012 08:28 PM, Ivan wrote:
Currently, with Geronimo 3.0-beta, the version shipped from MyFaces is 2.0.9.1, so it could not match the requirement for primefaces [2.1.0,3.0.0)

2012/6/19 Russell Collins <Collins-Solutions@austin.rr.com>
I am trying to add Primefaces to the Geronimo Installation and then reference that Primefaces Jar in my war file.  However, when I do this, I get an error that says

org.osgi.framework.BundleException: The bundle "org.primefaces_3.3.1 [377]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.faces; version="[2.1.0,3.0.0)"

My geronimo-web.xml file looks like this.


<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <dep:moduleId>
            <dep:groupId>com.acc</dep:groupId>
            <dep:artifactId>acc-web</dep:artifactId>
            <dep:version>1.0-SNAPSHOT</dep:version>
            <dep:type>war</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>org.apache.geronimo.bundles</dep:groupId>
                <dep:artifactId>myfaces-bundle</dep:artifactId>
                <dep:version>2.0.9_1</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>org.primefaces</dep:groupId>
                <dep:artifactId>primefaces</dep:artifactId>
                <dep:version>3.3.1</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    <context-root>acc</context-root>   
</web-app>

The assembly has been installed successfully.  What am I missing?  I would really like to include the JSF implementation library with the Geronimo install as opposed to having to include it in my .war file.  

Thank you
-- 

Russell



--
Ivan


-- 

Russell Collins
Collins-Solutions@austin.rr.com
--------------000804080808060103090502--