Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Connecting to SAP in WebSphere

Status
Not open for further replies.

slkoni

Programmer
Sep 27, 2001
2
0
0
NL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top