I am having problems connecting to SAP in WebSphere using the SAP JCO Connector. It is OK when Java 2 Security is switched off but when switched on I am getting the following error:
[11/10/04 17:13:52:890 CET] 29cf0964 SecurityManag W SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to Problem Determination Guide for further information.
Permission:
jco.cpc.default_mode : access denied (java.util.PropertyPermission jco.cpc.default_mode read)
Code:
com.sap.mw.jco.rfc.MiddlewareRFC in {file:/local/bin/was5/sapjco/sapjco.jar}
My was.policy file has the entry
grant codeBase "file:${application}" {
permission java.security.AllPermission;
};
I think I may need to add something else but I am not sure what!
Can anyone help.
Thanks,
Lynne
[11/10/04 17:13:52:890 CET] 29cf0964 SecurityManag W SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to Problem Determination Guide for further information.
Permission:
jco.cpc.default_mode : access denied (java.util.PropertyPermission jco.cpc.default_mode read)
Code:
com.sap.mw.jco.rfc.MiddlewareRFC in {file:/local/bin/was5/sapjco/sapjco.jar}
My was.policy file has the entry
grant codeBase "file:${application}" {
permission java.security.AllPermission;
};
I think I may need to add something else but I am not sure what!
Can anyone help.
Thanks,
Lynne