Author |
Message
|
viwmb |
Posted: Wed Aug 01, 2012 2:51 pm Post subject: Error while building a bar file through message flows: |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
Hello Friends,
i am trying to build a bar file with messageflows and a java compute through the command line with the mqsicreatebar command and i am getting the following error:
BIP0965E Error compiling files in mqsicreatebar.
The message is:
Path for project must have only one segment.
I even tried to shuffle the messageflows and build but no luck, can anyone give me an idea inorder to get out of this.
Thanks |
|
Back to top |
|
 |
MBMQDeveloper |
Posted: Wed Aug 01, 2012 9:37 pm Post subject: |
|
|
Novice
Joined: 02 Jul 2012 Posts: 19
|
Did you try building the 'bar file' using toolkit? |
|
Back to top |
|
 |
viwmb |
Posted: Thu Aug 02, 2012 10:21 am Post subject: MBMQdeveloper |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
I am able to build the bar file with the toolkit but not able to do it with the command mqsicreatebar. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 02, 2012 10:33 am Post subject: Re: MBMQdeveloper |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
viwmb wrote: |
I am able to build the bar file with the toolkit but not able to do it with the command mqsicreatebar. |
Are you using the *same* workspace, or a *different* workspace.
If you are using a *different* workspace, then you need to open that workspace with the Toolkit. |
|
Back to top |
|
 |
viwmb |
Posted: Fri Aug 03, 2012 1:03 pm Post subject: Are you using the *same* workspace, or a *different* workspa |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
@mqjeff: I have copied all the projects to a different workspace and started building but in vain as i am getting the same error and as said earlier i worked good building the bar file with the toolkit. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 03, 2012 2:05 pm Post subject: Re: Are you using the *same* workspace, or a *different* wor |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
viwmb wrote: |
@mqjeff: I have copied all the projects to a different workspace and started building but in vain as i am getting the same error and as said earlier i worked good building the bar file with the toolkit. |
Okay.
Again.
When you have a workspace that doesn't build using mqsicreatebar, the way to troubleshoot this is to open that workspace with Toolkit.
If you do that, and Toolkit shows NO errors, then the problem is with the options you're giving to mqsicreatebar.
If you do that, and toolkit shows ERRORS, then that is the problem. |
|
Back to top |
|
 |
sovee |
Posted: Fri Aug 03, 2012 3:07 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2012 Posts: 12
|
Can you display the mqsicreate bar command here with the options that you are using |
|
Back to top |
|
 |
viwmb |
Posted: Fri Aug 03, 2012 3:38 pm Post subject: Same work space as of toolkit |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
@MQJEFF:
mqsicreatebar -data C:\Workspace -b workspace_wbt801.bar -p ExceptionReport_MSP FitnessReport_MSP COLL_HBI BPS_MFPJava -o ExceptionReport_MSP\ExceptionReport_MS\messageSet.mset COLL_HBI\LUW\COLL_HBI.msgflow BPS_MFPJava\BPS\Main_ExtractZip_JavaCompute
i am using the above command with a message set,a message flow with the Java compute node.
The workspace which i am using to build the bar in the toolkit is the same workspace which i am using to build the bar file through the command line. I even tried doing by changing the workspace in the command line. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 04, 2012 5:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
Path for project must have only one segment. |
And this was not a hint?
Check your params and see where you have strayed...
What if you remove following parts from your -o part?:
ExceptionReport_MSP\ExceptionReport_MS\messageSet.mset
BPS_MFPJava\BPS\Main_ExtractZip_JavaCompute
Would that fix your problem?? Check out error messages and THINK. The 2 above referenced items would be covered by telling mqsicreatebar that they are part of a referenced project, right?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
viwmb |
Posted: Sat Aug 04, 2012 9:13 am Post subject: @fjb_saper |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
Both of them are referred to other projects such as java_compute is referred to a message flow project and eccption rePort is referred to one of the message set project. I have already tried what you said but throwing me the error saying that these particular files are missing..
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 04, 2012 2:53 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you tried them with a forward slash instead of a backslash?
and please post the corresponding error in full  _________________ MQ & Broker admin |
|
Back to top |
|
 |
viwmb |
Posted: Sat Aug 04, 2012 3:29 pm Post subject: |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
@fjbsaper:
I have copied the path from the windows and pasted it in the command line and I have not tried with the forward slash and here is the error what I got...
BIP0965E Error compiling files in mqsicreatebar.
The message is:
Path for project must have only one segment.
Thanks |
|
Back to top |
|
 |
sovee |
Posted: Tue Aug 07, 2012 1:02 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2012 Posts: 12
|
I guess there is a space in teh project name(between MSP and COLL) that you have given
mqsicreatebar -data C:\Workspace -b workspace_wbt801.bar -p ExceptionReport_MSP FitnessReport_MSP COLL_HBI BPS_MFPJava -o ExceptionReport_MSP\ExceptionReport_MS\messageSet.mset COLL_HBI\LUW\COLL_HBI.msgflow BPS_MFPJava\BPS\Main_ExtractZip_JavaCompute
And that is what the error says "Path for project must have only one segment". You need to check the project path again |
|
Back to top |
|
 |
viwmb |
Posted: Tue Aug 07, 2012 1:35 pm Post subject: I guess there is a space in teh project name |
|
|
Novice
Joined: 22 Jul 2012 Posts: 19
|
@sovee:
They are two different projects. Ending with MSP is a project and i have already cross checked the path of the project. |
|
Back to top |
|
 |
sovee |
Posted: Tue Aug 07, 2012 2:13 pm Post subject: |
|
|
Novice
Joined: 23 Jul 2012 Posts: 12
|
I doubt whether you can use two different projects at the same time. You can add any number of files to the same project though. I will leave it to the experts to answer |
|
Back to top |
|
 |
|