[转帖]Remote tuxedo domain rejects connection from client only Tuxedo JCA Adapter_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3826 | 回复: 0   主题: [转帖]Remote tuxedo domain rejects connection from client only Tuxedo JCA Adapter        下一篇 
boshidao1
注册用户
等级:新兵
经验:56
发帖:4
精华:0
注册:2012-12-15
状态:离线
发送短消息息给boshidao1 加好友    发送短消息息给boshidao1 发消息
发表于: IP:您无权察看 2014-10-27 14:53:38 | [全部帖] [楼主帖] 楼主

I am trying to use a client only configured Oracle tuxedo JCA Adapter 11.1.1.2.1 to connect to a remote tuxedo 10.3 domain. The connector is deployed to a JDeveloper 10.1.3.4 embedded OC4J container. The connector is failing silently when attempting to establish a connection with the remote domain. Locally, the JCA Adapter ntrace logs the following:

...

1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]> (ypjspNQ5QIPKmOyk1DlAgw==)

1/20/11:9:41:49 PM:10BG[DMLocalAccessPoint,DMLocalAccessPoint]_useSSL = false

1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]< return(10)

1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createLocalAccessPoint]TJA_0233:Info: Default local access point for factory null created, access point id ypjspNQ5QIPKmOyk1DlAgw==.

1/20/11:9:41:49 PM:10BG[TuxedoAdapterSupervisor,createLocalAccessPoint]features = 159

1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]> ()

1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]< (20) return

1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_0)

1/20/11:9:41:49 PM:10BG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==

1/20/11:9:41:49 PM:10BG[DMSession,myInit]_rap_name:e1tst_tdtux02

1/20/11:9:41:49 PM:10BG[DMSession,myInit]_pro_name:__default_session_profile__

1/20/11:9:41:49 PM:10BG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a

1/20/11:9:41:49 PM:10BG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1b75e54

1/20/11:9:41:49 PM:10BG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b

1/20/11:9:41:49 PM:10BG[DMSession,DMSession]sec = NONE

1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)

1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux02.

1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_1)

1/20/11:9:41:49 PM:10BG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==

1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux01

1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__

1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a

1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1c0f654

1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b

1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE

1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)

1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux01.

1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]create default import

1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]> (*)

1/20/11:9:41:49 PM:10:INFO[,]factory = null

1/20/11:9:41:49 PM:10:INFO[,]name = *

1/20/11:9:41:49 PM:10:INFO[,]iname = *

1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]register Default Import

1/20/11:9:41:49 PM:10:TRACE[Route,Route]> (*)

...

I can't determine if there are any problems from these log entries, but the remote tuxedo domain logs the following in the ULOG:

155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1073: ERROR: Unable to obtain remote domain id (ypjspNQ5QIPKmOyk1DlAgw==) information from shared memory

155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1509: ERROR: Error occurred during security negotiation - closing connection

My understanding is that the client only configuration should connect to a remote tuxedo domain as an anonymous client instead of a peer tuxedo domain, but the remote tuxedo gateway domain listener is acting like the client has to be configured in its dmconfig file before it will allow the connection request. Is there a different kind of listener the client only configuration should connect to instead of the tuxedo gateway domain listener? How can a remote tuxedo domain accept a connection from an anonymous client if the client must first be specified in the remote domain's dmconfig file? Is this a tuxedo 11g only feature? I'm trying to connect to a tuxedo 10.3 server.

The local ra.xml is reproduced here:

<?xml version="1.0" encoding="UTF-8"?>

<connector xmlns="http://java.sun.com/xml/ns/j2ee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee"

version="1.5">

<display-name>Tuxedo JCA Adapter</display-name>

<vendor-name>Oracle</vendor-name>

<eis-type>Tuxedo</eis-type>

<resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>

<license>

<description>Tuxedo license</description>

<license-required>false</license-required>

</license>

<resourceadapter>

<resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoClientSideResourceAdapter</resourceadapter-class>

<config-property>

<config-property-name>debugConfig</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>true</config-property-value>

</config-property>

<config-property>

<config-property-name>traceLevel</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>100000</config-property-value>

</config-property>

<config-property>

<config-property-name>xaAffinity</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>true</config-property-value>

</config-property>

<config-property>

<config-property-name>remoteAccessPointSpec</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>//tdtux01:9601/domainId=e1tst_tdtux01,//tdtux02:9601/domainId=e1tst_tdtux02</config-property-value>

</config-property>

<outbound-resourceadapter>

<connection-definition>

<managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>

<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>

<connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>

<connection-interface>javax.resource.cci.Connection</connection-interface>

<connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>

</connection-definition>

<transaction-support>NoTransaction</transaction-support>

<authentication-mechanism>

<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>

<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>

</authentication-mechanism>

<reauthentication-support>false</reauthentication-support>

</outbound-resourceadapter>

</resourceadapter>

</connector>

Thanks for any help.

Steve

--友情转载




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