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 Message Broker (ACE) Support » JText Issue

Post new topic  Reply to topic
 JText Issue « View previous topic :: View next topic » 
Author Message
Bravo
PostPosted: Sun Oct 30, 2005 10:23 pm    Post subject: JText Issue Reply with quote

Centurion

Joined: 03 Oct 2005
Posts: 146

Hi All,

a) When trying to deploy the Message Broker Workspace using JText.I am getting the following error message while selecting the parameters.

Deployment Failed

XML schema deployer (importer) was not found.
Specify the importer path in System Manager preferences/broker settings

I have also checked Namespace aware and selected long for XML namespace format.

b) How can I achieve getting a data from txt file and putting a modified message in MQ using JText.

For eg :

i/p AAAA ==> txt file
o/p AAAABBBB ==> QUEUE


Any help!!!!
_________________
Bravo
Back to top
View user's profile Send private message
recallsunny
PostPosted: Mon Oct 31, 2005 9:55 am    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

Try this:

From System Manager select Window > Preferences > System Manager Preferences >Broker Preferences.

If the message broker settings are empty in this tab, then you ought to take a look at this pdf:
ftp://ftp.software.ibm.com/software/websphere/integration/wbiadapters/library/doc/pdf/wbia26/implementation_wmqi_30sept04.pdf

If you are unfamiliar with the usage of JText adapter, i suggest reading more about it @ Online Adapter help.
Back to top
View user's profile Send private message
Bravo
PostPosted: Mon Oct 31, 2005 10:51 pm    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2005
Posts: 146

Thank you so much.

That was a good document and I am going thur.
_________________
Bravo
Back to top
View user's profile Send private message
Bravo
PostPosted: Mon Nov 07, 2005 1:59 pm    Post subject: Reply with quote

Centurion

Joined: 03 Oct 2005
Posts: 146

Hi Sunny,

The documents helped me a lot and successfully execute the Message flow with Name value using JText.

Right now I am facing another problem cozz of the requirement.

I getting another file with data

5567 TEST STOCKBROKER

Since I have already MO with Namevalue, now I want to execute above data also.

I approached fixed width and file is failed.

This is what I did..

I created new datahandler with fixedwidth,MO_JTextConnector_Employee and added both object to JText supported BO.

Now JText connector is polling on two separate dir.One is for Name value and other is for fixed width. Both files are polled perfectly.Name value is processed successfully but fixed width file is getting failed.

The input dat is

BusinessObject=FIXED
Verb=Create
EMP=5567 TEST STOCKBROKER
<EndBO:FIXED>

In datahandler BO size is 75 and rest all default.I am getting the following error.

[Time: 2005/11/07 11:02:18.578] [System: ConnectorAgent] [SS: JTextConnector] [Thread: Jtext-FileParser (#1087004541)] [Type: Warning] [MsgID: 106005] [Mesg: **** WARNING :: Internal error: Exception :: java.lang.Exception: Already reached end of BO while expecting more token
at com.crossworlds.DataHandlers.text.fixedwidth.getNextToken(fixedwidth.java:571)
at com.crossworlds.DataHandlers.text.fixedwidth.getBOFromString(fixedwidth.java:434)
at com.crossworlds.DataHandlers.text.fixedwidth.getBO(fixedwidth.java:355)
at com.crossworlds.connectors.jtext.FileParser.createAndFormatWorkUnit(FileParser.java:816)
at com.crossworlds.connectors.jtext.FileParser.run(FileParser.java:624)
at java.lang.Thread.run(Thread.java:567)
]
[Time: 2005/11/07 11:02:18.578] [System: ConnectorAgent] [SS: JTextConnector] [Thread: Jtext-FileParser (#1087004541)] [Type: Error] [MsgID: 103007] [Mesg: **** WARNING :: Formatting failed. Reason :: Already reached end of BO while expecting more token ]

Am I missing some thing.
_________________
Bravo
Back to top
View user's profile Send private message
recallsunny
PostPosted: Tue Nov 08, 2005 2:41 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

The point which is unclear from your explanation here is how your fixed width input data looks like.
Quote:
The input dat is

BusinessObject=FIXED
Verb=Create
EMP=5567 TEST STOCKBROKER
<EndBO:FIXED>

If this is your fixed width input, it will certainly fail. Match your fixed width format as shown in this below link
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbia_developer.doc/doc/data_handler/datahand58.htm
It should look something like this:
Code:
FIXED     CREATE    5567 TEST STOCKBROKER

However if your FW data does not contain the business object name and verb then a datahandler customization may be required.
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 Message Broker (ACE) Support » JText Issue
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.