3 Replies Latest reply on Mar 11, 2005 3:56 PM by Adrian Brock

    Durable Subscription authentication error

    Amit Singh Newbie

      Hello All,

      I am getting this exception every time I try to connect to a topic using

      javax.jms.JMSSecurityException: Connection not authorized to addMessages to destination

      tcon = tconFactory.createTopicConnection("john", "needle");

      I am using Durable subscriptions which requires a userid.

      where do I specify the user id and mapp the user id with the topic

      Please help me,

      Thanks in advance