ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Unable to create workunit::java.io.IOException

Post new topic  Reply to topic
 Unable to create workunit::java.io.IOException « View previous topic :: View next topic » 
Author Message
Vinayak.Satapute
PostPosted: Mon Nov 26, 2007 10:24 pm    Post subject: Unable to create workunit::java.io.IOException Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon Nov 26, 2007 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vinayak.Satapute
PostPosted: Mon Nov 26, 2007 11:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Mon Nov 26, 2007 11:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vinayak.Satapute
PostPosted: Tue Nov 27, 2007 12:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Tue Nov 27, 2007 1:23 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Sorry Zero is not possible, as the binary usually divides the value that you have given.

I guess you have to apply a patch here, just check this link

ftp://ftp.software.ibm.com/software/ts/cw/servers/server_express_4402/ReadMe.htm


Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
eai_guy
PostPosted: Tue Nov 27, 2007 1:37 am    Post subject: Reply with quote

Voyager

Joined: 18 Oct 2007
Posts: 90

Gayathri,

Are you sure this is to do with fix pack ???

Regards,
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Nov 27, 2007 4:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Vinayak.Satapute
PostPosted: Wed Nov 28, 2007 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Thu Nov 29, 2007 1:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Vinayak.Satapute
PostPosted: Thu Nov 29, 2007 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Unable to create workunit::java.io.IOException
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.