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



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Do you have the "native optimizations" ahead of jt400.jar in your
CLASSPATH?  On V4R5 this is jt400ntv.jar on V5 it is jt400Native.jar.


Mark






"Mike Silvers" <msilvers@HBS-INC.COM>
Sent by: java400-l-admin@midrange.com
10/24/2002 08:31 AM
Please respond to java400-l


        To:     <java400-l@midrange.com>
        cc:
        Subject:        Problems connecting to a local AS400


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 is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
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:

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.