|
There have been topics posted on this signon error before. But I couldn't find any response that fixed the signon problem. Can anybody help? I am running V5R2. I did a STRHOSTSVR *ALL and STRTCPSVR *ALL but still could not connect through the AS400 Java Object. Running a standalone telnet command on Windows can connect to the AS400 successfully. The trace output: Toolbox for Java - Open Source Software, JTOpen 5.1.1, codebase 5722-JC1 V5R4M0.2 AS400 object created Thu Sep 7 10:07:23:075 PDT 2006 Signon server exchange client/server attributes failed, return code: 00 04 00 08 java.lang.Throwable at com.ibm.as400.access.Trace.log(Trace.java:1064) at com.ibm.as400.access.Trace.log(Trace.java:986) at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote.java:1874) at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:1755) at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2555) at com.ibm.as400.access.AS400.promptSignon(AS400.java:2126) at com.ibm.as400.access.AS400.signon(AS400.java:3407) at com.ibm.as400.access.AS400.validateSignon(AS400.java:3625) at com.ibm.as400.access.AS400.validateSignon(AS400.java:3595) at com.ibm.as400.access.AS400.authenticate(AS400.java:676) at com.uppervision.test.UPPAS400CmdTest.main(UPPAS400CmdTest.java:45) The java code: Trace.setTraceErrorOn(true); // Enable error messages Trace.setTraceWarningOn(true); // Enable warning messages Trace.setTraceOn(true); // Turn trace on for all AS400 system = new AS400("192.168.1.100"); System.out.println("AS400 object created"); if (system.authenticate("TEST", "******")== false) System.out.println("Authentication failed"); else System.out.println("Authentication successful"); Thanks, Chisiu __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.