You are on page 1of 19

How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

How to Configure Batch File Listener with JBOSS


Explore product details, discuss issues, find the latest news, and
contribute to best practices.

How to (/s/how-to)  >  How to Configure Batch File Listener with JBOSS

   Rate    Like    Bookmark

(/s/profile/0056A000000izetQAA) How to Configure Batch File Listener with JBOSS


Vinay Jain - Admin (/s/profile/0056A000000izetQAA)  •  Apr 26, 2021  •  Technology > Core-Tech > Temenos Connectors (TC)

      17

How to Configure Batch File Listener with JBOSS

Setup Listeners using JBoss in R13


Deployment of Components in Jboss
Kindly make ensure that the following files are present under the path (…\jboss5.1.0.GA\server\default\deploy).
1.         tocfT24ra-ra.rar
2.         t24-ds.xml                              
3.         t24-destinations-service.xml     
4.         tocfOFSmessage-ejb.jar (present in the tocfee.ear)
5.          tocflistener-ejb.jar (present in the tocfee.ear)
6.         tocfplugin-ra.rar (present in the tocfee.ear)
7.         tocfcommon.jar (present in the tocfee.ear)
7.         BrowserWeb.war (for browser environment)
The components will get deployed once the JBoss is started.

Configuration of the Files

1 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 1: Create two jca/t24ConnectionFactory's in the t24-ds.xml for setup both browser and listeners.
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<?xml version="1.0" encoding="UTF-8"?>

<!-- ================================================================================ -->

<!-- -->

<!-- JBoss Server Configuration -->

<!-- -->

<!-- jRemote resource adapter deployment for JBoss, configured for local connection -->

<!-- -->

<!-- ================================================================================ -->

<connection-factories>

<!-- Batch File LISTENER CONNECTION FACTORY -->

<tx-connection-factory>

<jndi-name>jca/t24ConnectionFactoryBFL</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="java.lang.String">9902</config-property>

<config-property name="loadBalancing" type="java.lang.Boolean">true</config-property>

<config-property name="allowInput" type="java.lang.Boolean">true</config-property>

<config-property name="compression" type="java.lang.Boolean">true</config-property>

<config-property name="compressionThreshold" type="java.lang.Integer">2048</config-property>

<config-property name="envVariables" type="java.lang.String">OFS_SOURCE=TELNET</config-property>

<config-property name="actionTimeout" type="java.lang.Integer">90</config-property>

<config-property name="charset" type="java.lang.String">UTF-8</config-property>

<min-pool-size>6</min-pool-size>

2 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

<max-pool-size>10</max-pool-size>
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<idle-timeout-minutes>15</idle-timeout-minutes>

<!-- <config-property name="debugPort" type="java.lang.Integer">30097</config-property>

<config-property name="SSL" type="java.lang.Boolean">true</config-property>

<config-property name="NaiveTrustManager" type="java.lang.Boolean">true</config-property>

<config-property name="account" type="java.lang.String">MYACCOUNT</config-property>

<config-property name="user" type="java.lang.String">test</config-property>

<config-property name="password" type="java.lang.String">account_password</config-property> -->

</tx-connection-factory>

</connection-factories>

3 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 2: Create queues separately to store browser and listener requests in the t24-destinations-service.xml file.
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->

<!--

| This file defines the default Queues and Topics that JBossMQ

| ships with. The default Queues and Topics are used by the

| JBoss test suite and by the sample jms programs.

| You can add other destinations to this file, or you can create other

| *-service.xml files to contain your application's destinations.

-->

<server>

<!-- Destination without a configured SecurityManager or without a

a SecurityConf will default to role guest with read=true, write=true,

create=false.

-->

<mbean code="org.jboss.mq.server.jmx.Queue"

name="jboss.mq.destination:service=Queue,name=t24OFSQueueBFL">

<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

</mbean>

<mbean code="org.jboss.mq.server.jmx.Queue"

name="jboss.mq.destination:service=Queue,name=t24OFSReplyQueueBFL">

<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>

</mbean>

</server>

4 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 3: In ejb-jar.xml present under the tocfOFSmessage-ejb.jar (…\jboss5.1.0.GA\server\default\deploy\ tocfee.ear\tocfOFSmessage-ejb.jar\META-INF\), create


((//ss//)) C
Coom
mmmuun
niittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
a Message-driven bean separately for browser and listener.

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

<ejb-jar id="EJBJar_OfsMessageMDB" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocat


ion="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">

<display-name>OFSMessage</display-name>

<enterprise-beans>

<message-driven id="MessageDriven_OfsMessageMDBBFL">

<display-name>OFSMessage Bean</display-name>

<ejb-name>OFSMessageMDBBFL</ejb-name>

<ejb-class>com.temenos.tocf.ofsmessage.mdb.OFSMessageMDB</ejb-class>

<messaging-type>javax.jms.MessageListener</messaging-type>

<transaction-type>Bean</transaction-type>

<message-destination-type>javax.jms.Queue</message-destination-type>

<activation-config>

<activation-config-property>

<activation-config-property-name>acknowledgeMode</activation-config-property-name>

<activation-config-property-value>Auto-acknowledge</activation-config-property-value>

</activation-config-property>

</activation-config>

<resource-ref id="ResourceRef_jmsQueueConnectionFactoryBFL">

<description>T24 Queue Connection Factory</description>

<res-ref-name>jms/jmsConnectionFactory</res-ref-name>

<res-type>javax.jms.QueueConnectionFactory</res-type>

<res-auth>Container</res-auth>

5 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

</resource-ref>

((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<resource-ref id="ResourceRef_t24ConnectionFactoryBFL">

<description>T24 JCA Connection Factory</description>

<res-ref-name>eis/t24ConnectionFactory</res-ref-name>

<res-type>com.temenos.tocf.t24ra.T24ConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref id="ResourceRef_t24OFSReplyQueueBFL">

<description>OFS reply queue</description>

<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

<res-type>javax.jms.Queue</res-type>

<res-auth>Container</res-auth>

</resource-ref>

</message-driven>

</enterprise-beans>

<!--

<assembly-descriptor>

<security-role>

<role-name>t24user</role-name>

</security-role>

<method-permission>

<role-name>t24user</role-name>

<method>

<ejb-name>OFSMessageMDB</ejb-name>

<method-name>*</method-name>

6 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

</method>
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

</method-permission>

</assembly-descriptor>

-->

</ejb-jar>

7 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 4: In jboss.xml present under the tocfOFSmessage-ejb.jar (…\jboss5.1.0.GA\server\default\deploy\ tocfee.ear\tocfOFSmessage-ejb.jar\META-INF\), map the q
((//ss/to
ueue names and connection factories /)) theirC
Coommmmuun
niittyyresource LLe
respective eaarrn
n
reference PPrro
definedodduucctejb-jar.xml
in tss TTrra
aiin
niin
ngg
file(which D
Doow
wnnllo
is present oaad
dss tocfee.ear\tocfOFSmessage-ejb.ja
under SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
r\META-INF).

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

<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"

"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

<jboss>

<!--

<security-domain>java:/jaas/T24App</security-domain>

-->

<enterprise-beans>

<message-driven>

<ejb-name>OFSMessageMDBBFL</ejb-name>

<destination-jndi-name>queue/t24OFSQueueBFL</destination-jndi-name>

<resource-ref>

<res-ref-name>jms/jmsConnectionFactory</res-ref-name>

<jndi-name>java:/ConnectionFactory</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

<!-- <res-type>javax.jms.Queue</res-type>

-->

<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>eis/t24ConnectionFactory</res-ref-name>

8 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

<jndi-name>java:jca/t24ConnectionFactoryBFL</jndi-name>
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type>

-->

</resource-ref>

</message-driven>

</enterprise-beans>

</jboss>

9 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 5: In tcserver.xml present under the tocfplugin-ra.rar (…\jboss5.1.0.GA\server\default\deploy\ tocfee.ear\tocfplugin-ra.rar\), create a raw-tcp listener
((//ss//)) separate
and tcp listener and we need to create CCo
ommmmuun
niittyyfor each LLe
adapter eaarrn
n
listener. PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<?xml version="1.0" ?>

<!-- DOCTYPE LISTENER SYSTEM "../dtd/LISTENER.dtd" -->

<!-- GLOBUS Connector communications server LISTENERs definitions -->

<!-- T&R Department 2002 -->

<!-- Please check the installation documentation for a detailed

description of this file -->

<TCSERVER>

<ADAPTERS>

<!--

This type of adapter 'TOCF' will process requests using the message endpoint (tocflistener-mdb)

that activated the plugin. An adapter instance will process messages using at most one tocflistener-mdb.

If you require more than one tocflistener-mdb configuration to be called (for different listeners)

then you must configure one ADAPTER instance per tocflistener-mdb.

-->

<ADAPTER id="T24" type="TOCF" active="true">

<!--

<REQUEST_FORMATTER>Thai2UTF, OFSML, UTF2Thai</REQUEST_FORMATTER>

<RESPONSE_FORMATTER>Thai2UTF, OFSML, UTF2Thai</RESPONSE_FORMATTER>

-->

<!-- Configure the number of threads that will deliver messages to the associated tocflistener-mdb -->

<MAX_SESSION>20</MAX_SESSION>

<MIN_SESSION>20</MIN_SESSION>

<!--

10 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Configure the charset of the incoming messages. By default the tocflistner is expecting to

((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
receive messages encoded in the Java platform default Charset. You may either use a request

formatter to change the messages format to the default encoding or inform the tocflistener of

the encoding of the message using the following parameter.

<CHARSET>UTF-8</CHARSET>

-->

<!--

Configure the number of seconds this adapter will wait for the processing of a message.

NOTE - this adapter delivers messages the tocflistener-mdb which in turn delivers the

message to the ofsRequestQueue for processing. The following timeout should be a value

longer than the total time for this processing including the possible retries of the

ofsmessage-mdb. See the TOCF(EE) user guide for more details.

-->

<TIMEOUT>60</TIMEOUT>

</ADAPTER>

<ADAPTER id="T24_formatter" type="TOCF" active="true">

<REQUEST_FORMATTER>OFSML</REQUEST_FORMATTER>

<RESPONSE_FORMATTER>OFSML</RESPONSE_FORMATTER>

<MAX_SESSION>5</MAX_SESSION>

<MIN_SESSION>5</MIN_SESSION>

<TIMEOUT>60</TIMEOUT>

</ADAPTER>

</ADAPTERS>

<MESSAGEFORMATTERS>

<!--================================================

11 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Sample Formatters converting charsets


((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

=================================================-->

<MESSAGEFORMATTER id="Thai2UTF" type="charsetformatter">

<FROM>CP838</FROM>

<TO>UTF-8</TO>

</MESSAGEFORMATTER>

<MESSAGEFORMATTER id="UTF2Thai" type="charsetformatter">

<FROM>UTF-8</FROM>

<TO>CP838</TO>

</MESSAGEFORMATTER>

</MESSAGEFORMATTERS>

<LISTENERS>

<LISTENER id="BFL" type="batchfilelistener" active="true">

<ADAPTERID>T24</ADAPTERID>

<DIR_IN>C:\temp\sv\ofsrequests</DIR_IN>

<DIR_OUT>C:\temp\sv\ofsresponses</DIR_OUT>

<DIR_ERR>C:\temp\sv\ofserrors</DIR_ERR>

<MAX_PROCESS>0</MAX_PROCESS>

<EXTENSION_INDEX>idx</EXTENSION_INDEX>

<EXTENSION_TOPROCESS>tpr</EXTENSION_TOPROCESS>

<EXTENSION_PROCESSED>pro</EXTENSION_PROCESSED>

<EXTENSION_ERROR>err</EXTENSION_ERROR>

<EXTENSION_RESPONSE>rsp</EXTENSION_RESPONSE>

<REQ_SEPARATOR>lf</REQ_SEPARATOR>

12 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

<SORT_DIRECTORY>true</SORT_DIRECTORY>

((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
<DELETE_SOURCE>true</DELETE_SOURCE>

</LISTENER>

<LISTENER Name="FileUploadDownloadChannel" type="tcp" active="false">

<ADAPTERID>T24</ADAPTERID>

<PORT>10003</PORT>

<DOWNLOAD_PATH>C:\temp\doc</DOWNLOAD_PATH>

<STREAM_PROVIDER>FileInputStreamProvider</STREAM_PROVIDER>

<UPLOAD_PATH>C:\temp\doc</UPLOAD_PATH>

<STREAM_WRITER>FileOutputStreamWriter</STREAM_WRITER>

</LISTENER>

<LISTENER Name="DbUploadDownloadChannel" type="tcp" active="false">

<ADAPTERID>T24</ADAPTERID>

<PORT>10004</PORT>

<DBINOUT>

<DATASOURE_NAME>jdbc/T24DS</DATASOURE_NAME>

<ID_COLUMN_NAME>RECID</ID_COLUMN_NAME>

<DATA_COLUMN_NAME>XMLRECORD</DATA_COLUMN_NAME>

</DBINOUT>

<STREAM_PROVIDER>DbInputStreamProvider</STREAM_PROVIDER>

<STREAM_WRITER>DbOutputStreamWriter</STREAM_WRITER>

</LISTENER>

</LISTENERS>

</TCSERVER>

Note:

13 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Set 'false' for other listeners if you are not going to use.
Create separate adapter for each listener. We should not use the same adapter for listeners.
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

14 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 6: In ejb-jar.xml present under the tocflistener-ejb.jar (…\jboss5.1.0.GA\server\default\deploy\ tocfee.ear\tocflistener-ejb.jar\META-INF\), create a Me


((//ss//)) and here
ssage-driven bean for created listener CCo
ommmmu
we un
niittyyto activeLLe
need eaarrn
the ncreated listener.
PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

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

<ejb-jar id="EJBJar_TOCFListenerMDB" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLoc


ation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">

<display-name>OFSListeners</display-name>

<enterprise-beans>

<message-driven id="MessageDriven_OFSListenerMDBBFL">

<display-name>OFSListener Bean</display-name>

<ejb-name>OFSListenerMDBBFL</ejb-name>

<ejb-class>com.temenos.tocf.listener.mdb.TOCFListenerMDB</ejb-class>

<messaging-type>com.temenos.tocf.common.jca.OFSMessageListener</messaging-type>

<transaction-type>Bean</transaction-type>

<activation-config>

<activation-config-property>

<activation-config-property-name>listener</activation-config-property-name>

<activation-config-property-value>BFL</activation-config-property-value>

</activation-config-property>

</activation-config>

<resource-ref id="ResourceRef_OFSListenerMDB_jmsQueueConnectionFactoryBFL">

<res-ref-name>jms/jmsConnectionFactory</res-ref-name>

<res-type>javax.jms.QueueConnectionFactory</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSQueueBFL">

<description>OFS queue</description>

15 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

<res-ref-name>queue/t24OFSQueue</res-ref-name>
((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

<res-type>javax.jms.Queue</res-type>

<res-auth>Container</res-auth>

</resource-ref>

<resource-ref id="ResourceRef_OFSListenerMDB_t24OFSReplyQueueBFL">

<description>OFS reply queue</description>

<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

<res-type>javax.jms.Queue</res-type>

<res-auth>Container</res-auth>

</resource-ref>

</message-driven>

-->

</enterprise-beans>

</ejb-jar>

Note: Comment the other Message-driven beans if you are not using.

16 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Step: 7: In jboss.xml present under the tocflistener-ejb.jar (…\jboss5.1.0.GA\server\default\deploy\ tocfee.ear\tocflistener-ejb.jar\META-INF\), map the queue
names to their respective resource((//s
s//)) C
referenceCo
ommmmuun
defined niit
intyyejb-jar.xml
LLe
eaarfile(which
rn
n PPr
ro
is od
duuccttss under tocfee.ear\tocflistener-ejb.jar\META-INF).
present TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

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

<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"

"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">

<jboss>

<enterprise-beans>

<message-driven>

<ejb-name>OFSListenerMDBBFL</ejb-name>

<resource-adapter-name>tocfee.ear#tocfplugin-ra.rar</resource-adapter-name>

<resource-ref>

<res-ref-name>jms/jmsConnectionFactory</res-ref-name>

<jndi-name>java:/ConnectionFactory</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>queue/t24OFSQueue</res-ref-name>

<jndi-name>queue/t24OFSQueueBFL</jndi-name>

</resource-ref>

<resource-ref>

<res-ref-name>queue/t24OFSReplyQueue</res-ref-name>

<jndi-name>queue/t24OFSReplyQueueBFL</jndi-name>

</resource-ref>

</message-driven>

</enterprise-beans>

</jboss>

17 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Note: Comment the other Message-driven beans if you are not using.

((//ss//)) C
Coom
mmmu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Establishing connection to browser and listener:
Starting of jbase_agent
To connect to the environment, we need to start jbase_agent with the port number (9901) as specified in t24-ds.xml.

Starting of JBoss
JBoss can be started by executing the run.bat file present in (..\jboss5.1.0.GA\bin) directory or by using the start command shown below,
C
C::\\ jjb
boossss55..11..00..G
GAA\\b
biin
n>>rru
unn..b
baatt    --b
b 00..00..00..00

 
N
Nootte
e::  In UNIX, use run.sh command to start Jboss.
 

0 Comments

PPo
osstt Q
Quue
essttiio
onn

Share an update... Share

18 of 19 2/10/2023, 7:41 PM
How to Configure Batch File Listener with JBOSS https://basecamp.temenos.com/s/article-detail/a042K00001KIplEQAT/how-to-configure-batch-...

Sort by:

Most Recent Activity ((//ss//)) C


Coom
mmmu
unniittyy LLe
eaarrn
nSearch this P
Prro
oddu
feed...
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))

Collaborate here!
Here's where you start talking with your colleagues about this.

Supplier Information Terms of use Base Camp FAQ


ww.temenos.com (https://www.temenos.com (https://www.temenos.com (https://basecamp.temenos.com Follow US
/information-for- /legal-information /s/article-detail
suppliers/) /website-terms-and- /a046A000001lZe4QAE/temenos- (https://www.linkedin.com (https://www.linkedin.com
conditions/) base-camp-faq) /company/temenos) /company/temenos/)

19 of 19 2/10/2023, 7:41 PM

You might also like