on 11-21-2005 7:44 PM
Hi everybody!,
I have this code to connect to R3 System, and it works OK:
public void getPoolConnectionR3() {
try {
JCO.Pool pool = JCO.getClientPoolManager().getPool(POOL_NAME_R3);
if (pool == null)
{
JCO.addClientPool(
POOL_NAME_R3, // SID (Alias)
1000, // Max. parallel connections
client, // SAP client
usuario, // user name
password, // password
language, // language
hostName, // host name
system // system number
);
}
CnSap = JCO.getClient(POOL_NAME_R3);
CnSap.connect();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
My question is, how can I connect to a load balancing server? Any suggestion will be helpful!
Thanks
Hello Leslie,
have a look at the JCo Java Docs and you will find:
addClientPool(java.lang.String key, int max_connections, java.lang.String client, java.lang.String user, java.lang.String passwd, java.lang.String lang, java.lang.String mshost, java.lang.String r3name, java.lang.String group)
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.