then we need to pack atinject and jcdi spec jars et al also!
There is no 'half way'! Either we package for EE6 (which is my preferred 
option) or we package for a plain tomcat installation.

There is no argument against introducing a profile which allows running on a 
naked tomcat, but since JSR-299 is part of EE6, we should also provide the 
samples in our release for this platform (means non of those jars inside the 
WARs).

LieGrue,
strub

--- On Tue, 8/31/10, Gurkan Erdogdu <gurkanerdo...@yahoo.com> wrote:

> From: Gurkan Erdogdu <gurkanerdo...@yahoo.com>
> Subject: Re: svn commit: r991165 - 
> /openwebbeans/trunk/samples/ejb-telephone/pom.xml
> To: dev@openwebbeans.apache.org
> Date: Tuesday, August 31, 2010, 7:01 PM
> EJB examples are not given neither
> for  Java EE servers or normal Jetty+Tomcat 
> etc, those examples are specific to OPenEJB + TOmcat I
> described. Therefore they 
> are different from other samples
> 
> 
> 
> ________________________________
> From: Mark Struberg <strub...@yahoo.de>
> To: dev@openwebbeans.apache.org
> Sent: Tue, August 31, 2010 8:51:25 PM
> Subject: Re: svn commit: r991165 - 
> /openwebbeans/trunk/samples/ejb-telephone/pom.xml
> 
> Hmm, I only added _1_ missing dependency, all others have
> been there already!
> 
> So we either aim to go for a EE server WAR and set _all_
> OWB jars (+ transient 
> dependencies like javassist) to provided, or we package all
> into our WARs. I'd 
> prefere the J2EE server mode! The way described below is
> somehow not fish nor 
> meat :)
> 
> This is a tweak for the next release though.
> 
> LieGrue,
> strub
> 
> 
> --- On Tue, 8/31/10, Gurkan Erdogdu <gurkanerdo...@yahoo.com>
> wrote:
> 
> > From: Gurkan Erdogdu <gurkanerdo...@yahoo.com>
> > Subject: Re: svn commit: r991165 - 
> >/openwebbeans/trunk/samples/ejb-telephone/pom.xml
> > To: dev@openwebbeans.apache.org
> > Date: Tuesday, August 31, 2010, 5:43 PM
> > Mark; this is not true; please
> > rollback 
> > 
> > As I explained lots of times how to execute ejb
> samples.
> > Such on user list
> > 
> > 
> > ________________________________
> > 
> > Hello 
> > 
> > Try to use latest 
> > version,  
> >https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.0.0-alpha-1/
> > or
> >  TRUNK.
> > 
> > Steps to run EJB Samples on Tomcat 
> > 
> > 1- Download Apache Tomcat 6, (http://tomcat.apache.org/download-60.cgi)
> > 2- Download Apache OpenEJB Tomcat WAR (openejb.war), 
> > (http://www.apache.org/dyn/closer.cgi/openejb/3.1.2/openejb.war)
> > 3- Put openejb.war to tomcat webapps/ folder
> > 4- Open http://localhost:8080/openejb and
> install
> > it
> > 5- Put following jars to Tomcat lib folder
> > 
> >     *
> geronimo-atinject_1.0_spec-1.0.jar
> >     *
> geronimo-jcdi_1.0_spec-1.0.jar
> > 
> >     *
> geronimo-interceptor_1.1_spec-1.0.jar
> >     *
> openwebbeans-spi-1.0.0-alpha-1
> > 6- From ejb-sample root
> >      mvn clean tomcat:deploy
> > 7- Open http://localhost:8080/ejb-sample
> > 8- Enjoy!
> > 9- ejb-telephone also works as same
> > 
> > --Gurkan
> > 
> > 
> > 
> > ________________________________
> > From: "strub...@apache.org"
> > <strub...@apache.org>
> > To: comm...@openwebbeans.apache.org
> > Sent: Tue, August 31, 2010 3:08:20 PM
> > Subject: svn commit: r991165 -
> > /openwebbeans/trunk/samples/ejb-telephone/pom.xml
> > 
> > Author: struberg
> > Date: Tue Aug 31 12:08:20 2010
> > New Revision: 991165
> > 
> > URL: http://svn.apache.org/viewvc?rev=991165&view=rev
> > Log:
> > we also need to bundle our spi jar
> > 
> > Modified:
> >    
> > openwebbeans/trunk/samples/ejb-telephone/pom.xml
> > 
> > Modified:
> openwebbeans/trunk/samples/ejb-telephone/pom.xml
> > URL: 
> >http://svn.apache.org/viewvc/openwebbeans/trunk/samples/ejb-telephone/pom.xml?rev=991165&r1=991164&r2=991165&view=diff
> >f
> > 
> >
> ==============================================================================
> > --- openwebbeans/trunk/samples/ejb-telephone/pom.xml
> > (original)
> > +++ openwebbeans/trunk/samples/ejb-telephone/pom.xml
> Tue
> > Aug 31 12:08:20 2010
> > @@ -91,7 +91,6 @@ under the License.
> >          
> >   
> <groupId>org.apache.openwebbeans</groupId>
> >          
> >   
> <artifactId>openwebbeans-spi</artifactId>
> >          
> >   
> <version>${project.version}</version>
> > -           
> > <scope>provided</scope>
> >          </dependency>
> > 
> >          <!-- JSF Plugin
> > -->
> > 
> > 
> 
> 



Reply via email to