1 Reply Latest reply on Oct 13, 2005 5:58 AM by alexserbul

    Problem with MDB after some time, please help.

    alexserbul

      Good day!

      After some time (4 hours) after deploying simple MDB with default JMSProvider pointing to remote server in JBoss4 log begins to appear this ERROR message:

      ERROR [DLQHandler] Stopping failed DLQHandler
      org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server;
      - nested throwable: (java.io.IOException: Client is not connected) ...

      This message appears periodically.
      Here is invoker config for MDB:
      <invoker-proxy-bindings>
      <invoker-proxy-binding>
      cmd-message-driven-bean
      <invoker-mbean>default</invoker-mbean>
      <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
      <proxy-factory-config>
      CMDJMSProvider
      <!-- SSLCMDJMSProvider-->
      StdJMSPool
      <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed -->
      1
      15
      30000
      1

      10

      queue/DLQ
      10000
      0


      </proxy-factory-config>
      </invoker-proxy-binding>

      and provider config:



      CMDJMSProvider
      org.jboss.jms.jndi.JNDIProviderAdapter
      <!-- The queue connection factory -->
      XAConnectionFactory
      <!-- The topic factory -->
      XAConnectionFactory
      <!-- Connect to JNDI on the host "queuehost" port 1099-->

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jnp.interfaces
      java.naming.provider.url=***:1099




      Thank you for answer!