Why do I get java.security.AccessControlException when using JMS MessageListeners from Java stored procedures inside Oracle8i JServer?

Answer Posted / munnu

To use MessageListeners inside Oracle8i JServer, you can do one for the following

1. GRANT JAVASYSPRIV to <userid>

Call dbms_java.grant_permission ('JAVASYSPRIV', 'SYS:java.net.SocketPermission', '*', 'accept,connect,listen,resolve');

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does spring jms listener work?

483


Explain about JMS queue?

533


Why jms is used in java?

465


What is the purpose of jms?

499


How to check jms messages in weblogic?

466






Is kafka a jms?

465


What is administered objects in jms?

538


What are jms topics and queues?

452


What is the difference between Jms and Jvt ?

527


For sending messages through JMS, what encryption options are there?

505


How to write junit test cases for jms?

687


What is a message topic?

476


What are the different elements present in JMS?

525


What is the use of jmstemplate in spring?

457


Is activemq a jms provider?

453