Jboss 7 CICS连接错误 InteractionSpec不是ECIInteractionSpec类型。

huangapple go评论78阅读模式
英文:

Jboss 7 CICS Connectivity Error InteractionSpec is not of type ECIInteractionSpec

问题

我正在将我的 JBoss 5 迁移到 JBoss 7,使用 CICS 资源适配器配置用于 cics.rar。资源适配器的定义和配置是在 standalone-full.xml 文件中完成的。当我尝试使用 cics rar 连接到 CICS 主机的应用程序时,我遇到了以下错误。

异常日志:
com.ibm.connector2.cics.ECIInteraction 记录的异常
com.ibm.connector2.cics.CICSUserInputException: CTG9628E
在执行 execute() 时传递的 InteractionSpec 不是 ECIInteractionSpec 类型
位置:com.ibm.connector2.cics.ECIInteraction.execute(未知源)

  1. 我已经检查过传递给 execute 方法的类型只能是 ECIInteractionSpec 类型。
  2. 已经按照下面链接提供的解决方案进行了尝试,但未奏效。

https://stackoverflow.com/questions/30305842/jboss-cics-interaction-for-calling-mainframe-using-resource-adapter

非常感谢任何建议。

英文:

I am migrating my JBoss 5 to jboss 7 using cics resource adaptor configuration for the cics.rar. the resources Adopters definition and configuration is done on standalone-full.xml file. i am facing belolw error while hitting to application which is trying to connect to cics mainframe using cics rar.

Exception Logged
by:com.ibm.connector2.cics.ECIInteraction
com.ibm.connector2.cics.CICSUserInputException: CTG9628E
InteractionSpec passed to execute() not of type ECIInteractionSpec at com.ibm.connector2.cics.ECIInteraction.execute(Unknown Source)

1.I have already checked the type passed in the execute method is of ECIInteractionSpec type only
2. Have followed the solution provided on below link but it did not work .

https://stackoverflow.com/questions/30305842/jboss-cics-interaction-for-calling-mainframe-using-resource-adapter

Any suggestions much appreciated .

答案1

得分: 0

我认为这个解决方案可能适用于您的情况。https://stackoverflow.com/questions/56786915/error-executing-cics-request-while-deploying-app-into-ibm-liberty-profile

发帖者表示:“该项目已经包含了对非常旧版本的cicseci库的传递性依赖关系。我将它们排除了。”

CICS TG产品中实现的Java连接器架构(JCA)级别随着较新版本的JEE应用服务器而改变,这些版本现在支持更高级别的JCA规范。这可能是您升级的情况。

我建议您确保从安装CICS TG产品的/deployable/目录获取cicseci.rar文件,以确保您的应用程序使用与CICS TG本身支持的资源适配器版本相同的版本。

英文:

I think this solution might apply to your situation. https://stackoverflow.com/questions/56786915/error-executing-cics-request-while-deploying-app-into-ibm-liberty-profile

The poster states, "The project got included transitive dependencies to very old versions of cicseci library. I excluded them."

The Java Connector Architecture (JCA) level implemented in the CICS TG product has changed with the newer versions of JEE application servers now supporting the higher level of the JCA specification. This may be the case with your upgrade.

I would suggest that you make sure you have obtained the cicseci.rar file from the /deployable/ directory where the CICS TG product is installed to make sure that your application is using the same version of the resource adapter as is supported by the CICS TG itself.

答案2

得分: 0

以下是已翻译的内容:

我所使用的解决方案(在 wildfly 12 和 21 中有效)是将包含 cics jars 的 jboss 模块添加为 standalone-full-ha.xml 中的全局模块:

<subsystem xmlns="urn:jboss:domain:ee:5.0">
    <global-modules>
        <module name="org.jboss.cics" slot="main"/>
    </global-modules>
    .
    .
    .
    .
</subsystem>
英文:

The solution that worked for me (in wildfly 12 and 21) is to add the jboss module which contains cics jars as global module in standalone-full-ha.xml:

&lt;subsystem xmlns=&quot;urn:jboss:domain:ee:5.0&quot;&gt;
		&lt;global-modules&gt;
            &lt;module name=&quot;org.jboss.cics&quot; slot=&quot;main&quot;/&gt;
        &lt;/global-modules&gt;
        .
        .
        .
        .
&lt;/subsystem&gt;

huangapple
  • 本文由 发表于 2020年8月31日 05:21:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/63662273.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定