09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Internet Access Questions<br />

Why doesn't AQ_ADMINISTRATOR_ROLE or AQ_USER_ROLE always<br />

work for AQ applications using Java/JMS API?<br />

In addition to granting the roles, you would also need to grant execute to the user<br />

on the following packages:<br />

grant execute on sys.dbms_aqin to <br />

grant execute on sys.dbms_aqjms to <br />

Why do I get java.security.AccessControlException when using JMS<br />

MessageListeners from Java stored procedures inside <strong>Oracle</strong>8i<br />

JServer?<br />

To use MessageListeners inside <strong>Oracle</strong>8i JServer, you can do one for the following<br />

1. GRANT JAVASYSPRIV to <br />

Call dbms_java.grant_permission ('JAVASYSPRIV',<br />

'SYS:java.net.SocketPermission', '*',<br />

'accept,connect,listen,resolve');<br />

Internet Access Questions<br />

What is IDAP?<br />

IDAP is Internet Data Access Presentation. IDAP defines the message structure for<br />

the body of a SOAP request. An IDAP message encapsulates the AQ request and<br />

response in XML. IDAP is used to perform AQ operations such as enqueue,<br />

dequeue, send notifications, register for notifications, and propagation over the<br />

Internet standard transports—HTTP(s) and e-mail. In addition, IDAP encapsulates<br />

transactions, security, transformation, and the character set ID for requests.<br />

Which Web servers are supported for AQ Internet access functionality?<br />

Do I have to use Apache or can I use any Web server? Which servlet<br />

engines are supported for AQ Internet access? Can I use Tomcat?<br />

Internet access functionality for AQ is supported on Apache. This feature is certified<br />

to work with Apache, along with the Tomcat or Jserv servlet execution engines.<br />

However, the code does not prevent the servlet from working with other Web<br />

server and servlet execution engines that support Java Servlet 2.0 or higher<br />

interfaces.<br />

Frequently Asked Questions 6-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!