×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




I am using the AS400 object.  I am using the following to construct the
connection object:

AS400 as400 = new AS400("localhost", "*CURRENT", "*CURRENT");

When connecting, I get the error that the password is not set.  The specific
exception is as follows:

com.ibm.as400.access.AS400SecurityException: Password is not set.
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:90)
      com/ibm/as400/access/AS400.sendSignonRequest()I+37 (AS400.java:2587)
      com/ibm/as400/access/AS400.signon(Z)I+195 (AS400.java:3080)
      com/ibm/as400/access/AS400.connectService(I)V+79 (AS400.java:705)
      com/hbs/util/IfsFileList.getFiles()[Lcom/ibm/as400/access/IFSFile;+0
(IfsFileList.java:219)
      com/hbs/util/IfsFileList.main([Ljava/lang/String;)V+0
(IfsFileList.java:320)

What I am trying to do is to use the current user and password for an AS400
connection.  This is being run as a batch job submitted from the job
scheduler.  Any ideas on how to resolve this error?

Thanks

Mike





This thread ...


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

This mailing list archive is Copyright 1997-2026 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.