Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CC4D7D54 for ; Mon, 19 Dec 2011 09:30:55 +0000 (UTC) Received: (qmail 83640 invoked by uid 500); 19 Dec 2011 09:30:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 83425 invoked by uid 500); 19 Dec 2011 09:30:53 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 83418 invoked by uid 99); 19 Dec 2011 09:30:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 09:30:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 09:30:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C01BE11B990 for ; Mon, 19 Dec 2011 09:30:30 +0000 (UTC) Date: Mon, 19 Dec 2011 09:30:30 +0000 (UTC) From: "Tina Li (Updated) (JIRA)" To: dev@geronimo.apache.org Message-ID: <1381446394.25598.1324287030788.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <114414918.25567.1324286790705.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (GERONIMO-6235) "java.lang.ClassCastException" happened when deployed jsf sample from openwebbeans MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tina Li updated GERONIMO-6235: ------------------------------ Attachment: jsf2sample.war jsf2sample-sources.jar > "java.lang.ClassCastException" happened when deployed jsf sample from openwebbeans > ---------------------------------------------------------------------------------- > > Key: GERONIMO-6235 > URL: https://issues.apache.org/jira/browse/GERONIMO-6235 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: myfaces > Affects Versions: 3.0-beta-1 > Environment: JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled) > Reporter: Tina Li > Priority: Minor > Attachments: jsf2sample-sources.jar, jsf2sample.war > > > 1.Download geronimo server: > http://mirror.bjtu.edu.cn/apache//geronimo/3.0-beta-1/geronimo-tomcat7-javaee6-3.0-beta-1-bin.tar.gz > 2.Unzip and started server successfully > 3.Deploy jsf2sample downloaded from openwebbeans site: > http://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.2/samples > 4.But found this sample can't be deployed and problem happened: > 2011-12-19 15:50:32,470 ERROR [DeploymentPortlet] The application was not deployed. > Unable to initialize GBean for web app jsf2sample > org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for web app jsf2sample > at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:733) > at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174) > at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:611) > at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:736) > Caused by: java.lang.ClassCastException: org.apache.myfaces.spi.impl.DefaultFacesConfigurationMergerFactory incompatible with org.apache.myfaces.spi.FacesConfigurationMergerFactory > at org.apache.myfaces.spi.FacesConfigurationMergerFactory.getFacesConfigurationMergerFactory(FacesConfigurationMergerFactory.java:74) > at org.apache.geronimo.myfaces.deployment.MyFacesModuleBuilderExtension.addGBeans(MyFacesModuleBuilderExtension.java:276) > at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:700) > ... 15 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira