How To Upload and Download File For Tafj Websphere?
How To Upload and Download File For Tafj Websphere?
How To Upload and Download File For Tafj Websphere?
((//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))
13
11.. U
UPPLLO
OAAD
D PPRRO
OCCEED
DUURREE::
Kindly follow the steps given in the document to upload a file through T24.
RRe
eqqu
uiirre
eddC
Coom
mppo
onne
ennttss::
1) BrowserWeb.war
2) WebSphere
3) tocfee.ear
• tocflistener-ejb.jar
• tocfplugin-ra.rar
4) TAFJJEE_EAR
1 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
Step 1:
((//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))
In browserParameters.xml file set the server connection method as JMS.
<parameter>
<parameterValue>JMS</parameterValue>
</parameter>
<parameter>
<parameterName>DocumenService Channel</parameterName>
<parameterValue>UploadDownloadChannel</parameterValue>
</parameter>
<parameter>
<parameterName>fileUploadChannel</parameterName>
<parameterValue>UploadDownloadChannel</parameterValue>
</parameter>
Step 2:
In tcserver.xml file (tocfee.ear\tocfplugin-ra.rar) do the listener configuration as given below. Enable the listener upload channel in order to upload the file. Give the
corresponding upload path and the port number.
2 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<PORT>7005</PORT>
<DOWNLOAD_PATH>D:\download</DOWNLOAD_PATH>
<STREAM_PROVIDER>FileInputStreamProvider</STREAM_PROVIDER>
<UPLOAD_PATH>D:\upload</UPLOAD_PATH>
<STREAM_WRITER>FileOutputStreamWriter</STREAM_WRITER>
</LISTENER>
NOTE:Set the listeners to false if they are not in use. Place the file that is to be downloaded in the path specified in UPLOAD_PATH tag.
Step 3:
In ibm-ejb-jar.xmi file (tocfee.ear\tocflistener-ejb.jar\META-INF\), create ejbBindings for fileupload/download channel.
</ejbBindings>
Comment the queues if anything defined. The queues are not needed since the message is not passed here only the file upload action takes place. This does not
require any queues to be defined.
In ejb-jar.xml file (\tocfee.ear\tocflistener-ejb.jar\META-INF\), listener id needs to be defined and comment out the resource references related to JMS Queues/JMS
Queue connection factory.
3 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<message-driven id="MessageDriven_CustomListenerMDB">
((//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))
<display-name>Custom Download OFSListener Bean</display-name>
<ejb-name>CustomDownloadListenerMDB</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>UploadDownloadChannel</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
Step 4:
In application.xml file (\tocfee.ear\META-INF\) kindly remove/comment the highlighted lines.
In TAFJ, no need to add the tocfOFSmessage-ejb.jar and delivery-ejb.jar jars.
4 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<display-name>TOCF-EE_EAR</display-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))
<module>
<connector>tocfplugin-ra.rar</connector>
</module>
<module>
<ejb>tocflistener-ejb.jar</ejb>
</module>
<module>
<ejb>tocfOFSmessage-ejb.jar</ejb>
</module>
<module>
<ejb>delivery-ejb.jar</ejb>
</module>
<library-directory>lib</library-directory>
</application>
The TAFJJEE_EAR component acts as a tocfOFSmessage-ejb.jar therefore the component tocfOFSmessage-ejb.jar and delivery-ejb.jar can be removed from
tocfee.ear component.
Step 5:
5 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
Now upload the configured tocfee.ear pack through WebSphere admin console
Enterprise Applications ((//ss//)) C
Coom
mmmu un niittyy LLe
ea arrnn PPrro
od duuccttss TTrra
aiinniinngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
--> Install tto
occffe
eee..e
eaarr using default values. The following warnings can be ignored at this stage:
ADMA0114W: Resource assignment with JNDI name e eiiss//cco
om m..tte
emme
enno
oss..tto
occff..cco
ommm
mo onn..jjcca
a..O
OFFSSM
Meessssa
agge eLLiisstte
enneerr is not found …
ADMA0114W: Resource assignment with JNDI name jjcca a//tt2244PPllu
uggiin
nssRRe
esso
ouurrcce
eAAd
daap
ptte
err is not found …
ADMA0115W: Resource assignment of name q qu
ueeu
uee//rre
eqquue essttQQuueeuuee and type javax.jms.Queue, with JNDI name jms/requestQueue is not found...
ADMA0115W: Resource assignment of name q qu
ueeu
uee//rre
essppo onnsseeQQu ue
euuee and type javax.jms.Queue, with JNDI name jms/responseQueue is not found…
A
Annd
d ffo
ollllo
oww tth
hee b
beello
oww sstteep
pss::
Enterprise Applications > TOCF(EE)_EAR > Manage Modules > TOCFPLUGIN > Resource Adapter > J2C Activation specifications >
com.temenos.tocf.common.jca.OFSMessageListener
--> Set activation specification for the TOCF(EE) Plugin component
- NAME: T24 Plugin Resource Adapter
- JNDI NAME: jca/t24PluginsResourceAdapter
6 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
Step 6:
In channels.xml file (BrowserWeb.war\WEB-INF\classes\) give the same port number to the listener specified in tcserver.xml file. And give the ip address where the
database is running.
7 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<CHANNEL>
((//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))
<NAME>UploaddownloadChannel</NAME>
<TIMEOUT>120</TIMEOUT>
<ADAPTER>
<TYPE>tcp</TYPE>
<PORT>7005</PORT>
<SUPPLIER>
<INITIATOR>
<HOSTNAME>127.0.0.1</HOSTNAME>
</INITIATOR>
</SUPPLIER>
<CONSUMER>
<MAX_SESSION>5</MAX_SESSION>
<ACCEPTOR>
<BACKLOG>30</BACKLOG>
</ACCEPTOR>
</CONSUMER>
</ADAPTER>
</CHANNEL>
8 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<instances>
((//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))
<instance name="production">
<encrypt>false</encrypt>
<compress>false</compress>
<retryperchannel>2</retryperchannel>
<encoding></encoding>
<verbose>false</verbose>
<channels>
<channel>UploadDownloadChannel</channel>
</channels>
</instance>
</instances>
Step 7:
Start/Restart Database and Websphere
Database:
9 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
Step 8:
Login to the T24 browser and launch the application EB.FILE.UPLOAD.PARAM
Make sure the path given in the field 'Tc Upload Path' and the Upload path given in tcserver.xml file are the same.
SSA
AMMPPLLEE EEBB..FFIILLEE..U
UPPLLO
OAAD
D..TTYYPPEE RREEC
COORRD
D::
10 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
Launch the application EB.FILE.UPLOAD from Browser to upload a document in the path specified.
Specify the Upload type as any of the EB.FILE.UPLOAD.TYPE record and browse for the file to be uploaded:
11 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
12 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
13 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
It can be checked in the upload path whether the file has been uploaded:
((//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))
22.. D
DOOW
WNNLLO
OAAD
D PPRRO
OCCEED
DUURREE::
Kindly follow the steps given in the document to download a file through T24.
The same channel used for upload can also be used for download.
Step 1:
In browserParameters.xml file set the server connection method as JMS.
14 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
<parameter>
((//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))
<parameterName>Server Connection Method</parameterName>
<parameterValue>JMS</parameterValue>
</parameter>
<parameter>
<parameterName>DocumenService Channel</parameterName>
<parameterValue>UploadDownloadChannel</parameterValue>
</parameter>
<parameter>
<parameterName>fileUploadChannel</parameterName>
<parameterValue>UploadDownloadChannel</parameterValue>
</parameter>
Step 2:
In tcserver.xml file (\tocfee.ear\tocfplugin-ra.rar) do the listener configuration as given below. Enable the listener download channel in order to download the file.
Give the corresponding download path and the port number.
<ADAPTERID>T24</ADAPTERID>
<PORT>7005</PORT>
<DOWNLOAD_PATH>D:\download</DOWNLOAD_PATH>
<STREAM_PROVIDER>FileInputStreamProvider</STREAM_PROVIDER>
<UPLOAD_PATH>D:\upload</UPLOAD_PATH>
<STREAM_WRITER>FileOutputStreamWriter</STREAM_WRITER>
</LISTENER>
15 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
N
NOOTTEE:: SSe
ett tth
hee lliisstte
enne
errss tto
o ffa
allsse
e iiff tth
heeyy a
arre
enno
ott iin
nuusse
e.. PPlla
acce
e tth
hee ffiille
e tth
haatt iiss tto
obbe
eddo
owwn
nllo
oaad
deed
d iin
n tth
heep
paatth
h ssp
peecciiffiie
edd iin
nDDO
OWWN
NLLO
OAAD
D__PPA
ATTH
H tta
agg..
S t e p 3 t o S t e p 7 a r e t h e s a((/m
/ss//)
e) f o r C
Co
U om
pmm
l omu
aun
dniita
tyyn d D o w
LLe
ea
narl rn
ona d . PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
Step 8:
16 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
In the field GB short name, you can give the filename with an extension that specifies the file format that is required to be downloaded.
Step 9:
Launch the enquiry.
17 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//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))
When the Linkk is clicked the file will be downloaded in .csv format.
LLa
asstt U
Uppd
daatte
edd:: 1100--A
Auug
g--2200118
8
0 Comments
18 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
PPo
osstt Q
Quue
essttiio
onn
((//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))
Sort by:
Collaborate here!
Here's where you start talking with your colleagues about this.
19 of 20 2/10/2023, 7:34 PM
How to UPLOAD AND DOWNLOAD File for TAFJ WebSphere? https://basecamp.temenos.com/s/article-detail/a042K00001KIplnQAD/how-to-upload-and-do...
((//ss//)) C
Coom
mm mu
unniittyy LLe
eaarrn
n PPrro
oddu
uccttss TTrra
aiin
niin
ngg D
Doow
wnnllo
oaad
dss SSu
uggg
geesstt ((//ss//iid
deea
attiio
onn))
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/)
20 of 20 2/10/2023, 7:34 PM