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 » mqsicreatebar command on Windows Server 2003

Post new topic  Reply to topic Goto page 1, 2  Next
 mqsicreatebar command on Windows Server 2003 « View previous topic :: View next topic » 
Author Message
mustang
PostPosted: Tue Aug 25, 2009 1:14 pm    Post subject: mqsicreatebar command on Windows Server 2003 Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

I installed the WMB 6.1 toolkit on my PC (Windows XP SP2). When I run the mqsicreatebar command from my PC, it creates the bar file without incident.

We also have the WMB 6.1 toolkit on our build server (Windows Server 2003 SP2). However, unlike the instance on my PC, we get the following error when we run the command from the server:

D:\WMBT610>mqsicreatebar
The system cannot execute the specified program.

(we actually receive that error when we run any of the mqsi commands from the build server)

Any ideas?

Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 25, 2009 1:35 pm    Post subject: Re: mqsicreatebar command on Windows Server 2003 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mustang wrote:
Any ideas?


This user on this PC doesn't have the mqsiprofile run on.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Aug 26, 2009 5:09 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

I ran the mqsiprofile command, and I received the same result:

D:\WMBT610>"C:\Documents and Settings\All Users\Application Data\IBM\MQSI\Common\profiles\mqsitooling.cmd"

D:\WMBT610>MQSICREATEBAR
The system cannot execute the specified program.


Neither machine has the broker installed on it, just the toolkit.

The Windows Server 2000 box can run the WMB 6.0 mqsicreatebar command (wmbt6.0_install_dir/eclipse/mqsicreatebar.exe), but not the WMB 6.1 mqsicreatebar command(wmbt6.1_install_dir/mqsicreatebar.exe). The Windows XP box can run both.

Thanks!
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Aug 26, 2009 5:13 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

mustang wrote:
I ran the mqsiprofile command,


No you didnt (at least not from the snippet you have shown us).

To run the mqsiprofile command you need to type "mqsiprofile" and not "mqsitooling.cmd"
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Aug 26, 2009 5:24 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

Oops. Sorry. I did as you suggested, and received this reply:

D:\WMBT610>mqsiprofile
'mqsiprofile' is not recognized as an internal or external command,
operable program or batch file.


The file is not located in the install_dir\bin folder. I presume because only the toolkit is installed (not the broker).

Thanks!
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Aug 26, 2009 5:31 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

In fact thinking about this a little more....

I don think mqsiprofile is needed for the mqsicreatebar command. Vitor, where did you get this idea from?

Might be time to raise a PMR?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 26, 2009 6:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

In Windows, if one wishes to LOAD a script inside the current environment rather than execute it in a NEW environment, one must CALL it.

Code:
call "c:\program files\IBM\mqsi\6.1\bin\mqsiprofile.cmd"


However, WMBDEV1 is correct that mqsicreatebar is a Toolkit command and not a Runtime command, and so does not need to execute in a shell that has the runtime mqsiprofile applied to it.

I suspect the original problem is a PATH issue or typing issue. mustang, try using ".\mqsicreatebar.exe " from D:\WMBT610 instead of just "mqsicreatebar".
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Aug 26, 2009 7:14 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

I am sorry, but I get the same result:

D:\WMBT610>.\mqsicreatebar.exe
The system cannot execute the specified program.

I am not sure it is a path or typing error, because it appears the operating system is locating the program. The error I get when I miskey the command is as follows:

D:\WMBT610>.\mqsicreatebaa.exe
'.\mqsicreatebaa.exe' is not recognized as an internal or external command,
operable program or batch file.


The feedback when I run the command without parameters from my PC (where it is currently working) is as follows:
D:\IBM\SDP70>.\mqsicreatebar.exe
BIP0955I Compile a broker archive file from source.
Syntax: mqsicreatebar -data workspace -b barName [-version id] [-esql21]
[-p projectName [...]] -o filePath1 [filePath2 [...]]
Command Options:
'-data workspace' workspace location (Mandatory)
'-b barName' bar file name to create or replace
'-cleanBuild' refresh the workspace projects and perform a clean build before ad
ding
'-version id' appends '_' and id to compiled names in the archive (optional)
'-esql21' compile ESQL for brokers version 2.1 (optional)
'-p projectName' specify projects containing files to link (optional, multiple
projects can be specified)
'-o filePath1' workspace relative path (including the project) of deployable
files to add to the broker archive. Multiple deployable files can be com
piled
in a single mqsicreatebar command.


Thanks!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 26, 2009 7:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Then the install is broken, or the user trying to run the command doesn't have the necessary privileges.

Are there messages in the Event Viewer?
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Aug 26, 2009 7:37 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

There are errors in the Event Viewer! Do you recommend the toolkit be uninstalled and re-installed, or does it appear to be just missing some configuration?

Event Viewer Log Entries:
------------------------------------------------------------------------------------
Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 8/26/2009
Time: 10:30:18 AM
User: N/A
Computer: BUILDSVR
Description:
Generate Activation Context failed for D:\WMBT610\mqsicreatebar.exe. Reference error message: The referenced assembly is not installed on your system.
.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

------------------------------------------------------------------------------------

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 8/26/2009
Time: 10:30:18 AM
User: N/A
Computer: BUILDSVR
Description:
Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.
.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

------------------------------------------------------------------------------------

Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 32
Date: 8/26/2009
Time: 10:30:18 AM
User: N/A
Computer: BUILDSVR
Description:
Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 26, 2009 8:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I suspect you have failed to install a necessary dependancy for the Toolkit. I can't quite say from here which one.

I would uninstall, and reinstall and make sure before you do the reinstall that you have installed all the prerequisites.

If that still produces the same issue, then open a PMR.
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Aug 26, 2009 11:36 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

Thanks!
Back to top
View user's profile Send private message
miked
PostPosted: Sun Aug 30, 2009 6:28 pm    Post subject: Reply with quote

Newbie

Joined: 30 Aug 2009
Posts: 1

I downloaded the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update and installed it, the command line mqsicreatebar then worked.
Back to top
View user's profile Send private message
JohnSmith
PostPosted: Mon Apr 19, 2010 3:15 am    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

miked wrote:

Quote:
I downloaded the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update and installed it, the command line mqsicreatebar then worked.


we also faced the same problem on one of our development server and after installing the above mentioned fix pack we managed to resolve the problem. Just want to highlight here so that others can see it is already a few times tested method if faced with similar issue in the future.
Back to top
View user's profile Send private message
skidewd
PostPosted: Tue Apr 20, 2010 6:15 am    Post subject: Reply with quote

Novice

Joined: 20 Mar 2010
Posts: 12

JohnSmith wrote:
miked wrote:
we also faced the same problem on one of our development server and after installing the above mentioned fix pack we managed to resolve the problem. Just want to highlight here so that others can see it is already a few times tested method if faced with similar issue in the future.


Just keep in mind that 6.1 version of WMB Toolkit is not 'officially' supported on Windows Server 2003 SP2.
Back to top
View user's profile Send private message
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 » mqsicreatebar command on Windows Server 2003
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.