Hi Nikolai!
Welcome on the owb-dev list!
Well, you need a bit more than just that.
Are you using maven? In that case please use the following fragment:
<properties>
<owb.version>1.1.4</owb.version>
</properties>
and the following dependencies
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.0_spec</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-impl</artifactId>
<version>${owb.version}</version>
</dependency>
<dependency>
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-spi</artifactId>
<version>${owb.version}</version>
</dependency>
<dependency>
<groupId>org.apache.openwebbeans</groupId>
<artifactId>openwebbeans-web</artifactId>
<version>${owb.version}</version>
</dependency>
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.12.0.GA</version>
</dependency>
That should do for now.
Are you also using JPA or JSF?
Is so, you should also add openwebbeans-resource and openwebbeans-jsf
hth!
LieGrue,
strub
>________________________________
> From: Nikolai Dokovski <[email protected]>
>To: [email protected]
>Sent: Wednesday, April 11, 2012 2:58 PM
>Subject: tomcat 7 examples with openwebbeans-1.1.4
>
>Hi,
>is there a short description on required configurations for getting sample
>application from openwebbeans project running on tomcat7? I experimented
>with the following setup
>tomcat7/lib:
>openwebbeans-spi-1.1.4.jar
>openwebbeans-tomcat7-1.1.4.jar
>
>and deployed tomcat-sample.war from samples/tomcat7-sample project. But
>the openwebbeans framework is not event initialized. The official user
>guide lacks information as the related chapters are makred as TODOs :).
>
>Is there something in addition that should be modified/configured?
>
>cheers
>
>
>