0 Replies Latest reply on Jun 25, 2006 8:51 PM by li xiaochun

    how to configure mdb-user?

    li xiaochun Newbie

      jboss's error is :
      javax.jms.JMSSecurityException: User: -1 is NOT authenticated

      this is jboss.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2e
      e/dtd/jboss_3_0.dtd">

      <enterprise-beans>

      <ejb-name>fmsdata</ejb-name>
      <jndi-name>fmsdata</jndi-name>

      <message-driven>
      <ejb-name>fmstimer</ejb-name>
      <destination-jndi-name>queue/fmsTimer</destination-jndi-name>
      <mdb-user>-1</mdb-user>
      <mdb-passwd>-1</mdb-passwd>
      <mdb-client-id>-1</mdb-client-id>
      </message-driven>
      <message-driven>
      <ejb-name>fmsopr</ejb-name>
      <destination-jndi-name>queue/fmsQueue</destination-jndi-name>
      <mdb-user>-1</mdb-user>
      <mdb-passwd>-1</mdb-passwd>
      <mdb-client-id>-1</mdb-client-id>
      </message-driven>
      </enterprise-beans>


      The mdb-user is not configure right.
      how to configure the mdb-user?
      thanks.