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 » Can't see any messages in the event viewer on WindowsXP

Post new topic  Reply to topic
 Can't see any messages in the event viewer on WindowsXP « View previous topic :: View next topic » 
Author Message
JYama
PostPosted: Tue Aug 07, 2007 2:48 am    Post subject: Can't see any messages in the event viewer on WindowsXP Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Hi all,

I have a problem with WMB v6.0.0.3 on Windows XP.

I'm trying to output the user-defined messages I created in the event viewer but can't see any outputs in it.
Is there anybody who is familiar with the issue?

I created a message catalog and placed it in the WMB message directory, coded LOG statement in a Compute node like 'LOG EVENT SEVERITY 1 CATALOG 'mycata' MESSAGE 1000 VALUES(1,2,3,4)' as described in the product documentatoin.

I thought that the message would be output in the event viewer but didn't.
I could only find it in the user trace when I enabled 'User Debug Trace'.
The messages coded in the Compute node are only found in the user trace, not the event viewer.

How can I output the user-defined messages to the event viewer on Windows?
What is the difference between Event Viewer outputs and User Trace outputs?
Are there environmental issues that I have to care about?

Now I have completely no idea how I can cope with this situation.

Many thanks in advance,


Last edited by JYama on Wed Aug 08, 2007 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Aug 07, 2007 4:21 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi,
LOG statements should go to the event viewer on windows, have you checked that the application event log is not full??

If it is not, try a simple LOG statement without a CATALOG clause incase the problem is with the catalog...


Cheers,


MGK
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
JYama
PostPosted: Tue Aug 07, 2007 6:38 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Thank you for your information, mgk.

I tried the simple LOG statement but the situation was not changed.
As a result, the problem may be not with message catalogs.

I think my catalog is OK because I can see messages successfully constructed based on my message catalog in the user trace.

Now the problem is that I can not see any outputs in the event viewer that I'm intentionally writing from the Compute Node.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Aug 08, 2007 9:23 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

1: Did you check that the event log was not full?

2: If it still does not work post your full ESQL here.

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
JYama
PostPosted: Wed Aug 08, 2007 4:25 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Thank you very much for your help.

I think the event log is not full as I can see a couple of error messages added during another message flow processing.

My ESQL is as follows, BTW.
Although I tried various ESQL patterns, now I'm trying to output a message as BIP2951 with product message catalog, not my matalog.
Quote:

CREATE COMPUTE MODULE MSGFLW_Common_Error_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
LOG EVENT FULL EXCEPTION MESSAGE 2951 VALUES(
'2951 FULL EXCEPTION', -- para1
'2951 FULL EXCEPTION', -- para2
'2951 FULL EXCEPTION', -- para3
'2951 FULL EXCEPTION', -- para4
'2951 FULL EXCEPTION', -- para5
'2951 FULL EXCEPTION', -- para6
'2951 FULL EXCEPTION', -- para7
'2951 FULL EXCEPTION', -- para8
'2951 FULL EXCEPTION', -- para9
'2951 FULL EXCEPTION' -- para10
);

RETURN TRUE;
END;
END MODULE;

One curious thing is that the message is successfully built with the message catalog but doesn't appear in the event viewer...
Back to top
View user's profile Send private message
mgk
PostPosted: Thu Aug 09, 2007 6:06 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Well the code you posted above works fine for me.

If you still can't get it to work, I suggest you raise a PMR.


regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Thu Aug 09, 2007 6:19 am    Post subject: Reply with quote

Grand Master

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

Make sure that your application event log is set to "Overwrite events as needed".

As Matt says, if you still get problems raise a PMR.
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 » Can't see any messages in the event viewer on WindowsXP
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.