Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 70597 invoked from network); 18 Mar 2010 15:12:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Mar 2010 15:12:52 -0000 Received: (qmail 64017 invoked by uid 500); 18 Mar 2010 15:12:51 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 63971 invoked by uid 500); 18 Mar 2010 15:12:51 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 63964 invoked by uid 99); 18 Mar 2010 15:12:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 15:12:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Mar 2010 15:12:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1B376234C4B1 for ; Thu, 18 Mar 2010 15:12:28 +0000 (UTC) Message-ID: <1089364585.343421268925148105.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Mar 2010 15:12:28 +0000 (UTC) From: =?utf-8?Q?Matthias_We=C3=9Fendorf_=28JIRA=29?= To: dev@myfaces.apache.org Subject: [jira] Commented: (EXTCDI-4) transactional annotation In-Reply-To: <1053991839.424191266801268261.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EXTCDI-4?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128469= 49#action_12846949 ]=20 Matthias We=C3=9Fendorf commented on EXTCDI-4: ----------------------------------------- On deployment of these classes I get the following error (2times): SEVERE: org.apache.webbeans.exception.WebBeansConfigurationException: Bean Name:null,WebBeans Type:MANAGED,API Types:[java.lang.Object,org.apache.myfaces.codi.EntityManagerProducer],Qual= ifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]scope can not define other scope except @Dependent to inject InjectionPoint at org.apache.webbeans.container.BeanManagerImpl.validate(BeanManage= rImpl.java:1001) at org.apache.webbeans.config.BeansDeployer.validate(BeansDeployer.j= ava:346) at org.apache.webbeans.config.BeansDeployer.validateInjectionPoints(= BeansDeployer.java:301) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.jav= a:154) at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(= AbstractLifeCycle.java:120) at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startAppl= ication(WebContainerLifecycle.java:75) at org.apache.webbeans.servlet.WebBeansConfigurationListener.context= Initialized(WebBeansConfigurationListener.java:66) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHand= ler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext= .java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.j= ava:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java= :466) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6= PluginWebAppContext.java:124) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.j= ava:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollec= tion.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(Contex= tHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.j= ava:50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollec= tion.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.j= ava:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.j= ava:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.j= ava:50) at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginSer= ver.java:132) at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJet= tyMojo.java:441) at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyM= ojo.java:383) at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJet= tyRunMojo.java:210) at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java= :184) yes, the message is not easy to read, but it is basically complaining, that= the EntityManagerProducer is not having @Dependent scope (since it has @ApplicationScoped). > transactional annotation > ------------------------ > > Key: EXTCDI-4 > URL: https://issues.apache.org/jira/browse/EXTCDI-4 > Project: MyFaces CODI > Issue Type: New Feature > Reporter: Gerhard Petracek > Attachments: EntityManagerProducer.java, PersistenceContext.java,= Transactional.java, TransactionHandler.java > > > @Transactional should act like the equivalent spring annotation and it sh= ould be compatible with every custom cdi-scope. > @TransactionAttribute should be supported as well. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.