Access Keys:
Skip to content (Access Key - 0)









What's wrong with my RA security permissions?

Print this page

Question

I have got an RA that, when trying to connect to a MySQL database, produces the following exception:

[JDBC-RA] Database Connection Failed! com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException MESSAGE: java.lang.reflect.InvocationTargetException
STACKTRACE: java.net.SocketException: java.lang.reflect.InvocationTargetException
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:198)
...

In the descriptor oc-resource-adaptor.xml I grant 'AllPermissions'. If I change Rhino policy file and grant 'AllPermission' too, the RA works correct. Why doesn't the RA have the permissions to do this?


Answer

Register/login to use all DevPortal features - Log in | Sign up )

Adaptavist Theme Builder Powered by Atlassian Confluence