Author |
Message
|
vmurali_au |
Posted: Tue Mar 21, 2006 1:45 am Post subject: Error adding ESQL file to Compute node & in Bar File [WM |
|
|
 Voyager
Joined: 26 Mar 2004 Posts: 76
|
I'm working with WBIMB 6.0.0.1 Tool kit
Whenever i issue "Open ESQL" in a compute node it creates a new module instead of the original module specified in the "ESQL Module" property of compute node. Also the "Browse ESQL module" function doesnot work.
Now when i try to add the msgflow & esql file to a bar file, then toolkit gives an error saying the module with Main() function is not found. I can very well see that the module & Main() function are there and the name matches the ESQL module property of the Compute node.
Also when i opened the msgflow file in an editor i can see the property is mentioned as
Code: |
computeExpression="esql://routine/#JMSGateway_Compute.Main" |
I've previously worked with WBIMB 5.0 and had never encountered such errors.
Please help if u have any info on the same. |
|
Back to top |
|
 |
nathanw |
Posted: Tue Mar 21, 2006 1:52 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
I have had this happen before but it has been mainly die to opening the esql file in another browser and editing it there
for some reason it doesnt like the reformatted code
the way round it i have found is to recreate the esql file and copy the code across and then point the node at the new file and save the flow. |
|
Back to top |
|
 |
vmurali_au |
Posted: Tue Mar 21, 2006 2:03 am Post subject: |
|
|
 Voyager
Joined: 26 Mar 2004 Posts: 76
|
Yeah i tried creating a new ESQL file and pasted the old code there.
But now in the compute node the "Browse ESQL module" function doesnt work. So i'm unable to point to the newly created ESQL file. |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Mar 21, 2006 2:11 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi vmurali_au,
From your Compute node you got to point to this new ESQL file...did you do that....
Regards. |
|
Back to top |
|
 |
vmurali_au |
Posted: Tue Mar 21, 2006 2:30 am Post subject: |
|
|
 Voyager
Joined: 26 Mar 2004 Posts: 76
|
Thats where the problem is
My flow name is JMSGateway.msgflow
Old ESQL file name JMSGateway.ESQL
Module name : JMSGateway_Compute
I created a new ESQL file JMS.Esql and pasted the module codes with Main() there. Now i tried pointing to that. But the Compute node Browse ESQL property doesnt show any modules. It is blank. |
|
Back to top |
|
 |
nathanw |
Posted: Tue Mar 21, 2006 2:49 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
I am assuming yu have saved the new esql file as yu cannot add the file to the node unless it is saved
stupid question you are in the development view and not the administration view arent you?
if the browse cannot find the file after it has been saved then I would assume there is a problem with your toolkit and the linkages. |
|
Back to top |
|
 |
ydsk |
Posted: Thu Mar 23, 2006 3:19 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
For all such issues I suggest doing a 1) refresh on the project followed by a 2) rebuild of the project, from the Broker Application Development perspective. I could resolve many issues several times by doing the 2 things in that order. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 23, 2006 5:06 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I have seen these problems in V6.
One way to make sure it works right:
- Make sure the autobuild is checkmarked on the Project menu.
- Do a clean build on the project
- Save all resources in project
- Close project
- Open project
To make sure everything is recognized right you can expand the ESQL file and see all the modules.(click on + in left pane)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|