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 » Duplicate variable declaration deploy error in WBI MB

Post new topic  Reply to topic
 Duplicate variable declaration deploy error in WBI MB « View previous topic :: View next topic » 
Author Message
AndyT
PostPosted: Sat Nov 06, 2004 9:07 pm    Post subject: Duplicate variable declaration deploy error in WBI MB Reply with quote

Novice

Joined: 05 Nov 2003
Posts: 17
Location: Work

When deploying a bar file to the broker I receive an error message saying that a variable has been defined more than once in the current scope. The deployment fails.

The error message description is pretty clear BUT the variable declaration only exists once in the message flow ESQL. (The variable declaration is for a namespace).

The flow has been deployed successfully in the past. The changes made that require the re-deployment are pretty trivial and do not affect the variable at all.

Another developer in my team also had this error some time ago (in a different message flow). He changed the name of the variable and it deployed OK.

Has anybody seen this error before and/or have any ideas what may cause it?
Back to top
View user's profile Send private message
JLRowe
PostPosted: Sun Nov 07, 2004 3:39 am    Post subject: Reply with quote

Yatiri

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

You probably have another project open, that contains the same definition within the same broker schema. When you deploy, all code for the broker schema is deployed - even if it crosscuts against several open projects.
Back to top
View user's profile Send private message Send e-mail
AndyT
PostPosted: Wed Nov 10, 2004 9:22 pm    Post subject: Reply with quote

Novice

Joined: 05 Nov 2003
Posts: 17
Location: Work

I am replying to my own post in case anybody else has the same problem I reported.

I verified that no other projects contained the same declaration but the problem persisted. In the error message display in the Event Log window the declarative was shown twice and then the rest of the ESQL displayed.

I then attempted to re-add the msg flow to the bar file. I now got another message telling me that the ESQL module could not be found (Function Main()).

I decided that something was corrupt in my workspace so going on advice from IBM I did the following:

    Copied my project directories from the eclipse workspace to a back-up location
    Deleted the projects via the toolkit, selecting the delete source option
    Recreated the projects via the toolkit
    Copied the ESQL & msg flow files back to their respective projects.


Hey presto, Bob's your uncle, everything now works again! But what a pain in the posterior.
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 » Duplicate variable declaration deploy error in WBI MB
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.