camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvchoy <valerie.c...@ventyx.com>
Subject classNotFoundException when invoking listener to weblogic jms Q
Date Wed, 08 Jul 2009 00:41:11 GMT

Hi,

This is my first project in camel where I set up a very simple route from a
weblogic jms Q to a file.

My RouteBuilder.java file has the following entry:

	
from("webLogicQ:queue:PaJmsInboundSever/com.mdsi.port.paJms.defaultCISO.Req1Queue?CacheLevelName=CACHE_NONE")
.to("file://soiTest");


The webLogicQ component is set up in the camel-context.xml file as follows:

  <bean id="webLogicQ" class="org.apache.camel.component.jms.JmsComponent">
      <property name="connectionFactory" ref ="webLogicConnectionFactory" />
  </bean>
  
  <bean id="webLogicConnectionFactory"
class="org.springframework.jndi.JndiObjectFactoryBean">
      <property name="jndiName"
value="com.mdsi.port.paJms.queueConnectionFactory" />
      <property name="jndiTemplate" ref="webLogicJndiTemplate" />
  </bean>
    
  <bean id="webLogicJndiTemplate"
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://10.100.10.212:27852</prop>
		</props>
      </property>
  </bean>

However, when I start the serviceMix, I encounter the following errors. I am
not even sure which class the system has problem loading. Any help would be
very much appreciated:

2009-07-07 16:37:42,199, INFO , , ,
org.springframework.jms.listener.DefaultMessageListenerContainer - Setup of
JMS message listener invoker failed for destination
'PaJmsInboundSever/com.mdsi.port.paJms.defaultCISO.Req1Queue' - trying to
recover. Cause: weblogic.messaging.dispatcher.DispatcherException:
java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception
is: 
	org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
weblogic.jms.common.JMSException:
weblogic.messaging.dispatcher.DispatcherException:
java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception
is: 
	org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
	at
weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)
	at
weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)
	at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:2867)
	at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:2281)
	at weblogic.jms.client.WLSessionImpl.createQueue(WLSessionImpl.java:858)
	at
org.springframework.jms.support.destination.DynamicDestinationResolver.resolveQueue(DynamicDestinationResolver.java:101)
	at
org.springframework.jms.support.destination.DynamicDestinationResolver.resolveDestinationName(DynamicDestinationResolver.java:66)
	at
org.springframework.jms.support.destination.JmsDestinationAccessor.resolveDestinationName(JmsDestinationAccessor.java:100)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.createListenerConsumer(AbstractPollingMessageListenerContainer.java:219)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:305)
	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:881)
	at java.lang.Thread.run(Thread.java:619)
Caused by: weblogic.messaging.dispatcher.DispatcherException:
java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception
is: 
	org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
	at
weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:246)
	at
weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:266)
	at
weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
	... 12 more
Caused by: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested
exception is: 
	org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
	at
com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197)
	at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
	at
weblogic.messaging.dispatcher._DispatcherImpl_Stub.dispatchSyncTranFuture(Unknown
Source)
	at
weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:241)
	... 14 more
Caused by: org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed:
Maybe
	at
com.sun.corba.se.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:7784)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1013)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879)
	at
com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:249)
	at com.sun.corba.se.impl.corba.TCUtility.unmarshalIn(TCUtility.java:269)
	at com.sun.corba.se.impl.corba.AnyImpl.read_value(AnyImpl.java:559)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:739)
	at
com.sun.corba.se.impl.encoding.CDRInputStream.read_any(CDRInputStream.java:220)
	at com.sun.corba.se.impl.javax.rmi.CORBA.Util.readAny(Util.java:401)
	at javax.rmi.CORBA.Util.readAny(Util.java:92)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1919)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2216)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1223)
	at
com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
	at
com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1991)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2216)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1223)
	at
com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
	at
com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1991)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2216)
	at
com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1223)
	at
com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327)
	at
com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293)
	at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
	at
com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
	... 16 more
Caused by: java.lang.ClassNotFoundException
	... 49 more



-- 
View this message in context: http://www.nabble.com/classNotFoundException-when-invoking-listener-to-weblogic-jms-Q-tp24383673p24383673.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message