cancel
Showing results for 
Search instead for 
Did you mean: 

Caught a Connect Exception

Former Member
0 Kudos

when I use this codes below:

///////////

JCO.addClientPool(SID, // Alias for this pool

10, // Max. number of connections

s_Client, // SAP client

s_User, // userid

s_Pw, // password

s_lge, // language

s_Host, // host name

s_SysNo);

/////////////

I caught a Exception :

HTTP JVM: java.security.AccessControlException: access den

ied (java.lang.RuntimePermission setContextClassLoader)

but when i use this:

////////////

mConnection = JCO.createClient(s_Client, s_User, s_Pw, s_lge, s_Host, s_SysNo);

mConnection.connect();

///////////

I can connect to the R3 server

Could anybody tell me why?

PS:i use JCO in Domino6.5

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

domino JDK is support to 1.3

Is it a problem?

Former Member
0 Kudos

HELP~~