Author |
Message
|
nukalas2010 |
Posted: Tue Feb 19, 2013 4:49 am Post subject: mqsicreatebar command not giving any reponse whether success |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
Hi Guys,
I am unable to execute the mqsicreatebar command, I am not getting any error and also its not saying that the command is successful. It's working fine till today morning.
Quote: |
Broker version: '7004'
Platform: 'AIX', '6', |
Command:
Quote: |
C:\Program Files\IBM\WMBT700>mqsicreatebar -data E:\MyView\xxxxProject\Source -b E:\MyView\xxxxProject\Source\MyProject\MyFlow.bar -p MyProject -o MyProject\MyFlow.msgflow |
Earlier I used to get that SuccessFul Command creation. BUt now I am not getting anything and also the barfile is not created.
Could anyone please throw some light here on this..
Thanks in Advance.. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 19, 2013 5:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
You say you're using AIX, but have quoted a Windows command line. That can't be helping.
It sounds to be like something is redirecting stdout. Check with your sys admins. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 19, 2013 6:05 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I'd say the source code has errors in it.
also, of course the command being quoted is windows. It's Toolkit command, which only runs on Windows and linux. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 19, 2013 6:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Ialso, of course the command being quoted is windows. It's Toolkit command, which only runs on Windows and linux. |
Doh!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Wed Feb 20, 2013 11:15 pm Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
Vitor wrote: |
You say you're using AIX, but have quoted a Windows command line. That can't be helping. |
Sorry dears, I didn't mention the complete scenario in my earlier post.
Ofcourse, the Broker installed in AIX. If you observe my command the path which I had given was Clearcase View path and this RCC installed on Windows server. Here we will take the updated messageflows and related references from the RCC path and build the bar file and check in this updated bar file. Then we will take the updated bar file for from the respective path for deployment. This is the process that we are following from couple of months where we never had an issue till now. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Wed Feb 20, 2013 11:18 pm Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
mqjeff wrote: |
I'd say the source code has errors in it.
also, of course the command being quoted is windows. It's Toolkit command, which only runs on Windows and linux. |
There are no errors in source code, because the bar file builded successfully from tool kit (Build and save BAR) option. |
|
Back to top |
|
 |
adubya |
Posted: Thu Feb 21, 2013 1:04 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
1. Are there any new project dependencies which need to be specified to mqsicreatebar (via the -p switch) ? Check your project dependencies in toolkit and make sure the -p list aligns.
2. Check your E:\MyView\xxxxProject\Source\.metadata\.log file for build errors. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Thu Feb 21, 2013 1:43 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
adubya wrote: |
2. Check your E:\MyView\xxxxProject\Source\.metadata\.log file for build errors. |
Thanks dear adubya.. I found the error and it got fixed too.
The error is:
Quote: |
org.osgi.framework.BundleException: Exception in org.eclipse.core.resources.ResourcesPlugin.start() of bundle org.eclipse.core.resources |
Mr.Google shown me lot of posts regarding how this error can get solved.
There are so many ways to solve this error like
-> creating a new workspace
-> by deleting the .metadata/.plugins/org.eclipse.core.resources/.snap file. |
|
Back to top |
|
 |
adubya |
Posted: Thu Feb 21, 2013 2:05 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
I'd recommend specifying the -cleanBuild switch on mqsicreatebar too. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Thu Feb 21, 2013 2:20 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
adubya wrote: |
I'd recommend specifying the -cleanBuild switch on mqsicreatebar too. |
Ofcourse, I tried this by clean the project in the workspace using toolkit before building the bar file, but not in the command line.
And may be it's also one of the reason for the cause of this error.
Any how, thanks for your precious time. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 21, 2013 5:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
if you want better output of the command, try the -debug and -trace switches (don't know if one is not called verbose, would have to check notes)  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nukalas2010 |
Posted: Thu Feb 21, 2013 5:20 am Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 21, 2013 5:27 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I do not think that was the link you meant to post.
You have said that there are no errors in the code when built from the Toolkit.
You have not asserted that the workspace being used to build the code in Toolkit is *exactly* the same workspace being used to build the code with mqsicreatebar.
In other words, open the workspace being used to build the code with mqsicreatebar in Toolkit, and confirm that there are still no errors. |
|
Back to top |
|
 |
nukalas2010 |
Posted: Sat Feb 23, 2013 9:48 pm Post subject: |
|
|
 Master
Joined: 04 Oct 2010 Posts: 220 Location: Somewhere in the World....
|
mqjeff wrote: |
In other words, open the workspace being used to build the code with mqsicreatebar in Toolkit, and confirm that there are still no errors. |
Cross verrified mqjeff.. really there are no errors. |
|
Back to top |
|
 |
mqjeff |
Posted: Sun Feb 24, 2013 6:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqsicreatebar should still be updating worksapce/.metadata/.log |
|
Back to top |
|
 |
|