Online documentation - Websydian v6.1 |
Product | Websydian DWA Java |
---|---|
Version | Version 3.1 and up |
Category | Deployment |
Question | How to set the user and password for iSeries in the Java Plex property file |
Answer | The major problem is, that running Java programs on iSeries the
program is unable to show the dialog message for entering the
iSeries credentials. We often solve this by creating a small java function calling the servicefunction.dummyrpg (supplied with Websydian) on the iSeries. Running this function on Windows 2000/XP using a java property client file will result in saving the iSeries user and password in the property file and then you can copy and paste the encrypted password to the obxxxuser.prop file used by the Websydian application. Of course this requires that the password of the user is never changed (otherwise it is required to run the function again and copy the password to the property file of the Websydian application) With Plex 5.5 a new approach is possible Type the user and password in the property file in clear text.
Upon the first request to connect to the iSeries the password will
be encrypted and replaced in the property file. |