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 » Error in bar file after migrating to WMB v8.0

Post new topic  Reply to topic
 Error in bar file after migrating to WMB v8.0 « View previous topic :: View next topic » 
Author Message
Amazer
PostPosted: Sun Jun 24, 2012 1:23 am    Post subject: Error in bar file after migrating to WMB v8.0 Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

Hi,

We migrated from WMB 6.1 to WMB 8.0.

When I try building a bar file (after converting the project to an application), I get an error if there is a "." in the function or procedure name. If I change it to "_" then it is OK.

For e.g Comp.Err is wrong but Comp_Err is OK.

Is there any setting globally that would take care of such errors? Or what is a quick workaround rather than editing each application and changing dots to underscores?

Thanks.
Back to top
View user's profile Send private message
exerk
PostPosted: Sun Jun 24, 2012 2:08 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Moving this to the Broker forum.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 24, 2012 7:49 am    Post subject: Re: Error in bar file after migrating to WMB v8.0 Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Amazer wrote:
Hi,

We migrated from WMB 6.1 to WMB 8.0.

When I try building a bar file (after converting the project to an application), I get an error if there is a "." in the function or procedure name. If I change it to "_" then it is OK.

For e.g Comp.Err is wrong but Comp_Err is OK.

Is there any setting globally that would take care of such errors? Or what is a quick workaround rather than editing each application and changing dots to underscores?

Thanks.

Why are you changing "." to "_"? Is this because you are missing a broker schema clause?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Amazer
PostPosted: Sun Jun 24, 2012 11:12 pm    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

No, it is not related to any broker schema clause.

This is a result of having procedure or function names created in MQSI ver 2.1 long back. When I migrated my project to WMB ver 6.1 it was OK.

But now when I have migrated to WMB 8.0 it is causing a problem.

Is the only alternative to change all such cases manually?

Thanks.
Back to top
View user's profile Send private message
mgk
PostPosted: Sun Jun 24, 2012 11:54 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

Quote:
We migrated from WMB 6.1 to WMB 8.0.


It would be worth raising a PMR as if it worked at 6.1 I'm not aware of any deliberate changes in this area in 8.0. Also, you could try the "In-line ESQL when compiling .msgflow" option in the BAR editor on the prepare tab to see if that makes any difference.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Amazer
PostPosted: Mon Jun 25, 2012 12:33 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

I have checked the "In-line ESQL when compiling .msgflow" option in the BAR editor - but it still does not work.

Regards,
Amazer
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Jun 25, 2012 1:02 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

Can you post the exact error you see?
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
Amazer
PostPosted: Mon Jun 25, 2012 1:15 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

This is the error:

Quote:
Processing file ABCDE_XYZ_Response.msgflow
Failed to add file ABCDE_XYZ_Response.msgflow to archive file.
EsqlObjectCodeLinker V6: module named [esql://routine/#"Sub_XYZ04_R_XML.To.CWF.RXYZ04"] is not defined in file [platform:/resource/MNOP4/Sub_XYZ04_R.esql]


Regards,
Amazer
Back to top
View user's profile Send private message
Amazer
PostPosted: Mon Jun 25, 2012 1:33 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

I just tried what was mentioned in another thread which dealt with the same error.

Quote:
1. Project>Clean...
2. Restart WMB toolkit


This worked!!

Thanks a lot for your help.
Back to top
View user's profile Send private message
Amazer
PostPosted: Mon Jun 25, 2012 10:15 pm    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

Even though I have "Build Automatically" ON, this error happened.

I assume it is because I used the WMBv8.0 toolkit to open the workspace which was created by WMBv6.1. I did not export and import as I probably should have. After that I converted each project into an application / library.

Any feedback on this?

Thanks.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 26, 2012 1:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Build Automatically only causes builds to occur when the compiled resources are out of date compared to the EDIT: development resources.

Opening the workspace with a new version of Toolkit is going to update the project metadata, but not the project files themselves until you do *something* to cause them to be reexamined.

And they won't be out of date compared to the compiled resources until they are then re-saved.

It shouldn't be strictly necessary to restart the Toolkit in this case. A clean build should be sufficient.


Last edited by mqjeff on Tue Jun 26, 2012 3:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Amazer
PostPosted: Tue Jun 26, 2012 2:34 am    Post subject: Reply with quote

Novice

Joined: 10 Feb 2009
Posts: 24

You are right. Thanks for the info.

Other application projects are working with just Project>Clean.
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 » Error in bar file after migrating to WMB v8.0
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.