Author |
Message
|
EvolutionQuest |
Posted: Tue Jun 03, 2008 12:24 pm Post subject: mqsicreatebar taking to long to create BAR files |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
I am noticing on WMB v6.1 the creation of a bar file for message sets and/or message flows is taking anywhere from 2-8 minutes long, and the CPU is roughly 50-70%. What is the command line verison doing so different from the toolkit when creating BAR files. I have roughly 20 projects to build individual BAR files and 2-3 hours is unacceptable. My ant script isn't doing anything fancy and I even took out the command line option of '-cleanBuild' and '-v Version'.
Your insight is greatly appreciated. |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Tue Jun 03, 2008 1:07 pm Post subject: |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
Just to followup I receive the following during the BAR creation:
[echo] Building Broker Archive file:
[exec] java.io.EOFException
[exec] at java.io.DataInputStream.readFully(DataInputStream.java:204)
[exec] at java.io.DataInputStream.readInt(DataInputStream.java:380)
[exec] at com.ibm.etools.mft.builder.engine.impl.column.QNameArrayColumn.read(Unknown Source)
[exec] at com.ibm.etools.mft.builder.engine.impl.BaseTable.load(Unknown Source)
[exec] at com.ibm.etools.mft.builder.engine.impl.BaseSchema.load(Unknown Source)
[exec] at com.ibm.etools.mft.builder.xsi.XSIModelPlugin.getMSetCacheSchema(Unknown Source)
[exec] at com.ibm.etools.mft.builder.xsi.MSetProjectBuilder.<init>(Unknown Source)
[exec] at java.lang.Class.newInstanceImpl(Native Method)
[exec] at java.lang.Class.newInstance(Class.java:1300)
[exec] at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
[exec] at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
[exec] at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
[exec] at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
[exec] at org.eclipse.core.internal.events.BuildManager.instantiateBuilder(BuildManager.java:759)
[exec] at org.eclipse.core.internal.events.BuildManager.initializeBuilder(BuildManager.java:711)
[exec] at org.eclipse.core.internal.events.BuildManager.getBuilder(BuildManager.java:452)
[exec] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
[exec] at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
[exec] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[exec] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
[exec] at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
[exec] at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
[exec] at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
[exec] at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217)
[exec] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:5
[exec] BIP8071I: Successful command completion. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 04, 2008 1:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The biggest difference with the command line is that for each invocation you have to load eclipse....
You can also do what we do: have the source versioned and have the corresponding bar files versioned.
We build our bar files in the tool kit and put them under version control (svn).
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nukalas2010 |
Posted: Wed Mar 20, 2013 5:20 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
Dear EvolutionQuest,
Do you have any solution for this error ??? As I am also getting the same...  |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 20, 2013 5:22 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nukalas2010 wrote: |
Dear EvolutionQuest,
Do you have any solution for this error ??? As I am also getting the same...  |
You see how the last post in this thread was made in 2008?
You see how it is currently 2013?
Are you sure you're "getting the same"? |
|
Back to top |
|
 |
nathanw |
Posted: Wed Mar 20, 2013 5:23 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
I would hope he has had a resolution as the original post is 5 years old _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
longng |
Posted: Wed Mar 20, 2013 5:57 pm Post subject: |
|
|
Apprentice
Joined: 22 Feb 2013 Posts: 42
|
C'mon... give the woman/man a credit, she/he did the research thoroughly as to come up with something! as opposed to 'Hey, I am a bit lazy, tell me how to do this and that'
A practical solution here is NOT to blindly include everything needed in the BAR file when all it's needed is something that has been changed. E.g. you've got multiple message sets and message flow that are all dependent but you should only include the artifacts that you've changed and remove the others (which should have already been in the target EG), which have not been changed. It's simply a few mouse clicks and it could save your thumbs' some extraneous effort! |
|
Back to top |
|
 |
nukalas2010 |
Posted: Wed Mar 20, 2013 11:40 pm Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
longng wrote: |
C'mon... give the woman/man a credit, she/he did the research thoroughly as to come up with something! as opposed to 'Hey, I am a bit lazy, tell me how to do this and that'
|
Thanks Dear..!!! When I was googling I didn't found anything related to my error except this. And I don't wanna raise the new post, hance I re-opened here the same.  |
|
Back to top |
|
 |
|