openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Pestano <>
Subject Re: OWB + Hibernate + Tomcat 7
Date Sat, 02 Jun 2012 12:42:03 GMT
Hi Christian thanks for your reply,

i have already tried that and the error is similar:

if i remove the dao injection everything works fine, the problem is just the entitymanager
injection with @PersistenceContext, so i think its not a OWB issue but a misconfiguration
in Hibernate stuff. 

I toke a look at myfaces maven archetypes[1] but couldnt find one using JPA/PersistenceContext.


Rafael M. Pestano

Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
Graduando em Ciência da Computação UFRGS

De: Christian Kaltepoth <>
Para: "" <> 
Enviadas: Sábado, 2 de Junho de 2012 4:52
Assunto: Re: OWB + Hibernate + Tomcat 7

I only had a quick look at the stacktrace, but it looks like Hibernate is trying to use the
Bean Validation API and the bootstrapping process fails for some reason. Perhaps the implementation
is missing? Do you have Hibernate Validator on the classpath? You could try to add this and
see if it helps.


2012/6/2 Rafael Pestano <>

Hi everyone,
>im trying to migrante a simple Spring crud  app to OWB running in tomcat 7.0.27, CDI
container starts without problems but im facing some problems with Hibernate, here is the
startup log + error when i access the login page:
>the application can be found here:
>the libs i'm deploying within my war are here:
>and the class which is referred in error log is this one:
>which  is failing to be injected in this bean:
>any help is appreciated, thanks in advance.
>Rafael M. Pestano
>Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
>Graduando em Ciência da Computação UFRGS

Christian Kaltepoth

View raw message