× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Unable to get managed connection for jca/t24ConnectionFactoryTWS r12

  • Dereck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #22153 by Dereck
t24-ds.xml
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
<tx-connection-factory>

<jndi-name>jca/t24ConnectionFactoryTWS</jndi-name>
<rar-name>jremote-ra.ra</rar-name>
<connection-definition>com.jbase.jremote.JConnectionFactory</connection-definition>

<config-property name="host" type="java.lang.String">127.0.0.1</config-property>
<config-property name="port" type="int">20001</config-property>

<config-property name="allowInput" type="java.lang.Boolean">true</config-property>
<config-property name="env" type="java.lang.String">OFS_SOURCE=GCS</config-property>
</tx-connection-factory>
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////







*********************************************************************************************************
jboss-web.xml
*********************************************************************************************************

<resource-ref>
<res-ref-name>jca/t24ConnectionFactory</res-ref-name>
<res-type>com.jbase.jremote.JConnectionFactory</res-type>
<jndi-name>jca/t24ConnectionFactoryTWS</jndi-name>
</resource-ref>

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #22823 by ninetailfox
Hi Dereck,

Have you found out any solution for the above problem. I was also facing the same error. Thank you in advance.

Please Log in or Create an account to join the conversation.

  • Dereck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #22824 by Dereck
Yes, I managed to resolve the issue. You have to start the jbase agent based on the TWS port in the .xml file

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #22829 by ninetailfox
Hi Dereck,

Thanks you for your reply. Can you please tell me the name of the .xml file.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #22830 by ninetailfox
Hi Dereck,

Thank you for your help. Was able to find the name of the xml file - t24-ds.xml. And the jagent port ID should be with the port id of t24ConnectionFactory.

Cheers

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds