Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67657 invoked from network); 19 Jan 2011 06:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 06:12:07 -0000 Received: (qmail 62933 invoked by uid 500); 19 Jan 2011 06:12:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 62808 invoked by uid 500); 19 Jan 2011 06:12:05 -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 62801 invoked by uid 99); 19 Jan 2011 06:12:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 06:12:05 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 06:12:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0J6Bhbe022051 for ; Wed, 19 Jan 2011 06:11:44 GMT Message-ID: <30149734.51601295417503803.JavaMail.jira@thor> Date: Wed, 19 Jan 2011 01:11:43 -0500 (EST) From: "Shenghao Fang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-5741) java.lang.ClassCastException at JCAConnectionFactoryImpl.getManagedConnectionFactoryInstance() line: 64 In-Reply-To: <22731759.262151293006001175.JavaMail.jira@thor> 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-5741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shenghao Fang closed GERONIMO-5741. ----------------------------------- > java.lang.ClassCastException at JCAConnectionFactoryImpl.getManagedConnectionFactoryInstance() line: 64 > ------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-5741 > URL: https://issues.apache.org/jira/browse/GERONIMO-5741 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: connector > Affects Versions: 3.0-M1 > Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04) > Reporter: Shenghao Fang > Assignee: Shenghao Fang > Fix For: 3.0 > > Attachments: GERONIMO-5741.patch > > > When trying to fix the JIRA [GERONIMO-5597|https://issues.apache.org/jira/browse/GERONIMO-5597], I got an error of java.lang.ClassCastException at JCAConnectionFactoryImpl.getManagedConnectionFactoryInstance() line: 64. > The details and call stack are as follows: > java.lang.ClassCastException: org.apache.activemq.ra.ActiveMQManagedConnectionFactory cannot be cast to org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory at > JCAConnectionFactoryImpl.getManagedConnectionFactoryInstance() line: 64 > JCAResourceImpl.getOutboundFactories(String[]) line: 89 > KernelManagementHelper.getOutboundRAModules(J2EEServer, String[]) line: 146 > KernelManagementHelper.getOutboundRAModules(J2EEServer, String) line: 132 > PortletManager.getOutboundRAModules(PortletRequest, String) line: 168 > DatabasePoolPortlet.populatePoolList(PortletRequest) line: 774 > DatabasePoolPortlet.renderList(RenderRequest, RenderResponse) line: 769 > DatabasePoolPortlet.doView(RenderRequest, RenderResponse) line: 724 > DatabasePoolPortlet(GenericPortlet).doDispatch(RenderRequest, RenderResponse) line: 348 > DatabasePoolPortlet(GenericPortlet).render(RenderRequest, RenderResponse) line: 253 > DatabasePoolPortlet(BasePortlet).render(RenderRequest, RenderResponse) line: 153 > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.