On 6/18/07, Arif Mohd <[EMAIL PROTECTED]> wrote:

Hi Snyder,
   Iam still getting the exception though i changed at both provider and
consumer level

   i have given borker url as follows in jms component

<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";
       xmlns:bescocr="http://xxx.com/bescocr_031807"; >

    <!-- START SNIPPET: consumer -->
    <jms:endpoint service="bescocr:JMSConsumer"
                  endpoint="jms"
                  role="provider"
                  destinationStyle="topic"
                  jmsProviderDestinationName="OutputTopic"
                  connectionFactory="#jmsFactory"
                  activationSpec="#activationSpec"
                  defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
/>

  <bean id="jmsFactory"
class="org.apache.activemq.pool.PooledConnectionFactory">
<property name="connectionFactory">
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"
value="tcp://localhost:61616?wireFormat.maxInactivityDuration=0"/>
</bean>
</property>
</bean>

<bean id="activationSpec"
class="org.apache.activemq.ra.ActiveMQActivationSpec">
<property name="destinationType" value="javax.jms.Topic"/>
<!-- durable subscription -->
<property name="clientId" value="myUniqueClientID"/>
<property name="subscriptionName" value="OutputTopic"/>
<property name="subscriptionDurability" value="Durable"/>
</bean>
</beans>


and at client side also i given same value as follows

ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("tcp://<ip
Address>:61616?wireFormat.maxInactivityDuration=0");

i have changed the value to more than 30 mins by giving 60000 but still iam
getting the same exception

   also please find another exception and warning iam getting reported on a
seperate thread "premature eof warning", "session closed error in
servicemix"

I've never seen anyone experience this issue with ActiveMQ. There must
be some contributing factors that we've overlooked that are causing
this error to be so consistent for you. Because the problem reported
in issue AMQ-1146 indicates that the problem occurs sometimes. What
version of Java are you using? What platform are you running?

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to