on 08-23-2007 4:32 PM
Hi,
I have some iview that close the connection properly and other that keep the connection open on the R/3 side. Should i be adding something else to this code?
// Close the Connection if one exists
if (connection != null) {
try {
interaction.close(); //close IInteration
connection.close(); //close IConnection
cgService.destroy(); //destroy IConnectorGatewayService
if(logger.isActive()) {
logger.log("Connection is closed", Level.INFO);
}
}
catch (Exception e) {
}
connection = null;
}
Thanks
Jean Seguin
i think it should be connection pool. Even though you close the connection, the connectors still keep them open for further access.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
or try this one..
Go to the bottom of the tutorial, you will find the configuration...
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.