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



Why do I get java.security.AccessControlException when using JMS MessageListeners from Java stored p..

Answer / 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

More JMS Interview Questions

Can we use jms for sending automated e-mails?

0 Answers  


What is the use of jms?

0 Answers  


Is jmstemplate thread safe?

0 Answers  


Can JMS utilities automatically re-establish a connection if one side of the communication link (i.e. an application that's sending/receiving messages) goes down and is restarted? Are there APIs to help detect that the other side broke a connection (went down)?

1 Answers  


What is the publish-and-subscribe model in jms?

0 Answers  






What is a topic?

0 Answers  


Detail about the features of publish model?

0 Answers  


What are the types of messages that are supported by JMS?

0 Answers  


How do I configure jdbc so that the jms jdbc store recovers automatically?

0 Answers  


How the jms is different from rpc?

0 Answers  


What is the difference between Jms and Jvt ?

0 Answers   Tech Mahindra,


Why jms is used in java?

0 Answers  


Categories