Reputation: 31
I'm using tibco ems and creating TopicSubscriber on particular topic and during subscriber creation I'm getting following exception.
Exception occured while creating object:EmailVerificationAsyncConsumerjavax.jms.**JMSSecurityException: Not permitted**
at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:591)
at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:448)
at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:370)
at com.tibco.tibjms.TibjmsTopicSession.createSubscriber(TibjmsTopicSession.java:58)
at com.sybase365.mobiliser.custom.project.jms.EmailVerificationAsyncConsumer.<init>(EmailVerificationAsyncConsumer.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method).
Please suggest the way to solve this problem.
Upvotes: 1
Views: 3275
Reputation: 21389
If $sys.lookup
has secure
property, you need to grant
at least send
permission to the user.
Connect to EMS Administrator Tool and run the below command to do the same:
grant queue $sys.lookup <user_name> send
Upvotes: 1