Enabling trace for a WebSphere Application Server v5.x

You can enable or disable trace support for a WebSphere Application Server v5.x test environment or server. You can use trace to obtain detailed information about the execution of run-time components, including application servers, clients, and other processes in the environment. Trace files show the time and sequence of methods called by run-time base classes, and you can use these files to pinpoint the failure.

To enable or disable tracing:

  • In the Servers view, double-click the server to open it. The server editor opens.
  • Click the Trace tab at the bottom of the editor.
  • Select the Enable trace check box.
  • In the Trace string text box, type a trace string that specifies the components, packages, or groups to trace. The trace string should be entered in the following format: component = trace_type = enabled, where component is the component for which to enable or disable tracing, and trace_type is the type of tracing to enable or disable. For example, to see how the connection manager pool is behaving, type com.ibm.ejs.cm.*=all=enabled in this box.
  • In the Trace output file field, type the directory where you want the log saved.
  • Save and close the server editor.

javax.net.ssl.SSLHandshakeException: certificate expired

None of the below is worked, RAD 6.0 already came with this fix patch installed, at least patch-installer tole me that.

looked at traces using–

By configuring through the javax.net.debug system property, JSSE provides the following dynamic debug tracing: -Djavax.net.debug=true.

RAD 6.0

Websphere Test Environment

WebSphere Platform 5.1 [BASE 5.1.1 a0426.01] [JDK 1.4.2 cn1420-20040626]
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.4.2 IBM J9 build 20040610 (JIT enabled), Java Compiler = j9jit21, Java VM name = IBM J9SE VM


Can’t get connection to HTTPS url using httpclient, getting exception
java.net.SocketException: Socket is not connected

Ran the troubleshooting test provided by httpclient


javax.net.ssl.SSLHandshakeException: certificate expired

According to IBM

PQ77261: Default certificates will expire on 01/15/2004.

And Upgrading WebSphere Application Server V5.1 Test Environment to V5.1.1

Downloaded WebSphere Application Server V5.1.1 Cumulative Fix 10 for Windows (over 200MB)

APAR status
Closed as program error.

Error description
When the certificates expire, the following message is

[8/7/04 12:42:29:305 CDT] 649778c2 ORBRas X
com.ibm.CORBA.iiop.IIOPConnection send
(IIOPOutputStream, OneWay)
P=540553:O=0:CT The following exception was logged
javax.net.ssl.SSLHandshakeException: certificate expired

Local fix

Problem summary
* USERS AFFECTED: All WebSphere Application Server users who *
* have enabled security and have not *
* configured new SSL Trust and Key stores. *
* PROBLEM DESCRIPTION: The default certificates will expire *
* on 1/15/2004. *
The default certificates will expire on 1/15/2004. This will
prevent servers from initializing and will cause servers to
stop operating if already started when the certificates

The following error messages will appear in the tracefile
during server startup:

[10/10/04 16:58:12:557 CDT] 6434c6c1 ORBRas
X com.ibm.CORBA.iiop.IIOPConnection send(IIOPOutputStream,
OneWay) P=484786:O=0:CT The following exception was logged
javax.net.ssl.SSLHandshakeException: certificate expired
at com.ibm.jsse.bd.a(Unknown Source)
at com.ibm.jsse.b.a(Unknown Source)
at com.ibm.jsse.b.write(Unknown Source)

[10/10/04 16:58:12:757 CDT] 6434c6c1 AdminServer
X WSVR0009E: Error occurred during startup
java.lang.RuntimeException: com.ibm.ejs.EJSException: Could
not register with Location Service Daemon;
nested exception is:
at com.ibm.ws.runtime.Server.initializeOrb
at com.ibm.ws.runtime.Server.initializeRuntime0
at com.ibm.ejs.sm.server.ManagedServer.

Problem conclusion
New certificates were created that will not expire until 2021.
It is important to note that these certificates (or the
original ones) should not be used if IIOP over SSL and HTTPS
communications need to be secure.
Temporary fix
APAR information
APAR number PQ77261
Reported component name WEBSPHERE AE AI
Reported component ID 5630A2200
Reported release 400
Submitted date 2003-08-07
Closed date 2003-09-29
Last modified date 2003-09-29

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:



Fix information

Applicable component levels

tail -f on Windows

Is there an equivalent of Unix tail -f in Windows 2000

See tips 6705 and 4574 in the ‘Tips & Tricks’ at http://www.jsiinc.com

Q. How can I count the number of lines in a file, and/or display the last n lines?
A. I have scripted Tail.bat to perform both functions.

The syntax is:

tail FileName [NumberOfLinesToDisplay]

If NumberOfLinesToDisplay is 0, you can set the file line count by using:

for /f %%i in ('tail FileName 0') do set lines=%%i

If NumberOfLinesToDisplay is omitted, 10 lines will be displayed.

If NumberOfLinesToDisplay is greater than the lines in the file, all lines in the file will be displayed.

Tail.bat contains:

@echo off
if {%1}=={} @echo FileName parameter requied.&goto :EOF
if not exist %1 @echo %1 does NOT exist.&goto :EOF
set file=%1
set /a number=10
if not {%2}=={} set /a number=%2
for /f %%i in ('find /v /c "" ^


If you are running Windows XP or higher download Windows Server 2003 Resource Kit Tools.


If you dont like or cant use any of above download baretail.exe (only 186k) from WinTail