Bypassing login prompt for J2EE1.3 using runclient command
Created Nov 26, 2001
Gerard Weatherby Additional Information
While connecting to J2EE1.3 server for a standalone java application (in .ear) using runclient command, there is the need to bypass the login prompt for login name and password.
Documentation is incorrect (or at least unclear).
As per the documentation, this can be done by the following command:
runclient -client <<appname.ear>> -name
<<app_displayname>>
-Dj2eelogin.username=<<user_name>>
-Dj2eelogin.password=<<password>>
But this does not work. (Ultimately it prompts for login name and password).
Set VMARGS to:
-Dj2eelogin.username=<<user_name>>
-Dj2eelogin.password=<<password>>
before executing runclient.