× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James Lampert wrote:
David Gibbs wrote:

Trace.setTraceOn(true);

Hmm. You learn something new every day.

But alas, all that gets me is:
"Toolbox for Java - Open Source Software, JTOpen 4.2, codebase 5722-JC1 V5R3M0," which just sits there, for at least 5 minutes, until I abend the program.

Are you SURE it's hanging on the disconnectAllServices method?

I just looked at the source for a reasonably recent version of the AS400 object in jt400 and found this ...

---------
public void disconnectAllServices()
{
if (Trace.traceOn_) Trace.log(Trace.DIAGNOSTIC, "Disconnecting all services...");
if (impl_ != null)
{
chooseImpl();
impl_.disconnect(AS400.FILE);
impl_.disconnect(AS400.PRINT);
impl_.disconnect(AS400.COMMAND);
impl_.disconnect(AS400.DATAQUEUE);
impl_.disconnect(AS400.DATABASE);
impl_.disconnect(AS400.RECORDACCESS);
impl_.disconnect(AS400.CENTRAL);
impl_.disconnect(AS400.SIGNON);
}
if (Trace.traceOn_) Trace.log(Trace.DIAGNOSTIC, "All services disconnected.");
}
---------

So you should be getting a trace message indicating that it's starting to disconnect all services.

david


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-2024 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.