|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Why does my ActivityLog.Timestamp is always NULL? |
View previous topic :: View next topic |
Author |
Message
|
issac |
Posted: Wed Apr 23, 2014 8:49 pm Post subject: Why does my ActivityLog.Timestamp is always NULL? |
|
|
 Disciple
Joined: 02 Oct 2008 Posts: 158 Location: Shanghai
|
Hello, experts
I'm using activity log to diagnose DB slow issues. This is the output from ConfigManagerProxyExerciser. Why is timestamp null all the time?
I tried writing my own app
Code: |
StringBuffer sb = new StringBuffer("LOG ENTRY {").append("\n");
sb.append("\tTIMESTAMP: ").append(ale.getTimestamp() == null ? "[Timestamp Unavailable]" : DatetimeUtility.formatDate("yyyy-MM-dd HH:mm:ss", ale.getTimestamp())).append("\n");
sb.append("\tMESSAGE: ").append(ale.getMessageNumber()).append("\t").append(ale.getMessage()).append("\n");
|
The time stamp is also null.
I tried using MB explorer, it says "NullPointerException" and failed to render the view...
40:27 82: {message=BIP12075I, detail=BIP12075I: 对“VASDB”执行数据库语句
对数据源“VASDB”执行数据库语句, source=BIPmsgs, timestamp=null, threadId=2964, threadSequenceNumber=81}
12:40:27 83: {message=BIP12074I, detail=BIP12074I: 对“VASDB”执行数据库语句
对数据源“VASDB”执行数据库语句, source=BIPmsgs, timestamp=null, threadId=2964, threadSequenceNumber=82}
12:40:27 84: {message=BIP12075I, detail=BIP12075I: 对“VASDB”执行数据库语句
对数据源“VASDB”执行数据库语句, source=BIPmsgs, timestamp=null, threadId=2964, threadSequenceNumber=83}
12:40:27 85: {message=BIP12074I, detail _________________ Bazinga! |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|