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 during creation of Bar file.

Post new topic  Reply to topic Goto page 1, 2  Next
 Error during creation of Bar file. « View previous topic :: View next topic » 
Author Message
kmeda
PostPosted: Mon Jan 22, 2007 2:38 pm    Post subject: Error during creation of Bar file. Reply with quote

Newbie

Joined: 22 Jan 2007
Posts: 6

I am getting the following error during creation of bar file. However i am able to open esql from the flow with out any issue.

Did any one get this kinda error. What needs to be done?

Please let me know....

***************************************

Results of addition to the bar file:

Processing file AddCustomerProfileStub.msgflow
Failed to add file AddCustomerProfileStub.msgflow to archive file
EsqlObjectCodeLinker V6: module named [esql://routine/#AddCustomerProfile_CRMStubCompute] is not defined in file [platform:/resource/AddCustomerProfileStubProj/AddCustomerProfileStub.esql]
The ESQL level for AddCustomerProfileStub.msgflow is undetermined


Processing file AddCustomerProfileStub.msgflow
Failed to add file AddCustomerProfileStub.msgflow to archive file.
**********************************************
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
fjb_saper
PostPosted: Mon Jan 22, 2007 2:45 pm    Post subject: Reply with quote

Grand High Poobah

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

The error text is clear.
It says you are missing a "compute" module with name of Compute in the AddCustomerProfileStub.esql file.

So either your compute node properties are not right, or you need to "clean" the file, or you are missing some reference to a project...

Basically what it tells you is that you are referencing an inexisting object in your code.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dweller
PostPosted: Tue Jan 23, 2007 4:27 am    Post subject: Reply with quote

Apprentice

Joined: 31 Oct 2006
Posts: 28

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

works for me
Back to top
View user's profile Send private message
sarat
PostPosted: Tue Jan 23, 2007 5:16 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

Always check "Build Automatically"
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
pathipati
PostPosted: Tue Jan 23, 2007 5:19 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
Always check "Build Automatically"
Auto Build will decrease the performance..
Back to top
View user's profile Send private message Yahoo Messenger
sarat
PostPosted: Tue Jan 23, 2007 5:31 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

hi pathipati,

Quote:
Auto Build will decrease the performance..


i don't think so....but it avoids unneccesary errors!! Can u explain me how the performence effects!!! I think it takes some time while saving in the toolkit..nothing else..am i wrong?
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
pathipati
PostPosted: Tue Jan 23, 2007 5:45 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
i don't think so....but it avoids unneccesary errors!! Can u explain me how the performence effects!!! I think it takes some time while saving in the toolkit..nothing else..am i wrong?
1)Yes, you are right it takes some time which means decreases the performance in terms of time.
2) When auto build is turned on the problem will be memory taken up by a big build and never given back. Using some garbage collection tracing and a heap monitor I noticed that the heap grows to near its default maximum (1/2 physical ram) and sticks. The reason is that, by default, the JVM will not shrink the heap until the free space exceeds 60%. The problem is that this may never happen.

To avoid 2nd one you can change some settings in wmbt.ini, but still the auto build will take much time as you said..
Back to top
View user's profile Send private message Yahoo Messenger
sarat
PostPosted: Tue Jan 23, 2007 8:56 pm    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

Hi pathipati,


So u mean to say that checking the "Build Automaitcally" decreases the performence in terms of time. But every time while saving and creating bar file do we need to do clean??? If that is the case, as per my knowledge after every clean it builds the workspace also.

So what will be the best option?

cleaning every time or check the BuildAutomatic option?
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
pathipati
PostPosted: Wed Jan 24, 2007 10:24 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
cleaning every time or check the BuildAutomatic option?
I would prefer clean and build before deploying instead of Auto build.
Back to top
View user's profile Send private message Yahoo Messenger
elvis_gn
PostPosted: Wed Jan 24, 2007 10:43 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi pathipati,
pathipati wrote:
Quote:
cleaning every time or check the BuildAutomatic option?
I would prefer clean and build before deploying instead of Auto build.
If you leave your toolkit on Automatic rebuild, atleast from the second time, it will only build the stuff that you have changed and saved...

But on a manual build, I think it will build the whole thing from scratch everytime...

Also, I am sure, atleast in a 1:100 ratio, you would forget to build your flow and create the bar and attempt deployment....

And finally, i've noticed that many a times a manual build does not remove the errors in the projects, and i'm forced to re-import the project with an automatic build for it to get fixed...

I suggest if you are so much worried about the time lost in building, you should upgrade your system hardware first of all...

Regards.
Back to top
View user's profile Send private message Send e-mail
pathipati
PostPosted: Wed Jan 24, 2007 12:52 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Hi elvis_gn,
Quote:
it will only build the stuff that you have changed and saved...

I agree, if you want to build every time you save ur workspace. For me I click the save button for every change that I made to my code. I don't want to build my workspace these many times. The thing is I saw toolkit being hanged and the need for restarting, so if we don't save our workspace we will loss the modifications if Toolkit got hanged.
Quote:
Also, I am sure, atleast in a 1:100 ratio, you would forget to build your flow and create the bar and attempt deployment....
Here I totally agree with you...
Quote:
And finally, i've noticed that many a times a manual build does not remove the errors in the projects, and i'm forced to re-import the project with an automatic build for it to get fixed...
manual build is working fine for me.(in both WID and WMB Toolkit)
Back to top
View user's profile Send private message Yahoo Messenger
sarat
PostPosted: Wed Jan 24, 2007 9:28 pm    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

Hi Pathipati,

Quote:
For me I click the save button for every change that I made to my code. I don't want to build my workspace these many times


Most of the cases it doesn't effect. Without checking buildautomatic and without build the changed code doesn't reflect on your workspace by simply saving!!! Try to cahnge your code and create bar file without doing above operations..let me know if ur success!!!!

Quote:
manual build is working fine for me.(in both WID and WMB Toolkit)


Ofcourse it works. But it takes more time than automatic build.
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
pathipati
PostPosted: Thu Jan 25, 2007 5:29 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Quote:
Most of the cases it doesn't effect. Without checking buildautomatic and without build the changed code doesn't reflect on your workspace by simply saving!!!
What do you mean by doesn't reflect on your workspace?
And more over turning Auto build off is not my suggestion, As per one of IBM websites it's recommended to turn off Auto build to increase performance.I was unable to find that link to post here..
Quote:
Ofcourse it works. But it takes more time than automatic build.
Have you tried this..
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Jan 25, 2007 5:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I haven't had any performance issues using AutoBuild, once I give the Toolkit a sufficient JVM Heap for the size of the workspace.

It does increase performance in some ways to turn it off - less going on in the background - but it can increase performance even more to only build working sets.

But it's really a matter of personal preference, and I'm not sure there's a lot of value in continuing to discuss it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kmeda
PostPosted: Fri Jan 26, 2007 7:59 am    Post subject: Update on the bar file issue. Reply with quote

Newbie

Joined: 22 Jan 2007
Posts: 6

I know this is not what i want to do but i had to create a new workspace and imported all my projects there. Now i am able to create bar files and every thing works fine.

I did try clean build....there were no errors in the work space, yet while creating bar files it would give the error i posted in my first posting.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error during creation of Bar file.
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.