在Tomcat的容器上用action通過線程調用Tuxedo的DLL回單_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 660 | 回复: 1   主题: 在Tomcat的容器上用action通過線程調用Tuxedo的DLL回單        上一篇   下一篇 
couyapzgc
注册用户
等级:新兵
经验:66
发帖:3
精华:0
注册:2014-6-28
状态:离线
发送短消息息给couyapzgc 加好友    发送短消息息给couyapzgc 发消息
发表于: IP:您无权察看 2015-4-10 15:55:23 | [全部帖] [楼主帖] 楼主

注意:如果要運用java調用Tuxedo的調用,請安裝Tuxedo8.1客戶端。不然Tuxedo會調用出錯.

環境: Tuxedo8.1客戶端

 Tomcat 6.0.18

Spring 2.5

Hibernate 3.0

Structs 1.35

       自寫Dll動態鏈接庫接口

如果用java Main寫的程序,并把所有的dll放在同一目錄,調用Tuxedo能正常調用。但用在Tomcat 的容器下,就調用不正常(調用失敗),也就是出現下面的錯誤日誌:

错误编号:-1,内部错误码: 12,描述: TPESYSTEM - internal system error

Tuxedo自己產生的日誌如下:

 093454.BTGD_APP6!?proc.900.892.0: 05-22-2009: Tuxedo Version 8.1 32-bit Windows.

093454.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection

093454.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH

093454.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level

093540.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection

093540.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH

093540.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level

095121.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection

095121.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH

095121.BTGD_APP6!?proc.900.892.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level

155009.BTGD_APP6!?proc.1548.3928.0: 05-22-2009: Tuxedo Version 8.1 32-bit Windows.

155009.BTGD_APP6!?proc.1548.3928.0: GP_CAT:1345: ERROR: pif: can't load 'registry.dll'

155009.BTGD_APP6!?proc.1548.3928.0: GP_CAT:1345: ERROR: pif: can't load 'registry.dll'

155009.BTGD_APP6!?proc.1548.3928.0: LIBWSC_CAT:2011: WARN: Unable to invoke audit postop on security failure

161102.BTGD_APP6!?proc.3608.4740.0: 05-22-2009: Tuxedo Version 8.1 32-bit Windows.

161102.BTGD_APP6!?proc.3608.4740.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection

161102.BTGD_APP6!?proc.3608.4740.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH

161102.BTGD_APP6!?proc.3608.4740.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level

++++++++++++++++++++++++++++++++++++++

解決的方案:就是把DLL 文件,copy到tomcat\bin\目录下就能正常調用了。

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
联动大白
注册用户
等级:新兵
经验:79
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2018-11-3 0:30:00 | [全部帖] [楼主帖] 2  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: GP_CAT:1345

Title: ERROR: pif: cant load val

Description:

The shared library or DLL for the specified implementation could
not be loaded.


Error Id: LIBWSC_CAT:1020

Title: ERROR: Unable to obtain authentication level

Description:

An attempt to connect to the BEA TUXEDO application has failed during a tpchkauth call. There are a number of reasons this could happen. The most obvious ones are the network address, WSNADDR, is incorrect or the network device, WSDEVICE, is not specified or is incorrect. Other possibilities for this failure are the network may be down, the Workstation Listener process may not be running, or the site of the Workstation Handler may be down.


Error Id: LIBWSC_CAT:1027

Title: ERROR: Unable to connect to WSH

Description:

An attempt to connect to the TUXEDO System/T application has failed during a tpchkauth call. There are a number of reasons this could happen. The most obvious ones: the network address, WSNADDR, may be incorrect, the network device, WSDEVICE, may be incorrect or not specified. Other possibilities: the network may be down, the WSL may not be running, or the site of the WSH may be down.


Error Id: LIBWSC_CAT:1055

Title: ERROR: Unable to establish WSL connection

Description:

An attempt to connect to the Workstation Listener process failed. There are a number of reasons that could cause this problem. The address could be incorrect. Other causes could be that the Workstation Listener process is not running, the network is down, or the host machine is down.


Error Id: LIBWSC_CAT:2011

Title: WARN: Unable to invoke audit postop on security failure

Description:

A call to the audit_postop() plugin security function on
authentication failed. This call was being attempted due to a
failure return from the authentication plugin security function acquire_cred(). No audit of the failure was able to
be performed/recorded.


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



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