How to close the connection session of jolt correctly_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2739 | 回复: 0   主题: How to close the connection session of jolt correctly        下一篇 
gy1680
注册用户
等级:新兵
经验:66
发帖:9
精华:0
注册:2012-12-21
状态:离线
发送短消息息给gy1680 加好友    发送短消息息给gy1680 发消息
发表于: IP:您无权察看 2014-10-10 16:50:25 | [全部帖] [楼主帖] 楼主

I have a JOLT application according to the sample from tuxedo jolt official documentation. When I directly close Eclipse or pull out the net cable without push the Tomcat close button in Eclipse console, I find that the connection session of jolt is still in the result of pclt command in tmadmin as follows: (Note: "teller" is my jolt client name)

pclt -m dcs

LMID User Name Client Name Time Status Bgn/Cmmt/Abrt

---------------

--------

-------------

dcs dcsop WSH **:**:** IDLE 0/0/0

dcs dcsop JSH 95:24:46 IDLE 0/0/0

dcs dcsop JSH 95:24:46 IDLE 0/0/0

dcs dcsop WSH **:**:** IDLE 0/0/0

dcs User.1@20001 teller 25:16:13 IDLE/W 0/0/0

dcs User.0@20001 teller 64:59:55 IDLE/W 0/0/0

dcs User.0@20001 teller 3:48:08 IDLE/W 0/0/0

dcs User.0@20001 teller 63:19:18 IDLE/W 0/0/0

dcs User.0@20001 teller 29:25:11 IDLE/W 0/0/0

dcs User.0@20001 teller 68:45:28 IDLE/W 0/0/0

dcs User.0@20001 teller 68:47:03 IDLE/W 0/0/0

dcs User.0@20001 teller 0:44:32 IDLE/W 0/0/0

dcs dcsop tmadmin 0:00:04 IDLE 0/0/0

The result is that there maybe error:

"CMDTUX_CAT:4745: ERROR: Exceeded 110% of TUXEDO System Binary Licensed User Count (36/5), BBL lockout occurs, no new clients can join the application" and "WSNAT_CAT:1356: ERROR: A lockout has occurred because of license violation".

I doubt that the connection session of jolt is in status of not alive rather than waiting to run for the next time because of not closing the Tomcat shutdown button in Eclipse console. However, from Tuxedo jolt documentation, I find that the destroy() of client is only:

public void destroy() {

    b_mgr = null;

}

There is not any other process for closing the connection session of jolt.

My question is whether there is any other method in configuration file like ubb or jolt client code to close session directly in order to decrease the session in pclt of tmadmin in correct time rather than increasing the number of jolt connection session until errors occur?

Thanks a lot.

--友情转载




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论