Hello,

I believe the issue is a dependency resolution chain, but I wouldn't have
any idea how to resolve that. After looking everywhere and trying a variety
of things, nothing has worked so far. Our weblogic bundle deploys, but when
we start the camel routes for the queues we get a ClassCastException:

10:26:38,937 | ERROR | ductMasterQueue] | faultJmsMessageListenerContainer |
139 - org.apache.servicemix.bundles.spring-jms - 3.2.14.RELEASE_1 | Could
not refresh JMS Connection for destination
'./SOAJMSModule!productMasterQueue' - retrying in 5000 ms. Cause: AOP
configuration seems to be invalid: tried calling method [public abstract
javax.jms.Connection javax.jms.ConnectionFactory.createConnection() throws
javax.jms.JMSException] on target
[weblogic.jms.client.JMSXAConnectionFactory@298f05ce]; nested exception is
java.lang.IllegalArgumentException: java.lang.ClassCastException@13fd41b

Our weblogic configuration is as follows:

<bean id="weblogic-jms" class="org.apache.camel.component.jms.JmsComponent">
        <property name="configuration">
            <bean class="org.apache.camel.component.jms.JmsConfiguration">
                <property name="connectionFactory">
                    <bean id="wmqjndiFactoryBean"
class="org.springframework.jndi.JndiObjectFactoryBean">
                        <property name="jndiName"
value="jms/b2b/B2BEventQueueConnectionFactory"/>
                        <property name="jndiTemplate">
                            <bean
class="org.springframework.jndi.JndiTemplate">
                                <property name="environment">
                                    <props>
                                        <prop
key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop>
                                        <prop
key="java.naming.provider.url">t3://localhost</prop>
                                        <prop
key="java.naming.security.principal">weblogic</prop>
                                        <prop
key="java.naming.security.credentials">weblogic</prop>
                                    </props>
                                </property>
                            </bean>
                        </property>
                        <property name="lookupOnStartup" value="false"/>
                        <property name="proxyInterface"
value="javax.jms.ConnectionFactory"/>
                    </bean>
                </property>
            </bean>
        </property>
    </bean>

So, anyone have any ideas on how to get this working?



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Issues-deploying-Weblogic-JMS-Queue-in-Servicemix-6-1-1-tp5724064.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to