It looks like you're getting to your "services disconnected" print line.
Are you hanging after that line?

Gary

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Thursday, May 01, 2008 11:56 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: JTOpen ProgramCall doesn't work

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(ClientAccessDataS
tream.java:48)
at
com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:3
27)
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(ClientAccessDataS
tream.java:50)
at
com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:3
27)
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.

--
James H. H. Lampert
Touchtone Corporation

--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



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.