Author |
Message
|
Vinayak.Satapute |
Posted: Mon Nov 26, 2007 10:24 pm Post subject: Unable to create workunit::java.io.IOException |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hi,
My Jtext Adapter instance is polling a file which is of 0 kb in size (total empty file) . In my given BO I have the default attribute for "EndBODelimiter" set to "EOF".
Following is the error in log--
/************Error detail log file *******************
[Time: 2007/11/27 11:27:33.052] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: Jtext-FileParser (#1126306891)] [Type: Error] [MsgID: 103004]
[Mesg: **** WARNING :: Unable to create workunit from '/im/gen/0000000520071116
.dummy'. Check EndBODelimiter/ FixedSizeBO for the file.][Version:4.3.0.0][TZ:Australia/Perth]
************************************************
If I set "EndBODelimiter" set to blank the error detail in log will be as below,
/************************************************
[Time: 2007/11/27 11:47:25.932] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: Jtext-FileParser (#1126303886)] [Type: Warning] [MsgID: 10600
5] [Mesg: **** WARNING :: Internal error: Exception :: java.io.IOException
at com.crossworlds.connectors.jtext.FileParser.run(FileParser.java:457)
at java.lang.Thread.run(Thread.java:567)
]
[Time: 2007/11/27 11:47:25.933] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: Jtext-FileParser (#1126303886)] [Type: Error] [MsgID: 103005]
[Mesg: **** WARNING :: Unable to create workunit from '/im/gen/0000000520071116
.dummy'. Reason :: java.io.IOException]
**************************************************
Appreciate your help in solving this problem.
Thank you,
Vinayak Satapute. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Nov 26, 2007 11:36 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Just to give a clarity
Jtext will take FixedBOSize for file parsing and it will ignore EndBODelimiter if you have set values for both FixedBOSize and EndBODelimiter
Please go through the JText Adapter where it has given properly well
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Mon Nov 26, 2007 11:45 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hello Gayatri,
Since my file is of 0 KB size,I can not set the attribute "FixedBOSize" to any value so i am not keeping this field in my BO description.
But "EndBODelimiter" field I am leaving it to default value "EOF".
Please any other suggestion from your end.
Thanks,
Vinayak Satapute. |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Nov 26, 2007 11:54 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Hope you are having JText Adpater V5.6 or above, (else you have apply a patch)
Use FixedBOSize to some value. (Say 1/0)
Set the DataProcessingMode to Binary
Then try it out...
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Tue Nov 27, 2007 12:26 am Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
HI,
Yes I am having Jtext adpater 5.6.0.
Now I have set the "DataProcessingMode" to 'Binary' and FixedBOSize to '1'(If I set it to 0 it throws devide by zero exception.) and "EndBODelimiter" left blank
But I still receive the following error.
**********************************************************
[Time: 2007/11/27 16:11:03.793] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: wbia_main (#1128871536)] [Type: Info] [MsgID: 17051] [Mesg: T
he connector agent RADAR_COMMON_OUT_Connector is running in background mode.]
[Time: 2007/11/27 16:11:06.437] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: Jtext-FileParser (#1126315632)] [Type: Error] [MsgID: 103012]
[Mesg: **** WARNING :: The file '/im/gen/0000000520071116.dummy' does not conta
in 1 BOs as specified in the MO attribute FixedBOSize.]
[Time: 2007/11/27 16:11:06.437] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: Jtext-FileParser (#1126315632)] [Type: Error] [MsgID: 103004]
[Mesg: **** WARNING :: Unable to create workunit from '/im/gen/0000000520071116
.dummy'. Check EndBODelimiter/ FixedSizeBO for the file.]
*********************************************************
Regards,
Vinayak Satapute. |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 27, 2007 1:23 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
|
Back to top |
|
 |
eai_guy |
Posted: Tue Nov 27, 2007 1:37 am Post subject: |
|
|
Voyager
Joined: 18 Oct 2007 Posts: 90
|
Gayathri,
Are you sure this is to do with fix pack ???
Regards, |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Nov 27, 2007 4:29 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
I am running a jtext adapter of version 5.6.2 with latest fixes on that.
mean time let me do some tests on that again, should update you regarding that.
Regards
Gayathri  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Wed Nov 28, 2007 11:38 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Hello Gayatri,
I have tested the 0 byte file issue with JText adapter version as 5.6.2
The 0 byte file will be arhived as ".damage" file.So I have made a conclusion that this is the limitation with JText regarding 0 bytes files.
And I have checked with version 5.6.3 till 5.6.5, there is no fix regarding this issue.
Following is the log detail---
[Time: 2007/11/29 10:50:43.329] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: appPolling (#1127579748)] [Type: Warning] [MsgID: 106005] [Me
sg: **** WARNING :: Internal error: Exception :: WARNING : Archiving as damaged
file since it is a zero-byte file : /im/gen/0000000620071116.dummy]
********************************************************
Regards,
Vinayak Satapute. |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Nov 29, 2007 1:14 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi Vinayak.Satapute
Kindly go through this site and search for Zero Byte.
ftp://ftp.software.ibm.com/software/ts/cw/servers/server_express_4402/ReadMe.htm
its clearly defined there, how to resolve this issue.
i can make out, you haven't gone through the link that i have given to you
extracted from the website
CR Number : 72218
Version : 5.6.2
Problem:
JText adapter would crash and restart when zero-byte files with no extension is encountered. The issue has been fixed. If the event extension is .in(for eg.), then the files with no extension will not be polled irrespective of their size. The zero byte files with .in extension will be polled and archived as .damage.
There will not be any issue, if you apply this fix to it.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vinayak.Satapute |
Posted: Thu Nov 29, 2007 7:03 pm Post subject: |
|
|
Acolyte
Joined: 20 Dec 2006 Posts: 70
|
Dear Gayatri,
I have gone through the link you have provided previously.
My Jtext instance is able to poll the 0 byte files (with and without extnsion type)but they are archived as .damage. So 0 byte files are not sent accross.
Following is the log detail for your reference.
**********************************************************
[Time: 2007/11/30 10:45:40.777] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: wbia_main (#1131879827)] [Type: Info] [MsgID: 101007] [Mesg:
@@@@ INFO :: ----- Connector Agent: RADAR_COMMON_OUT_ : Version : 5.6.2 is initi
alized -----.]
[Time: 2007/11/30 10:45:40.799] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: wbia_main (#1131879827)] [Type: Info] [MsgID: 17066] [Mesg: A
pplication state is connected]
[Time: 2007/11/30 10:45:41.003] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: wbia_main (#1131879827)] [Type: Info] [MsgID: 9055] [Mesg: Us
ing Client connection to the Queue Manager.]
[Time: 2007/11/30 10:45:42.002] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: ClientPacketSyncDrvFormatterRADAR_COMMON_OUT_Connector (#1126
096275)] [Type: Info] [MsgID: 17064] [Mesg: Connector Agent state is active.]
[Time: 2007/11/30 10:45:42.142] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: wbia_main (#1131879827)] [Type: Info] [MsgID: 17051] [Mesg: T
he connector agent RADAR_COMMON_OUT_Connector is running in background mode.]
[Time: 2007/11/30 10:45:42.149] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: appPolling (#1127570835)] [Type: Warning] [MsgID: 106005] [Me
sg: **** WARNING :: Internal error: Exception :: WARNING : Archiving as damaged
file since it is a zero-byte file : /im/gen/Text]
[Time: 2007/11/30 10:45:52.195] [System: ConnectorAgent] [SS: RADAR_COMMON_OUT_C
onnector] [Thread: appPolling (#1127570835)] [Type: Warning] [MsgID: 106005] [Me
sg: **** WARNING :: Internal error: Exception :: WARNING : Archiving as damaged
file since it is a zero-byte file : /im/gen/0000000720071116.dummy]
***********************************************************
Any other suggestion,appreciate.
Regards,
Vinayak Satapute. |
|
Back to top |
|
 |
|