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 » Failed to locate constant

Post new topic  Reply to topic
 Failed to locate constant « View previous topic :: View next topic » 
Author Message
mike123
PostPosted: Fri May 18, 2012 12:05 am    Post subject: Failed to locate constant Reply with quote

Newbie

Joined: 17 May 2012
Posts: 4

I am facing the error "Failed to locate constant in Production in exception.

Below is the scnerion on the above errror:

1)we are receving the file from FTP and the file was placed in the some "src_eai" Folder
2)File input node receves the file from the "src_eai and moves to the mqsiarchive folder.
3)Next we are inserting the data in the database and transformation
4)we could see the data empty in the database and during the transformation the data its getting failed and we are getting the Error "Failed to locate constant"

Could you please let us know why there is no data in the database.As the file was processing and it moves to the MQSIARCHIVE FOLDER
Back to top
View user's profile Send private message
Esa
PostPosted: Fri May 18, 2012 12:26 am    Post subject: Re: Failed to locate constant Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

mike123 wrote:

Could you please let us know why there is no data in the database.As the file was processing and it moves to the MQSIARCHIVE FOLDER

Obviously your exception handling lets the FileInput node commit after the exception.
Run user trace and you will know the cause of the problem. It seems your exception handling does not log the whole exception tree, otherwise you would know the cause.

If and when you need more help, it is a good practice to provide information on you broker and OS version.
Back to top
View user's profile Send private message
mike123
PostPosted: Fri May 18, 2012 2:24 am    Post subject: Failed to locate constat Reply with quote

Newbie

Joined: 17 May 2012
Posts: 4

Thanks ESA for the kind reply.

I am not seeing this exception for all the files.which we are receving.Its only for few files.

The failed files which has a copy in mqsiarchive folder.when we are replaying the files again placing the file back agian to in src_eai_in folder this time the file is getting processing successfully.But during first time its getting failed.

Here why its getting failed during first time during ftp and why its getting succes during replay by manually placing the file in the src_eai folder

In the exceptioin we are getting full exception with parser exception at Resecent content descritor node where we are doing message validation with message set.

The root cause of the parser exception is since there is no body in the messge its gettting failed with parser exception.

Please suggest on the file processing issue..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 18, 2012 2:34 am    Post subject: Reply with quote

Grand High Poobah

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

if your file is being ftp'd over I suggest you ftp it into a different directory and do the move to the broker pickup directory as a post ftp step.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mike123
PostPosted: Fri May 18, 2012 9:26 am    Post subject: Failed to locate constant Reply with quote

Newbie

Joined: 17 May 2012
Posts: 4

Thnaks fjb_saper for the reply..

We tried this option also placing the file in temp folder and moved to the broker acces folder i.e src_eai_in.

In this scenerio also we are facing the error "failed to locate constant" where the file was sucessfully moving to the MQSIARCHIVE folder but having o byte file in the database.

Do we have any other option on the error.Pleae let me know
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 18, 2012 10:48 am    Post subject: Reply with quote

Grand High Poobah

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

maybe you need to treat DB warnings as errors?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mike123
PostPosted: Sat May 19, 2012 1:18 am    Post subject: Failed to locate constant Reply with quote

Newbie

Joined: 17 May 2012
Posts: 4

The issue with is not only a o byte in the Database.

We are not seeing any message in the queeu also.

Why the file was not processing after the file was copied to mqsiarchive where there is no data in the Body in MESSAGE TREE STRUCTURE which gets failed in the Message flow processing.

Any more suggestion more?
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 » Failed to locate constant
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.