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


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.

Reply via email to