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

issue with multiple environment in jboss

  • VigneshGautam
  • Visitor
  • Visitor
12 years 11 months ago #12052 by VigneshGautam
Replied by VigneshGautam on topic Re: issue with multiple environment in jboss
Hello jpb,

Long time.

What do you mean by '5.1.0 GA compiled on jdk 5 or 6'. Do we have different set of packages available from jBoss based on jdk they used to compile the application server?

Here is a weirdo. I just changed t24-ds.xml to a different port eg 20005. I removed tmp contents from jboss and restarted it. Now when I use the browser for R11 it tries to check port 20002. Same case with R12 Browser. It seems the only port, everything hits is 20002. I just dont get why this is happening?

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 11 months ago #12055 by jpb
Hi Vignesh,

I searched the R12 docs and found the part I remembered:

1.2 Dependencies

• JDK 6.

• JDBC4.0 compatible Database driver in the lib directory of application server.

• Jboss Compiled in Java 6 (for BLOB).

Note:

JBoss 4.2.3 GA and JBoss 5.1.0 GA, each comes with 2 versions as listed below:

• jdk 5 compiled jboss4.2.3GA

• jdk6 compiled jboss4.2.3GA

• jdk 5 compiled jboss5.1.0 GA

• jdk 6 compiled jboss5.1.0 GA

Jdk 6 compiled jboss 4.2.3 GA and JBoss 5.1.0 GA works fine for Secure Document Transfer.


the doc is :
tcsp.temenos.com/r12-clientuserguides/R1.../SOACUG/Content/TOCF (EE) - Enterprise Edition/UserGuide Secure DocumentTransfer-JBOSS/Table of Contents.htm

So its related to "UserGuide Secure DocumentTransfer-JBOSS"

But in the same help you can find some docs related to upgrade from 4 to 5 and even 6, have you seen them ?
tcsp.temenos.com/r12-clientuserguides/R1.../SOACUG/Content/TOCF (EE) User Guides.htm

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

  • VigneshGautam
  • Visitor
  • Visitor
12 years 11 months ago #12154 by VigneshGautam
Replied by VigneshGautam on topic Re: issue with multiple environment in jboss
thanks to all.. Now I got the multi environment setup in jBoss 5.1.0 GA finally! the culprit was t24-ds.xml actually.

Things I did

1. Download the jBoss 5.1.0 GA compiled on jdk 6.0 from Jboss website.

sourceforge.net/projects/jboss/files/JBo...GA-jdk6.zip/download

2. Deploy both R11 and R12 browser war files in deploy folder.

3. Do all the needed settings like t24-ds.xml,jboss-web.xml etc

4. Make sure t24-ds.xml carries the same attributes as set in ra.xml present in tocfT24ra-ra>META-INF>ra.xml. In my case, this was setup in ra.xml

<outbound-resourceadapter>
            <connection-definition>
                <managedconnectionfactory-class>com.temenos.tocf.t24ra.T24ManagedConnectionFactory</managedconnectionfactory-class>
                <config-property>
                    <description>Server names</description>
                    <config-property-name>hosts</config-property-name>
                    <config-property-type>java.lang.String</config-property-type>
                    <config-property-value>127.0.0.1</config-property-value>
                </config-property>
                <config-property>
                    <description>Server ports</description>
                    <config-property-name>ports</config-property-name>
                    <config-property-type>[b]java.lang.String[/b]</config-property-type>
                    <config-property-value>20002</config-property-value>
                </config-property>

How ever, t24-ds.xml had this.
<connection-factories> 
<tx-connection-factory>

      <jndi-name>jca/t24ConnectionFactoryR11</jndi-name> 
      <rar-name>tocfT24ra-ra.rar</rar-name> 
      <connection-definition>com.temenos.tocf.t24ra.T24ConnectionFactory</connection-definition> 
      <config-property name="hosts" type="java.lang.String">127.0.0.1</config-property> 
      <config-property name="ports" type="[b]int[/b]">20005</config-property>
      <config-property name="allowInput" type="java.lang.Boolean">true</config-property>

Since the type was set as int in t24-ds.xml, all my Browsers were looking at the port set in ra.xml instead of t24-ds.xml. Once I corrected t24-ds.xml to have 'java.lang.String' instead of 'int', settings in t24-ds.xml were taken and I was able to host both R11 and R12 using jboss 5.1.0 GA.

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

Time to create page: 0.045 seconds