09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Messaging Gateway Questions<br />

user. EXECUTE privilege on the object type must be granted directly to the agent<br />

user or to PUBLIC.<br />

Example 2<br />

Errors occured during processing of subscriber SUB_AQ2MQ_2<br />

oracle.mgw.common.GatewayException: [703] Failed to retrieve information for<br />

transformation mgwuser.SAMPLEADT_TO_MGW_BASIC_MSG<br />

[…Java stack trace here…]<br />

The transformation indicated in the exception may not exist. Note that the<br />

transformation parameter of dbms_mgwadm.add_subscriber specifies the name<br />

of the registered transformation and not the name of the transformation function.<br />

Example 3<br />

Errors occured during processing of subscriber SUB_AQ2MQ_2<br />

oracle.mgw.common.GatewayException: [703] Failed to retrieve information for<br />

transformation mgwuser.SAMPLEADT_TO_MGW_BASIC_MSG<br />

[…Java stack trace here…]<br />

[Linked-exception]<br />

java.sql.SQLException: "from_type" is null<br />

[…Java stack trace here…]<br />

The MGW agent user may not have EXECUTE privilege on the object type used for<br />

the from_type of the transformation indicated in the exception. It is not sufficient<br />

to grant EXECUTE to MGW_AGENT_ROLE and then grant MGW_AGENT_ROLE to the<br />

agent user. EXECUTE privilege on the object type must be granted directly to the<br />

agent user or to PUBLIC.<br />

Example 4<br />

Errors occured during processing of subscriber SUB_AQ2MQ_2<br />

oracle.mgw.common.GatewayException: [703] Failed to retrieve information for<br />

transformation mgwuser.SAMPLEADT_TO_MGW_BASIC_MSG<br />

[…Java stack trace here…]<br />

[Linked-exception]<br />

java.sql.SQLException: "to_type" is null<br />

[…Java stack trace here…]<br />

The MGW agent user may not have EXECUTE privilege on the object type used for<br />

the to_type of the transformation indicated in the exception. It is not sufficient to<br />

grant EXECUTE to MGW_AGENT_ROLE and then grant MGW_AGENT_ROLE to the<br />

Frequently Asked Questions 6-15

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

Saved successfully!

Ooh no, something went wrong!