Version 8

    This page IS OUT OF DATE and no longer relevant


    Error creating the dlq connection exception when deploying EJB3 MDB


    If you deploy an EJB3 Message-Driven Bean (MDB) for use with a co-located messaging service (in same application server as the EJB), you might encounter a 'Error creating dlq connection' exception, such as:


    14:10:19,400 WARN  [MDB] JMS provider failure detected:
    javax.jms.JMSException: Error creating the dlq connection: null
            at org.jboss.ejb3.mdb.DLQHandler.createService(
            at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(
            at org.jboss.system.ServiceMBeanSupport.create(


    If this happens, check the EJB jar file and make sure that it does not contain a file.


    The root cause of this problem is a "No ClassLoader found for: javax.jms.Queue" exception.


    See also if you only see this error when your messaging server is on Unix platform but not on Windows. You might need to change /etc/hosts settings to:


    the_server_ip               your_server_name