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 » Broker 6.1 - where is the .bar file?

Post new topic  Reply to topic
 Broker 6.1 - where is the .bar file? « View previous topic :: View next topic » 
Author Message
BretHillier
PostPosted: Tue Sep 18, 2012 6:08 pm    Post subject: Broker 6.1 - where is the .bar file? Reply with quote

Novice

Joined: 23 May 2012
Posts: 18

Hi everyone

This is really frustrating me.

In a Broker 6.1 environment I need to find out the location of the .bar files that are currently deployed. It is a Linux server. How can this information be found out using only the tools/commands available on the linux server? (ie no toolkit).

I am wishing to find this info out so I can actually winscp the .bar files off the server.

I thought there would be some sort of mqsi command which would show this information.

Bret.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Sep 18, 2012 9:12 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Barfiles are located where you deployed them from. There is not set directory for them in V6.1 or any other directory for that matter.

Therefore, do you mean the following:-

"Where are the .bar files stored on a V6.1 Linux System after they have been deployed to it?"

If this is correct, then the answer is:-

There isn't one. The contents of the .BAR files are extracted (it is .zip format) and deployed around the system according to their object type. There is no one place that they reside. Perhaps you were thinking that they were like .jar files on an ApplicationServer setup?
If I'm wrong please explain in a bit more detail as to what you mean.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mapa
PostPosted: Tue Sep 18, 2012 9:43 pm    Post subject: Reply with quote

Master

Joined: 09 Aug 2001
Posts: 257
Location: Malmö, Sweden

As previous reply with the addition that you can do it with mqsi-commands in WMB7 (not sure if it was already in GA or introduced in FP).
Don't help you much though if you are on 6.1

mqsilist now has a detail level (output below is from my WMB8 laptop but I verified it on a WMB7.0.0.3 running on AIX as well).

Code:

mqsilist MB8BROKER -e default -d2

BIP1288I: Message flow 'Video_Test' on execution group 'default' is running.

Additional thread instances: '0'
Deployed: '2012-09-12 11:15' in Bar file 'C:/var/workspaces/wmbt80/GeneratedBarFiles/Video Message Flows/Video_Test.msgflow.generated.bar'



After in a 6.1 migration project trying to track down correct versions of flows I know that sometimes you need this information unfortunately. (during migration svn-keywords and proper buildtools where introduced so that we now know 100% where the flows are originating from...)
Back to top
View user's profile Send private message Visit poster's website
lancelotlinc
PostPosted: Wed Sep 19, 2012 4:56 am    Post subject: Re: Broker 6.1 - where is the .bar file? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

BretHillier wrote:
Hi everyone

This is really frustrating me.

In a Broker 6.1 environment I need to find out the location of the .bar files that are currently deployed. It is a Linux server. How can this information be found out using only the tools/commands available on the linux server? (ie no toolkit).

I am wishing to find this info out so I can actually winscp the .bar files off the server.

I thought there would be some sort of mqsi command which would show this information.

Bret.


Hence the importance of Source Code Control system. Didn't your company store the source code in a Source Code Version Control System?

If not, why not? Lessons learned.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Sep 19, 2012 10:24 am    Post subject: Re: Broker 6.1 - where is the .bar file? Reply with quote

Grand High Poobah

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

BretHillier wrote:
Hi everyone

This is really frustrating me.

In a Broker 6.1 environment I need to find out the location of the .bar files that are currently deployed. It is a Linux server. How can this information be found out using only the tools/commands available on the linux server? (ie no toolkit).

I am wishing to find this info out so I can actually winscp the .bar files off the server.

I thought there would be some sort of mqsi command which would show this information.

Bret.

Have you looked at the CMP API exerciser? You should be able to retrieve the same information as when using the toolkit. And by the way the toolkit is available for the Linux86 platform... whether you installed it or not!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
NealM
PostPosted: Wed Sep 19, 2012 10:43 am    Post subject: Reply with quote

Master

Joined: 22 Feb 2011
Posts: 230
Location: NC or Utah (depends)

Just one other point about the v6.1 Toolkit: If you can connect to your Broker from a Toolkit in Admin mode (via QMgr and ConfigMgr), when you click on a deployed flow, etc, the same deployed-from info that mapa pointed out is available via mqsilist, also shows up on the Toolkit in the Properties panel, no matter how it was actually deployed. Neither tell you what physical machine actually deployed it, but usually the barfile path gives you a pretty good clue.

And regarding the bar file contents, I'm pretty sure they can be found in one form in the broker's config manager's BERNARD database, (How else would the deploy info be available to mqsilist and various Toolkits beside the deployer's? You can see the path data in BERNARD\log's lognn.dat files). But how you would successfully retrieve anything useful out of those \seg0\ xxxx.dat files is beyond me. Besides, there is a lock on it for a reason.
Back to top
View user's profile Send private message
BretHillier
PostPosted: Wed Sep 19, 2012 1:52 pm    Post subject: Reply with quote

Novice

Joined: 23 May 2012
Posts: 18

Thanks for your comments everyone - most appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Broker 6.1 - where is the .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.