Return-Path: X-Original-To: apmail-openwebbeans-user-archive@www.apache.org Delivered-To: apmail-openwebbeans-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 6371A6241 for ; Wed, 27 Jul 2011 12:50:44 +0000 (UTC) Received: (qmail 42670 invoked by uid 500); 27 Jul 2011 12:50:44 -0000 Delivered-To: apmail-openwebbeans-user-archive@openwebbeans.apache.org Received: (qmail 42598 invoked by uid 500); 27 Jul 2011 12:50:42 -0000 Mailing-List: contact user-help@openwebbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@openwebbeans.apache.org Delivered-To: mailing list user@openwebbeans.apache.org Received: (qmail 42589 invoked by uid 99); 27 Jul 2011 12:50:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 12:50:41 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,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 gerhard.petracek@gmail.com designates 209.85.160.178 as permitted sender) Received: from [209.85.160.178] (HELO mail-gy0-f178.google.com) (209.85.160.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 12:50:34 +0000 Received: by gyf1 with SMTP id 1so995733gyf.9 for ; Wed, 27 Jul 2011 05:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UBFm7Ov2DKnueuep5eu/zE5eSZULxyox34DSBsiA1mc=; b=L6IBjd33NK1rnspXVhP8E1Tdt4/AM1ki7LGJ0cYC6hjBN8pjSjYyMYxzdr00Xxbl+j 4XB8w5REz5RR5ukHPKfzXu6sY3rVEqw0XgFdGenP23tc4hbEnMnjF3MvooGNGaTmIm09 p/V/pRZG7gfLvMSzKvIYWmXLYekKMX24CUCqs= Received: by 10.236.120.105 with SMTP id o69mr31518yhh.80.1311771014151; Wed, 27 Jul 2011 05:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.108.137 with HTTP; Wed, 27 Jul 2011 05:49:54 -0700 (PDT) In-Reply-To: References: From: Gerhard Petracek Date: Wed, 27 Jul 2011 14:49:54 +0200 Message-ID: Subject: Re: Plugins & Tomcat To: user@openwebbeans.apache.org Content-Type: multipart/alternative; boundary=20cf301b6681533d8e04a90c7d9d X-Virus-Checked: Checked by ClamAV on apache.org --20cf301b6681533d8e04a90c7d9d Content-Type: text/plain; charset=ISO-8859-1 hi gernot, first of all: welcome @ owb! you don't need it, if you are using tomcat only. if you would like to use the jee6 web-profile based on tomcat, you have to use the tomcat-plugin. you can use for example the myfaces archetype: mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org (select #11) and you will get a hello world application with jsf2 + owb + codi which works on servletcontainers like tomcat/jetty/... (you just have to update the version numbers in the pom file, if you would like to use the latest versions.) regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/7/27 Gernot > Is there somewhere any documentation about plugins? > > concrete questions: > I use Tomcat 7, so I add the tomcat7plugin and add className="org.apache.webbeans.web.tomcat.ContextLifecycleListener" /> > to server.xml, > do I also have to add > > org.apache.webbeans.servlet.WebBeansConfigurationListener > or does the ContextLifecycleListener the configuration stuff? > > Which plugins are required for Tomcat (and JSF2)? > > thx gernot > --20cf301b6681533d8e04a90c7d9d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi gernot,

first of all: welcome @ owb!

you don't need it, if you are using tomcat only. if you would = like to use the jee6 web-profile based on tomcat, you have to use the tomca= t-plugin.
you can use for example the myfaces archetype:
mvn archetype= :generate -DarchetypeCatalog=3Dhttp:/= /myfaces.apache.org
(select #11) and you will get a hello wor= ld application with jsf2 + owb + codi which works on servletcontainers like= tomcat/jetty/...
(you just have to update the version numbers in the pom file, if you w= ould like to use the latest versions.)

regards,
gerhard

http:/= /www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in = English and German

Professional Support for Apache MyFaces



2011/7/27 Gernot <gernot_@nurfuerspam= .de>
Is there somewhere any documentation about plugins?

concrete questions:
I use Tomcat 7, so I add the tomcat7plugin and add <Listener
className=3D"org.apache.webbeans.web.tomcat.ContextLifecycleListener&q= uot; />
to server.xml,
do I also have to add
<listener><listener-class>org.apache.webbeans.servlet.WebBeansC= onfigurationListener</listener-class></listener>
or does the ContextLifecycleListener the configuration stuff?

Which plugins are required for Tomcat (and JSF2)?

thx gernot

--20cf301b6681533d8e04a90c7d9d--