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 58AEF9E6F for ; Sat, 2 Jun 2012 12:42:33 +0000 (UTC) Received: (qmail 25850 invoked by uid 500); 2 Jun 2012 12:42:33 -0000 Delivered-To: apmail-openwebbeans-user-archive@openwebbeans.apache.org Received: (qmail 25797 invoked by uid 500); 2 Jun 2012 12:42:32 -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 25542 invoked by uid 99); 2 Jun 2012 12:42:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2012 12:42:32 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.139.212.166] (HELO nm7.bullet.mail.bf1.yahoo.com) (98.139.212.166) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 02 Jun 2012 12:42:25 +0000 Received: from [98.139.215.142] by nm7.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2012 12:42:04 -0000 Received: from [98.139.212.249] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2012 12:42:04 -0000 Received: from [127.0.0.1] by omp1058.mail.bf1.yahoo.com with NNFMP; 02 Jun 2012 12:42:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 160637.70532.bm@omp1058.mail.bf1.yahoo.com Received: (qmail 89333 invoked by uid 60001); 2 Jun 2012 12:42:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1338640923; bh=FVdoIK5yj8wg5+h8zlbQYK8JNdO+XdXt+Clkja9yXQo=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MNsZ5rkxg7hAQAH4hYrrUrzEYHCNMoALORm55gfDvhShMBif990yiEVtsyKi2IxJDEek0++jZg45oaTMuGl1GV56q28xcSzIW+XMUmOn1iJ4H6ZmRFdyh3fm04A0RxL3oczZrwtBeZiahgL0+eU7TC18OaHMtpOa+vTfpqyE0fU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ADfBeUhVJArAhUvknmPXlbh0BHHgIDQlSvbgEdT06wqIuh52cjnBARIx+t+1Ajmncu03Y+fcJs6VvLoClY7ZDfqviqeZFIl4uRaGc7XxH1lXwekFCrYE4WzDY6uyYE22ayxLQSP7OTTaLjCgtvNclX5dWEAoE6ELX028RJrLE6o=; X-YMail-OSG: t9kj3SsVM1lGEWG8DY12j.io1LSZvIGYXj.5uaLb.sJOZ5Y z1yzukfwAvvuyO8sdcUvfQEmkg8pZjuFpcsf5L8PMaHEPG.rlIiSaswZYwJn 6T0fiIk2xsPFRIDoWlHqW.MCQoD1452njql.IgEjJiZsefrGuxeYi3qlAfOZ asMTG2mV4iy8RoB9p_4U03xFv933icy12Kk3UrPWWOC9QMbagdL6ZYM0z7nb QJi5rDNB9ktSlt4K1XIU3ys9YIsDoePQhl994Ov.mQZ8NeYijEAw83B5yeKU nT11a0d1bP.EzxDfCPxuFzMorfvic0Vm76fPKFkIGME1IHxqKBqsN8uXns06 NaNh.15qPDjNjfZjAQ2I3vXrjMPybt1zC.eivoHyaa0WjrINZf1z8_PHIvxI J3Hpay9JvZDw9nY8PGHxw_ch6z.BTLvWRCKKnNmlAWCke4YyRND.q6rDPWXH e53SFF7vX8iaNhFb38EHEmlGr7IPgBGfPqk2r9gRmE30nBOu8cAP9WPwnhim JsCm36GV869t7JuZtaXnCzNtAbq5WElOlBW2l8FlI3xbkEFV0KHKZ7QwL7qu iDcnUDtxh.QihY_gHIcABsLrdR7nNqWg1mAc.jjVaeEH7fxJJ_79C0NlpDCx SDmIxhLiWqrQhAb2Bqkg5VCc_jfdKusHGeDt53v68Clfy3cDbUldMVkTH9ye t_L5uOk_i6vAn3RlzZurQNZvSm35K1.wrvOJUXvC9C00n47I2yg_4zi81idZ ubZV46.ENJ_9E2UK2UY4upa7qQGjR67IzOLMb2J_dok8.9fm7ndEnuOVNuSX xfPM.Pv3QSaGlp1TNS9w5PKwQp4fsM1SH3n4QPXZr4azyz.uHqARCvbkPvZW J4a4Esggt9t1R4hzE.2.cZi5GN30N5o1yd9P7OIxa183B5eMNDSchweU- Received: from [189.6.184.34] by web160402.mail.bf1.yahoo.com via HTTP; Sat, 02 Jun 2012 05:42:03 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1338603478.85978.YahooMailNeo@web160403.mail.bf1.yahoo.com> <1338640858.23984.YahooMailNeo@web160405.mail.bf1.yahoo.com> Message-ID: <1338640923.85047.YahooMailNeo@web160402.mail.bf1.yahoo.com> Date: Sat, 2 Jun 2012 05:42:03 -0700 (PDT) From: Rafael Pestano Reply-To: Rafael Pestano Subject: Re: OWB + Hibernate + Tomcat 7 To: "user@openwebbeans.apache.org" Cc: My Faces Discussion In-Reply-To: <1338640858.23984.YahooMailNeo@web160405.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Christian thanks for your reply,=0A=0Ai have already tried that and the = error is similar:http://pastebin.com/CdeC85KC=0A=0Aif i remove the dao inje= ction everything works fine, the problem is just the entitymanager injectio= n with @PersistenceContext, so i=A0think its not a OWB issue but a misconfi= guration in Hibernate stuff.=A0=0A=0AI toke a look at myfaces maven archety= pes[1] but couldnt find one using JPA/PersistenceContext.=0A=0A=0A=0A=0AAtt= , =0A=0ARafael M. Pestano=0A=0ADesenvolvedor Java Cia. de Processamento de = Dados do Rio Grande do Sul=0AGraduando em Ci=EAncia da Computa=E7=E3o UFRGS= =0Ahttp://code.google.com/p/jsf-conventions-framework/=0A=0Ahttp://rpestano= .wordpress.com=0A@realpestano=A0=0A=0A=0A=0A_______________________________= _=0ADe: Christian Kaltepoth =0APara: "user@openwebb= eans.apache.org" =0AEnviadas: S=E1bado, 2 de= Junho de 2012 4:52=0AAssunto: Re: OWB + Hibernate + Tomcat 7=0A=0A=0AI onl= y 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 som= e reason. Perhaps the implementation is missing? Do you have Hibernate Vali= dator on the classpath? You could try to add this and see if it helps.=0A= =0AChristian=0A=0A=0A=0A2012/6/2 Rafael Pestano =0A= =0AHi everyone,=0A>=0A>im trying to migrante a simple Spring crud =A0app 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:=A0http://pastebin.com/UTpuk18p=0A>=0A>the applicat= ion can be found here:=A0https://github.com/rmpestano/jsf-issuetracker-proj= ect=0A>=0A>the libs i'm deploying within my war are here:https://github.com= /rmpestano/jsf-issuetracker-project/tree/master/WebContent/WEB-INF/lib=0A>= =0A>and the class which is referred in error log is this one:=A0https://git= hub.com/rmpestano/jsf-issuetracker-project/blob/master/src/br/com/triadwork= s/issuetracker/dao/impl/UsuarioDaoImpl.java=0A>=0A>which =A0is failing to b= e injected in this bean:=A0https://github.com/rmpestano/jsf-issuetracker-pr= oject/blob/master/src/br/com/triadworks/issuetracker/controller/LoginBean.j= ava=0A>=0A>=A0=A0=0A>any help is appreciated, thanks in advance.=0A>=0A>=0A= >Att,=0A>=0A>Rafael M. Pestano=0A>=0A>Desenvolvedor Java Cia. de Processame= nto de Dados do Rio Grande do Sul=0A>Graduando em Ci=EAncia da Computa=E7= =E3o UFRGS=0A>http://code.google.com/p/jsf-conventions-framework/=0A>http:/= /rpestano.wordpress.com=0A>@realpestano=A0=0A>=0A=0A=0A-- =0AChristian Kalt= epoth=0ABlog: http://chkal.blogspot.com/=0ATwitter: http://twitter.com/chka= l=A0