Hi Christian thanks for your reply, i have already tried that and the error is similar:http://pastebin.com/CdeC85KC
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. Att, Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em Ciência da Computação UFRGS http://code.google.com/p/jsf-conventions-framework/ http://rpestano.wordpress.com @realpestano ________________________________ De: Christian Kaltepoth <christ...@kaltepoth.de> Para: "u...@openwebbeans.apache.org" <u...@openwebbeans.apache.org> 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. Christian 2012/6/2 Rafael Pestano <rmpest...@yahoo.com.br> 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: http://pastebin.com/UTpuk18p > >the application can be found >here: https://github.com/rmpestano/jsf-issuetracker-project > >the libs i'm deploying within my war are >here:https://github.com/rmpestano/jsf-issuetracker-project/tree/master/WebContent/WEB-INF/lib > >and the class which is referred in error log is this >one: https://github.com/rmpestano/jsf-issuetracker-project/blob/master/src/br/com/triadworks/issuetracker/dao/impl/UsuarioDaoImpl.java > >which is failing to be injected in this >bean: https://github.com/rmpestano/jsf-issuetracker-project/blob/master/src/br/com/triadworks/issuetracker/controller/LoginBean.java > > >any help is appreciated, thanks in advance. > > >Att, > >Rafael M. Pestano > >Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul >Graduando em Ciência da Computação UFRGS >http://code.google.com/p/jsf-conventions-framework/ >http://rpestano.wordpress.com >@realpestano > -- Christian Kaltepoth Blog: http://chkal.blogspot.com/ Twitter: http://twitter.com/chkal