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



We have just upgraded our development machine to OS 5.1 (a bit late I know!)

Now some code that was working on previous release doesn't work. Relevant
code snippet follows:

            /** if running locally on AS400 no sign on info required
              * if running on PC the sign on prompt appears at point of
connecting
            */
        AS400 sys = new AS400();

        // only uses data queues
        sys.connectService(AS400.DATAQUEUE);


This now throws the following message:

 com.ibm.as400.access.AS400SecurityException: Password is not set.

When running the Java on the old OS400 there was no need to supply password,
is this now mandatory at 5.1, or is there a security setting which will
allow AS400 object to created without password?

Any help greatly appreciated!

Incidentally, does anyone have a good way to supply user ids & passwords for
Java to use without storing this in the code?


The information in this e-mail and any attachments
(the 'e-mail') is confidential and intended solely for
the addressee(s) named above.  This e-mail may be
subject to legal professional or other privilege or legal
rules.  The unauthorised use, disclosure or copying
of the e-mail is prohibited.  If you are not the intended
recipient, or a person responsible for delivering the
e-mail to the intended recipient you must not disclose,
copy, distribute or retain this e-mail or any part of it.
This e-mail does not, directly or indirectly, represent
financial advice.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.