Was able to solve the issue... added the following lines in the
servicemix.xml to get rid of the issue.
<sm:executorFactory>
<bean
class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
<property name="defaultConfig">
<bean
class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="20"/>
<property name="maximumPoolSize" value="32"/>
<property name="queueSize" value="1024"/>
</bean>
</property>
</bean>
</sm:executorFactory>
Regards,
Premjith
gnodet wrote:
>
> These errors are caused by something else that makes the component stop.
> Could you check your log file for other excetions earlier ? I've already
> seen that when reaching the maximum number of open file descriiptors
> (which
> was causing the hot deployer to think all components were removed and
> uninstalling them).
>
> On 11/7/07, Premjith <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi All,
>>
>> We have a service-mix component using which we are reading the messages
>> from
>> the queue. We are using Websphere MQ 6.0. We are getting the following
>> error
>> message:
>>
>> 00:27:38,184 INFO [Draft5MQListenerBinding]
>> Draft5MQListenerBinding--onmessage
>> javax.jbi.messaging.MessagingException: DeliveryChannel has been closed.
>> at
>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeFactoryImpl.checkNotClosed
>> (MessageExchangeFactoryImpl.java:64)
>> at
>>
>> org.apache.servicemix.jbi.messaging.MessageExchangeFactoryImpl.createInOnlyExchange
>> (MessageExchangeFactoryImpl.java:109)
>> at
>> com.symcor.wir.servicemix.mq.Draft5MQListenerBinding.onMessage(
>> Draft5MQListenerBinding.java:29)
>> at
>> com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:2804)
>> at
>> com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:406)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> 2007.11.07 00:27:38 MQJMS1034E MessageListener threw:
>> com.symcor.wir.servicemix.mq.exception.Draft5MQListenerBindingException:
>> DeliveryChannel has been closed.
>>
>>
>>
>> At times we are facing another error:
>>
>> 00:59:16,392 INFO [Draft5MQListenerBinding]
>> Draft5MQListenerBinding--onmessage
>> Exception in thread "asyncDelivery0" java.lang.NoClassDefFoundError:
>> com/ibm/mq/jms/services/psk/LogMessage
>> at
>> com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:427)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> This class is present in the com.ibm.mqjms-1.0.jar, and this jar is
>> included in the classpath.
>>
>> These errors are inconsistent. We are facing these errors only once in a
>> while.
>>
>> Any pointers/solutions would be of great help.
>>
>> Thanks,
>> Premjith
>> --
>> View this message in context:
>> http://www.nabble.com/Issue%3A-DeliveryChannel-has-been-closed-tf4762846s12049.html#a13621760
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context:
http://www.nabble.com/Issue%3A-DeliveryChannel-has-been-closed-tf4762846s12049.html#a13674409
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.