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

Hi there,

I tried a sample programme, where Server1 fetches 2 records (out of 5) from Server2 using the conversational calls in a forever loop and print them each time. However, Server1 establishes the connection with Server2 before the loop and uses the descriptor returned from tpconnect call to fetch the records and the last record is printed out of the loop and returns. This is in tpsvrinit part of Server1 code.

This scenario is working fine while fetching the records and printing them. However after printing the last record that received by Server1, it is failing with "tpsvrinit() failed with with open conversations" while returning.

Below are the details:

Can anyone please help how to solve this?

Thanks in advance.

Server1 Program where it prints last record and return(0):

printf("Server1:*************Print the Last record***************************\n");

printf ("******************Server1:Generic Structure*********************\n");

printf("Server1:gen->id = %d\n",gen->id);

printf("Server1:gen->rqst =%s\n",gen->rqst);

printf("***********************Server1Simp Structure***********************\n");

for(int i=0;i<1;i++)

{

    printf("Server1:******************Entered for loop for %d time**************\n",j);

    printf("Server1:gen->sp[%d].rollno= %d\n",i,gen->sp.rollno);

    printf("Server1:gen->sp[%d].name =%s\n",i,gen->sp.name);

    printf("Server1:gen->sp[%d].place= %s\n",i,gen->sp.place);

    printf("Server1:gen->sp[%d].end= %d\n",i,gen->sp.end);

}

printf("Server1:After while loop & about to return\n");

return(0);

}

Error in ULOG file for Server1:

111837.dtcs-ndaxdb01!exmpl1.5727.1.0: LIBTUX_CAT:6260: ERROR: tpsvrinit() failed with open conversations

111837.dtcs-ndaxdb01!exmpl1.5727.1.0: LIBTUX_CAT:522: INFO: Default tpsvrdone() function used

111837.dtcs-ndaxdb01!tmboot.5720.1.-2: 01-23-2012: tuxedo Version 11.1.1.2.0, 32-bit

Regards,

Swetha.

Edited by: 905947 on 23-Jan-2012 04:39

--友情转载




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