Salesforce

AdminServer fails to start with ArrayIndexOutOfBoundsException with lengthy hostnames

« Go Back

Information

 
TitleAdminServer fails to start with ArrayIndexOutOfBoundsException with lengthy hostnames
URL NameAdminServer-fails-to-start-with-ArrayIndexOutOfBoundsException-with-lengthy-hostnames
Article Number000175282
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x, 12.2
OS: Windows, Linux
Question/Problem Description
AdminServer fails to start with ArrayIndexOutOfBoundsException with lengthy hostnames.
proadsv -start on Windows if hostname is 20 characters or longer.
AdminServer fails to start on Linux if hostname is 23 characters or longer.
AdminService fails to start with acctAuthenticate exception when Windows hostname GT 19 characters.
A Windows hostname longer than 19 Characters causes the AdminService to fail to start with a java exception: acctAuthenticate 
 
Steps to Reproduce
Clarifying Information
Specifying -user username with PROADSV starts the AdminServer.
 
Error MessageException in thread "main" java.lang.ArrayIndexOutOfBoundsException: 40
        at com.progress.common.util.acctAuthenticate.add37(acctAuthenticate.java:532)
        at com.progress.common.util.acctAuthenticate.add37(acctAuthenticate.java:539)
        at com.progress.common.util.acctAuthenticate.mult37IntArrs(acctAuthenticate.java:612)
        at com.progress.common.util.acctAuthenticate.getValue(acctAuthenticate.java:630)
        at com.progress.common.util.acctAuthenticate.generatePassword(acctAuthenticate.java:637)
        at com.progress.common.util.acctAuthenticate.clientGeneratePassword(acctAuthenticate.java:893)
        at com.progress.common.util.acctAuthenticate.generatePassword(acctAuthenticate.java:292)
        at com.progress.chimera.adminserver.AdminServerType.main(AdminServerType.java:1011)
Defect NumberPSC00327355/OCTA-28583
Enhancement Number
Cause
Failure in the AdminServer's SSO credentials generation.
Resolution
None at this time.
Workaround
Workaround 1:  Shorten host name to a length of characters less than 20 on Windows and 23 on Linux 

Workaround 2:  Start the AdminServer with proadsv and specify the -user parameter:

$  proadsv -start -user Administrator

(note: for workaround 2, the AdminServer will 'die' when the user logs off)
Notes
Keyword Phrase
Last Modified Date2/8/2023 3:13 PM

Powered by