• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Top Tip - WebSphere 4.0 Activity Log.

 
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WebSphere 4 produces an activity log file in c:\%websphere_install_dir%\AppServer\logs\activity .log which traps server/application errors. In the absance of an application debug framework this file can prove extremely useful.
It needs to be formatted using the WebSphere "showlog.bat" utility in c:\%websphere_install_dir%\AppServer\bin.
call showlog d:\ibm\websphere\appserver\logs\activity.log > d:\ibm\websphere\appserver\logs\activity_formatted.
log
Produces error messages like:
ComponentId:
ProcessId: 1548
ThreadId: 615c7735
FunctionName:
ProbeId:
SourceId: com.ibm.ejs.security.registry.ldap.LdapRegistryImpl
Manufacturer: IBM
Product: WebSphere
Version: AE 4.0.4 ptf40230.02
SOMProcessType:
ServerName: server1/Default Server
ClientHostName:
ClientUserId:
TimeStamp: 2002-09-24 14:33:29.672000000
UnitOfWork:
Severity: 1
Category: ERROR
FormatWarning:
PrimaryMessage:
ExtendedMessage: SECJ0153E: Invalid LDAP user ID
RawDataLen: 0
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Patrick,
I have always wondered about the activity .log Seems like most of the information can be found in the stdout/stderr/trace files. Then why the activity.log file?
 
Patrick Finnegan
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Standard out/standard error are application server specific. Activity log covers all application servers running in Websphere Instance plus it wraps.
 
Shalini Komarla
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
aha..thanks.
Since we have only app running, I never did see the benefit of an activity.log file.
 
reply
    Bookmark Topic Watch Topic
  • New Topic