|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
jtext ClassNotFoundException |
« View previous topic :: View next topic » |
Author |
Message
|
jhoninck |
Posted: Thu Aug 04, 2005 6:45 am Post subject: jtext ClassNotFoundException |
|
|
Novice
Joined: 20 Jun 2005 Posts: 11
|
Jtext continues to display me its multitude of possible errors.
Now I am hitting the following problems in the log file:
Code: |
[Time: 2005/08/04 16:11:21.654] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Trace] [MsgID: 17016] [Mesg: Initializing connector JTextMyDConnector, Version = 5.6.0, Connector Framework version = 4.3.
0, CDK version = 4.3.0.]
[Time: 2005/08/04 16:11:21.672] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Info] [MsgID: 101012] [Mesg: @@@@ INFO :: ------- Initialising connector 'JTextMyDConnector', Version '5.6.0' -------.]
[Time: 2005/08/04 16:11:21.784] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Info] [MsgID: 101003] [Mesg: @@@@ INO :: JTextMyD Connector configuration property:GenerateTemplate : , OutputLog : Output
.log, EventLog:Event.log, PollQuantity : 1, ArchivingEnabled : true]
[Time: 2005/08/04 16:11:21.883] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Info] [MsgID: 101007] [Mesg: @@@@ INFO :: ----- Connector Agent: JTextMyD : Version : 5.6.0 is initialized -----.]
[Time: 2005/08/04 16:11:21.922] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Info] [MsgID: 17066] [Mesg: Application state is connected]
[Time: 2005/08/04 16:11:22.312] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Info] [MsgID: 9055] [Mesg: Using Client connection to the Queue Manager.]
[Time: 2005/08/04 16:11:23.071] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type:
Fatal Error] [MsgID: 9074] [Mesg: CME caught a fatal error. The process can not continue.It is shutting down immediately. Err
or: java.lang.ClassNotFoundException: could not load data handler for mime type text: com.crossworlds.DataHandlers.text]
|
Unforunately everything can be found and the jar file does contain, what should be there. Have checked many other possibilities but the trace file should be able to show you this is true:
Code: |
/opt/IBM/WebSphereAdapters/logs cat JTEXTMyD.trc | grep DataHandler
[Time: 2005/08/04 16:11:20.951] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: PROPERTY NAME DataHandlerConfigMO PROPERTY IS from Config file /opt/IBM/WebSphereAdapters/repository/JTextMyD/JTextMyD_DEV.cfg PROPERTY VALUE IS MO_JTextMyDConnector_DataHandler_MyDBO]
- MO_JTextMyDConnector_MyDBO.EventDataHandler = MyDBO_DefaultDelimitedConfig
- MO_JTextMyDConnector_MyDBO.EventDataHandler.BinaryData = true
- MO_JTextMyDConnector_MyDBO.EventDataHandler.ClassName = com.crossworlds.datahandlers.text.delimited
- MO_JTextMyDConnector_MyDBO.EventDataHandler.CxBlank = CxBlank
- MO_JTextMyDConnector_MyDBO.EventDataHandler.CxIgnore = CxIgnore
- MO_JTextMyDConnector_MyDBO.EventDataHandler.DefaultBoName = ImageFile
- MO_JTextMyDConnector_MyDBO.EventDataHandler.Delimiter =
- MO_JTextMyDConnector_MyDBO.EventDataHandler.DummyKey = 1
- MO_JTextMyDConnector_MyDBO.EventDataHandler.Escape = \
- MO_JTextMyDConnector_MyDBO.EventDataHandler.OmitDelimiters = true
- MO_JTextMyDConnector_MyDBO.EventDataHandler.OmitNameAndVerb = true
- MO_JTextMyDConnector_MyDBO.EventDataHandler.OmitObjectEventId = true
- MO_JTextMyDConnector_MyDBO.OutputDataHandler = MyDBO_DefaultFixedWidthConfig
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.Alignment = BOTH
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.BOCountSize = 3
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.BONameSize = 50
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.BOVerbSize = 20
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.ClassName = com.crossworlds.DataHandlers.text.fixedwidth
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.CxBlank = CxIgnore
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.CxIgnore = CxIgnore
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.DummyKey = 1
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.OmitObjectEventId = false
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.PadCharacter = #
- MO_JTextMyDConnector_MyDBO.OutputDataHandler.Truncation = false
MO = MO_JTextMyDConnector_DataHandler_MyDBO
- MO_JTextMyDConnector_DataHandler_MyDBO.ArchiveDir = /var/mqm/jtext/archive
- MO_JTextMyDConnector_DataHandler_MyDBO.DataEncoding =
- MO_JTextMyDConnector_DataHandler_MyDBO.DummyKey = dummykey
- MO_JTextMyDConnector_DataHandler_MyDBO.EndBODelimiter = #;#;EOL
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler = DataHandler_MyDBODelimitedConfig
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.BinaryData = true
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.ClassName = com.crossworlds.datahandlers.text.delimited
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.CxBlank = CxBlank
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.CxIgnore = CxIgnore
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.DefaultBoName = ImageFile
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.Delimiter =
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.DummyKey = 1
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.Escape = \
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.OmitDelimiters = true
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.OmitNameAndVerb = true
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDataHandler.OmitObjectEventId = true
- MO_JTextMyDConnector_DataHandler_MyDBO.EventDir = /var/mqm/jtext/My_in
- MO_JTextMyDConnector_DataHandler_MyDBO.EventExt = data
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPArchiveDir =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPEventFileMask =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPFileListingFormat =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPGetQuantity =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPKeepConnectionOpen =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPLocalEventDir =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPOSPlatform =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPPassword =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPPollTerminateIfServerDown =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPRenameExt =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPRequestTerminateIfServerDown =
- MO_JTextMyDConnector_DataHandler_MyDBO.FTPUserId =
- MO_JTextMyDConnector_DataHandler_MyDBO.FailArchiveExt = fail
- MO_JTextMyDConnector_DataHandler_MyDBO.FileSeqEnabled = false
- MO_JTextMyDConnector_DataHandler_MyDBO.IncludeEndBODelimiter =
- MO_JTextMyDConnector_DataHandler_MyDBO.OriginalArchiveExt = org
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler = DataHandler_MyDBOFixedWidthConfig
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.Alignment = BOTH
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.BOCountSize = 3
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.BONameSize = 50
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.BOVerbSize = 20
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.ClassName = com.crossworlds.DataHandlers.text.fixedwidth
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.CxBlank = CxIgnore
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.CxIgnore = CxIgnore
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.DummyKey = 1
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.OmitObjectEventId = false
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.PadCharacter = #
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDataHandler.Truncation = false
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputDir = /var/mqm/jtext/out
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputExt =
- MO_JTextMyDConnector_DataHandler_MyDBO.OutputFileName = Native
- MO_JTextMyDConnector_DataHandler_MyDBO.PartialArchiveExt = part
- MO_JTextMyDConnector_DataHandler_MyDBO.StagingDir =
- MO_JTextMyDConnector_DataHandler_MyDBO.SuccessArchiveExt = success
- MO_JTextMyDConnector_DataHandler_MyDBO.UnsubscribedArchiveExt = unsub]
[Time: 2005/08/04 16:11:21.772] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: : MOManager :: 'DataHandler' is choosen for Processing BO / BOString ]
[Time: 2005/08/04 16:11:21.773] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: : MOManager :: 'DataHandler' is choosen for Processing BO / BOString ]
[Time: 2005/08/04 16:11:21.884] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: :ConnectorAgent.class: getBOHandlerForBO method! BOName: DataHandler_MyDBODelimitedConfig]
[Time: 2005/08/04 16:11:21.900] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: :ConnectorAgent.class: getBOHandlerForBO method! BOName: DataHandler_MyDBOFixedWidthConfig]
[Time: 2005/08/04 16:11:21.901] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: :ConnectorAgent.class: getBOHandlerForBO method! BOName: DataHandler_MyDBO]
[Time: 2005/08/04 16:11:21.921] [System: ConnectorAgent] [SS: JTextMyDConnector] [Thread: wbia_main (#1150408466)] [Type: Trace] [Mesg: :ConnectorAgent.class: getBOHandlerForBO method! BOName: MO_JTextMyDConnector_DataHandler_MyDBO]
|
Anybody has got any ideas what is going wrong this time. |
|
Back to top |
|
 |
vennela |
Posted: Thu Aug 04, 2005 9:52 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What have you done to configure the adapter?
Are you just starting an out of the box adapter and starting it?
What broker? ICS or WBIMB? |
|
Back to top |
|
 |
jhoninck |
Posted: Thu Aug 04, 2005 10:54 pm Post subject: |
|
|
Novice
Joined: 20 Jun 2005 Posts: 11
|
Managed to solve this.
The Datahandler guide had some hidden remarks in it,
have used this in the DataHandler tab:
text/delimited
com.crossworlds.datahandlers.text.delimited
Really not pleased about two things:
1. The manuals don't help in making something very simple also something straightforward to implement.
2. Having simple working samples and some write-up of how to implement them could have simplified my life for the past 2 weeks. About 7 years ago I wrote this type of adapter in one week time, we cannot really call this progress. A nearly as feature rich product such as openadaptor can be installed in a day.
Just don't understand where IBM is leading us (and to a larger extent themselves) to. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|