× Discuss about OFS, Temenos Connectors, Various OFS modes, OFS with Versions, OFS performance, Logging, EB.PHANTOM, OFS.SOURCE etc…

Msg Service not picking messages frm Msg Queue

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12730 by riazitk
Dear All,

I have problem regarding OFS.MESSAGE.SERVICE. I am trying to post transaction using OFS.POST.MESSAGE from browser. It puts the message in OFS.MESSAGE.QUEUE but not putting the response in OFS.RESPONSE.QUEUE which means transaction is not processing. I have check F.TSA.STATUS and it is showing both services (OFS.MESSAGE.SERVICE & OFS.RESPONSE.QUEUE) are running.

Kindly reply me back ASAP plz.

Regards,
Riaz Ahmed

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

  • praveenb.chennai
  • praveenb.chennai's Avatar
  • Offline
  • Senior Member
  • Senior Member
More
12 years 1 month ago #12734 by praveenb.chennai
Replied by praveenb.chennai on topic Msg Service not picking messages frm Msg Queue
Try the usual technique :) stop and start the services again.

Was the ofs.message.service working before ?

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12738 by riazitk
I have stop and start the service several times bit nothing happen. Yes the service was working before.

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

More
12 years 1 month ago #12739 by jpb
Have you checked the COMO of the OFS.MESSAGE.SERVICE ?
There might be a problem with the OFS.SOURCE or the usercode or ...

If you don't run OFS.RESPONSE.QUEUE the effect should only be that the queue is not purges in the interval defined in ATTRIBUTE.
Writing to OFS.RESPONSE.QUEUE is done by OFS.MESSAGE.SERVICE.

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12740 by riazitk
The same code is working fine in different environment of T24. I have also change the OFS Source but nothing happen.

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

More
12 years 1 month ago #12741 by jpb
Nothing in the COMO ?

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

More
12 years 1 month ago #12742 by jpb
If you set up the OFS.SOURCE to maintain OFS.REQUEST.DETAIL, will it write something there ?

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12743 by riazitk
I have no idea about COMO. will you elaborate?

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12744 by riazitk
Below is status of service (OFS.MESSAGE.SERVICE) in F.TSA.STATUS
in LAST.MESSAGE, it always shows 'Starting Job'. I think the service has some problem in start.

@ID............. 1
@ID............. 1
AGENT........... 1
K.SERVER........ baft24a
AGENT.STATUS.... RUNNING
LAST.CONTACT.... 11:05:59
PROCESS.ID...... 21532
CURRENT.SERVICE. OFS.MESSAGE.SERVICE
NEXT.SERVICE....
LAST.MESSAGE.... _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Starting job
COMO.NAME....... tSA_1_1635039959
JOB.PROGRESS.... 2
PORT.ID......... 1558

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

More
12 years 1 month ago - 12 years 1 month ago #12745 by jpb
In classic you can use

JED -R &COMO& tSA_1_1635039959

in desktop/browser try in command line

VIEW &COMO&>tSA_1_1635039959

(taking the last COMO.NAME from your service)
Last edit: 12 years 1 month ago by jpb.

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

More
12 years 1 month ago #12746 by jpb
b.t.w. - which release are you using, the COMOs are named differently since at least R08

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12747 by riazitk
below is content by executing the command.



COMO tSA_1_1635039959 established 11:05:59 05 OCT 2012
0002 Agent 1 started 05 OCT 12 11:05:59
0003 Running on server baft24a PortNumber 1558
0004 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Standard multi-thread job
0005 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Calling load routine
0006 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Updating the Locking with OFS.MESSAGE.SERVICE-OFS.
0007 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Starting job
0008 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Calling..OFS.MESSAGE.SERVICE.SELECT
0009 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_List starting from 0 keys processed so far 0
0010 _OFS.MESSAGE.SERVICE_OFS.MESSAGE.SERVICE_1_05 OCT 2012_11:05:59_Building from driving file
0011 ** Error [ WRITE_ERROR ] **
0012 WRITE operation failed , error number 5 on file ../bnk.data/eb/F_JOB_LIST_5
0013 Line 243 , Source BATCH.BUILD.LIST
0014 Press C to continue
0015 ** Error [ EXIT_TRANS_ABORT ] **
0016 TRANSACTION ABORT forced as transaction open when program terminated

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12748 by riazitk
i am using release R06

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

More
12 years 1 month ago - 12 years 1 month ago #12749 by jpb
THERE YOU HAVE YOUR PROBLEM :

WRITE operation failed , error number 5 on file ../bnk.data/eb/F_JOB_LIST_5

Check the file F.JOB.LIST.5 for access rights and maybe with jcheck/jrscan
Last edit: 12 years 1 month ago by jpb.

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12750 by riazitk
Please guide me, how can check access rights for this file ?

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

More
12 years 1 month ago - 12 years 1 month ago #12751 by jpb
Depends on your OS, in unix e.g. use

ls -l ../bnk.data/eb/F_JOB_LIST_5

First you may try to do

LIST F.JOB.LIST.5

to see if it is there ;-), maybe you have to create it first.

Check which SERVICES are using which JOB.LIST with
LIST F.LOCKING WITH CONTENT LIKE F.JOB.LIST...
Last edit: 12 years 1 month ago by jpb.

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12752 by riazitk
below is the result of executing command

-rwxrwxr-x 1 newyear t24 35 Dec 23 2008 ../bnk.data/eb/F_JOB_LIST_5

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

More
12 years 1 month ago #12753 by jpb
looks OK, so try

jcheck -v -s ../bnk.data/eb/F_JOB_LIST_5

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

  • riazitk
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 month ago #12754 by riazitk
Result is:

ERROR! File ../bnk.data/eb/F_JOB_LIST_5 is not a hash file

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

More
12 years 1 month ago - 12 years 1 month ago #12755 by jpb
so remove this file (including the VOC), it should be generated automatically . . .

DELETE.FILE F.JOB.LIST.5
DELETE.FILE F.JOB.LIST.5]D
DELETE VOC F.JOB.LIST.5
Last edit: 12 years 1 month ago by jpb.

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

Time to create page: 0.119 seconds