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 » Lost source

Post new topic  Reply to topic
 Lost source « View previous topic :: View next topic » 
Author Message
danf
PostPosted: Wed Oct 26, 2011 2:44 pm    Post subject: Reply with quote

Novice

Joined: 26 Oct 2011
Posts: 10

Hey guys!
Where, exactly, are the flows source files? Can I recover this files? I created .bar with source.
My problem is that I lost all my toolkit with projects and .bar... and I need the flow that I have running in the Broker machine.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 26, 2011 4:54 pm    Post subject: Reply with quote

Grand High Poobah

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

danf wrote:
Where, exactly, are the flows source files? Can I recover this files? I created .bar with source.


If by that you mean you ticked the optional box to include the source in the bar file, then unsurprisingly the source is in the bar file.

danf wrote:
My problem is that I lost all my toolkit with projects and .bar... and I need the flow that I have running in the Broker machine.


There is a simple solution; restore the Toolkit from your most recent backup. Or recover the projects from your source code repository.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
danf
PostPosted: Wed Oct 26, 2011 5:26 pm    Post subject: Reply with quote

Novice

Joined: 26 Oct 2011
Posts: 10

Thank you, Vitor, for your reply.

Yes, I checked the optional ticked to include the source, but I don´t have the bar. Is it in some place on the broker machine? Where?

I lost my laptop before doing any backup. I only have the flows running in a Broker.

I found the message set in /var/mqsi/components/BROKER_NAME/5b900399-3201-0000-0080-e13fcf1b538f/config/XSD

and the jar in
/var/mqsi/components/BROKER_NAME/5b900399-3201-0000-0080-e13fcf1b538f/config/JAR --- my jar

But I can´t find tha bar or flow.



Vitor wrote:
danf wrote:
Where, exactly, are the flows source files? Can I recover this files? I created .bar with source.


If by that you mean you ticked the optional box to include the source in the bar file, then unsurprisingly the source is in the bar file.

danf wrote:
My problem is that I lost all my toolkit with projects and .bar... and I need the flow that I have running in the Broker machine.


There is a simple solution; restore the Toolkit from your most recent backup. Or recover the projects from your source code repository.

Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Oct 26, 2011 10:32 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.

So you don't have any form of backup of your work?

Nothing saved to a USB stick?
nothing saved to a file share somewhere?
Nothing is Source Control?

Sigh.

Oh well, most of us here have been in a similar position at least once in our careers. This may well turn out to have been a valuable lesson for you in the future.



If you look at the options in mqsireportproperties you can get broker to output the running ESQL. Then you only need to code the flow again.

_________________
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
mqmatt
PostPosted: Wed Oct 26, 2011 11:50 pm    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Also, http://www.mqseries.net/phpBB2/viewtopic.php?t=56099
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 27, 2011 4:42 am    Post subject: Reply with quote

Grand High Poobah

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

mqmatt wrote:
Also, http://www.mqseries.net/phpBB2/viewtopic.php?t=56099


Assuming WMBv7 at the correct version of course.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 27, 2011 4:44 am    Post subject: Reply with quote

Grand High Poobah

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

danf wrote:
I don´t have the bar. Is it in some place on the broker machine?



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 27, 2011 6:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you have failed to do the professional things to ensure that you can continue to develop and maintain your code that you are attempting to deploy...

Then you need to stand up and admit to yourself that you have made a big mistake.

Then you need to make efforts to *learn* from your mistake.

Then you need to recode things from scratch, and while doing so make sure to do the professional things to ensure that you can continue to develop and maintain your code.
Back to top
View user's profile Send private message
JLRowe
PostPosted: Thu Oct 27, 2011 6:42 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

You can retrieve a dump of the message flows with the mqsireportproperties command, it gives the flow layout and ESQL in a 'mangled' form. But, you can easily work out the flow layout and copy in the ESQL from the file produced. Not a trivial exercise, but better than telling the boss that you're incompetent and need to re-code everything!
Back to top
View user's profile Send private message Send e-mail
danf
PostPosted: Thu Oct 27, 2011 6:55 pm    Post subject: Reply with quote

Novice

Joined: 26 Oct 2011
Posts: 10

wow!

First: Thak your a lot for your help!

Second: Very useful your technical help, your scolding not so much.


Anyway, thank you.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Oct 27, 2011 10:02 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.

smdavies99 wrote:
. This may well turn out to have been a valuable lesson for you in the future.



Only time will tell....
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Lost source
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.