Gary L Peskin wrote:
Trace.setTraceOn(true)

just turns tracing for all enabled trace categories. However, by default,
all trace categories are disabled. Try inserting the following -before- the
above statement:

Trace.setTraceAllOn(true);

Aha. Now, we're getting somewhere:

Toolbox for Java - Open Source Software, JTOpen 4.2, codebase 5722-JC1 V5R3M0
trace enabled
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Disconnecting all services...
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-file
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-netprt
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Sending end job request...
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Data stream sent...
00 00 00 14 00 00 E0 08 00 00 00 00 00 00 00 00 00 00 10 04 Thread[AS400 Read Daemon-1,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Data stream data received...
Thread[AS400 Read Daemon-1,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Failed to read all of the data stream header.
java.lang.Throwable
at com.ibm.as400.access.Trace.logData(Trace.java:600)
at com.ibm.as400.access.Trace.log(Trace.java:640)
at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:48)
at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:327)
at java.lang.Thread.run(Thread.java:595)
Thread[AS400 Read Daemon-1,5,main] Thu May 01 10:52:37 GMT-08:00 2008 run(): Caught IOException:
com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly.
at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:50)
at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:327)
at java.lang.Thread.run(Thread.java:595)
Thread[AS400 Read Daemon-1,5,main] Thu May 01 10:52:37 GMT-08:00 2008 run(): Notifying threads after IOException.
Thread[AS400 Read Daemon-1,5,main] Thu May 01 10:52:37 GMT-08:00 2008 run(): Threads notified after IOException.
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Server disconnected
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-rmtcmd
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-dtaq
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-database
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-ddm
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-central
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 Service disconnected implementation: as-signon
Thread[main,5,main] Thu May 01 10:52:37 GMT-08:00 2008 All services disconnected.
services disconnected

But I'm not sure what all that means.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.