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 » Problem with Broker Schema in MB 6 which is not there inMB5

Post new topic  Reply to topic
 Problem with Broker Schema in MB 6 which is not there inMB5 « View previous topic :: View next topic » 
Author Message
udayakumarisampalli
PostPosted: Tue Nov 28, 2006 10:39 pm    Post subject: Problem with Broker Schema in MB 6 which is not there inMB5 Reply with quote

Novice

Joined: 20 Jul 2006
Posts: 19
Location: India

i am facing the problem with Broker Schema in one my flows in MB 6. i have some code in MB5 i have migrated it to MB 6. that perticular flow is using the some mehtods which are defined in the another ESQL file in the same project.

IN MB 5: in the ESQL file having procedures was defined with top line as "BROKER SHCEMA AAA" (say AAA is a project name. and in the message flow ESQL file which is calling these procedures is agani defined with broker shcema as "BROKER SCHEMA AAA" in the first line. so when it is calling any procedure in the esql code it directly calling with procedure name( ex if procedure is "bbb" it is calling as "call bbb ") there was no problem in MB 5.

But in MB 6: the same ESQL code giving error while deploying the bar file to execution group as" Undefined procedure bbb". so i have done modification in the code as "CALL AAA.bbb" then it is identifying the procedure. what might be the problem . i think we are not required to prefix with Broker schema Variable before the procedure call.
does this required to be done like this. or did i missed any thing while migration or do i need to specify any property in any of the node to identify this. please require any kind of inputs
Back to top
View user's profile Send private message Yahoo Messenger
kspranava
PostPosted: Wed Nov 29, 2006 1:12 am    Post subject: Reply with quote

Centurion

Joined: 27 Apr 2003
Posts: 124

Hi udayakumarisampalli,

Tyr cleaning up the project (Project --> Clean...); sometimes it works!

-kspranava.
Back to top
View user's profile Send private message
udayakumarisampalli
PostPosted: Wed Nov 29, 2006 2:36 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2006
Posts: 19
Location: India

hi pranava,
i did that too. i cleaned, recreated i tried many options. but still in same position. does in MB 6 requires method calling happens to be in this manner?


thank you

regards
Uday
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Nov 29, 2006 2:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Broker schemas are like namespaces.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Wed Nov 29, 2006 3:37 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

schemas r like packages in java, if u call a method in a different schema name u have to add tht schema in tht esql file using the PATH statement (similar to import decl in java)

Anoop
Back to top
View user's profile Send private message Yahoo Messenger
udayakumarisampalli
PostPosted: Wed Nov 29, 2006 3:57 am    Post subject: Reply with quote

Novice

Joined: 20 Jul 2006
Posts: 19
Location: India

but if you see my problem i am calling the procedure from the ESQL file which present in the same Project not from differnt project. it working fine with out prefix in MB 5 it is giving error in MB 6. what might be the problem
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Nov 29, 2006 4:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It doesn't matter whether the ESQL file is in the same project or not - the only thing you have to do if it's in a different project is explictly mark the dependancy on the project preferences.

jbanoop has given you a very reasonable thing to try, add a PATH to your ESQL.

Unless you just want to spend more time complaining that it worked just fine in v5.

It's possible you've found a bug - it's also possible you've found a bug that has already been fixed. But you also haven't told us what version of the Toolkit you're using.

Thirdly, they have changed the way ESQL files get included when building CMF files. It used to be that any use of any method in a broker namespace would cause the entire namespace to get loaded. So you might be seeing a consequence of that - that it worked in v5 because you properly pathed a procedure in a different file (but the same namespace) as your other procedure.

Fourthly, you've got a working fix.
_________________
I am *not* the model of the modern major general.
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 » Problem with Broker Schema in MB 6 which is not there inMB5
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.