3 Replies Latest reply on Dec 30, 2003 11:26 AM by adrian.brock

    HAILConnectionFactory is throwing AccessControlException

    aayyala

      Hi,
      I am using JBoss 3.2.3 and I want to use JMS in clustered environment, so I am trying to use the HAILConnectionFactory. When I try to create a TopicConnection I get the following exception.

      org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.security.AccessControlException: access denied javax.management.MBeanServerPermission: name=findMBeanServer actions=)
       at org.jboss.mq.Connection.authenticate(Connection.java:883)
       at org.jboss.mq.Connection.<init>(Connection.java:238)
       at org.jboss.mq.Connection.<init>(Connection.java:315)
       at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:60)
       at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:78)


      When I use the UIL2ConnectionFactory everything is working fine.
      Please anybody help me figure out the solution.

      thanks.