Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Service pack installer does not install correct file versions for FULL install

« Go Back

Information

 
Article Number000093895
EnvironmentProduct: OpenEdge
Version: 11.7.4
OS: Windows
Other: Installation
Question/Problem Description
Service pack installer does not install correct file versions for FULL install.

Service pack installer does not install correct versions of procedure libraries (.PL) when performing a FULL installation of OpenEdge.

Problem affects such files as:

gui\OpenEdge.Core.pl
gui\OpenEdge.BusinessLogic.pl
gui\OpenEdge.ServerAdmin.pl
gui\netlib\OpenEdge.Net.pl
gui\rules\OpenEdge.BusinessRules.pl
oeide\eclipse\plugins\org.apache.ant_1.9.6.v201510161327\bin\antRun.pl
oeide\eclipse\plugins\org.apache.ant_1.9.6.v201510161327\bin\complete-ant-cmd.pl
oeide\eclipse\plugins\org.apache.ant_1.9.6.v201510161327\bin\runant.pl
proedit\builtins\builtins.pl
tty\ablunit.pl

This can cause a variety of problems when running code relating to one or more of these libraries.

Problem #1
After installing a full copy of 11.7.4, running the following code raises error 12927:
USING OpenEdge.Net.HTTP.IHttpRequest.
USING OpenEdge.Net.HTTP.IHttpResponse.
USING OpenEdge.Net.HTTP.ClientBuilder.
USING OpenEdge.Net.HTTP.RequestBuilder.
USING OpenEdge.Net.HTTP.IHttpClientLibrary.
USING OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder.

DEFINE VARIABLE oLib AS IHttpClientLibrary NO-UNDO.
DEFINE VARIABLE oRequest  AS IHttpRequest NO-UNDO.
DEFINE VARIABLE oResponse AS IHttpResponse NO-UNDO.

ASSIGN
    oLib        = ClientLibraryBuilder:Build()
                                      :sslVerifyHost(NO)
                                      :ServerNameIndicator('some.servername.com')
                                      :library.                                                      
oRequest = RequestBuilder:Get('https://some.servername.com/'):Request.
oResponse = ClientBuilder:Build()
                         :UsingLibrary(oLib)
                         :Client
                         :Execute(oRequest).
                           
MESSAGE oResponse:StatusCode SKIP oResponse:StatusReason SKIP VIEW-AS ALERT-BOX.
 
User-added image


The ServerNameIndicator method cannot be found in the Class Browser in the OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder class:
User-added image

Problem #2
Running the following code fails with errors 13203 (relating to TEMP-TABLE ConfigOption definitions), 10068, 3135 as a result of the wrong version of gui\OpenEdge.Core.pl being present:
USING OpenEdge.Net.HTTP.IHttpClientLibrary.
USING OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder.
USING OpenEdge.Net.HTTP.IHttpClient.
USING OpenEdge.Net.HTTP.IHttpRequest.
USING OpenEdge.Net.HTTP.IHttpResponse.
USING OpenEdge.Net.HTTP.RequestBuilder.
USING OpenEdge.Net.HTTP.ClientBuilder.

USING OpenEdge.Net.URI.
USING Progress.Lang.Object.
USING Progress.Json.ObjectModel.JsonObject.

DEFINE VARIABLE oURI                AS URI                  NO-UNDO.
DEFINE VARIABLE AuthObj             AS Progress.Json.ObjectModel.JsonObject  NO-UNDO.
DEFINE VARIABLE oRequest            AS IHttpRequest         NO-UNDO.
DEFINE VARIABLE oResponse           AS IHttpResponse        NO-UNDO.
DEFINE VARIABLE oLib                AS IHttpClientLibrary   NO-UNDO.

AuthObj = NEW JsonObject().

oLib = ClientLibraryBuilder:Build():AddSslProtocol('TLSv1.2'):Library.
oURI = new URI("http", "www.google.com").

oRequest = RequestBuilder:Post(oURI,AuthObj):acceptJson():Request.
oResponse = ClientBuilder:Build():Client:EXECUTE(oRequest).
MESSAGE "Finished"
    VIEW-AS ALERT-BOX INFORMATION BUTTONS OK.

The definition of the ConfigOption TEMP-TABLE changes between 11.7.0 and 11.7.4.
 
Steps to ReproducePerform a FULL product installation from the OpenEdge 11.7.4 Service pack installer.
Clarifying Information
Installing a full version of 11.7.4 from the OpenEdge 11.7.4 service pack installer. 

Differences can be seen when comparing file versions with an OpenEdge 11.7.4 installation where OpenEdge 11.7 was previously installed from an earlier release and 11.7.4 was installed as a service pack update.  

Properties from a FULL installation performed by the 11.7.4 service pack installer:
User-added image
 

 

Error MessageProblem #1
Could not locate element 'ServerNameIndicator' in class 'OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder'. (12927) 
** Could not understand line 41. (196) 

Problem #2
TEMP-TABLE 'ConfigOption' of class 'OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder' no longer matches the definition in base class 'OpenEdge.Core.Util.ConfigBuilder'. (13203)
TEMP-TABLE 'ConfigOption' of class 'OpenEdge.Net.HTTP.ConfigBuilder' no longer matches the definition in base class 'OpenEdge.Core.Util.ConfigBuilder'. (13203)
TEMP-TABLE 'ConfigOption' of class 'OpenEdge.Net.HTTP.Lib.ClientLibraryBuilder' no longer matches the definition in base class 'OpenEdge.Core.Util.ConfigBuilder'. (13203)
TEMP-TABLE 'ConfigOption' of class 'OpenEdge.Net.HTTP.Lib.ABLSockets.ABLSocketLibraryBuilder' no longer matches the definition in base class 'OpenEdge.Core.Util.ConfigBuilder'. (13203)
TEMP-TABLE 'ConfigOption' of class 'OpenEdge.Logging.LoggerBuilder' no longer matches the definition in base class 'OpenEdge.Core.Util.ConfigBuilder'. (13203)
Lead attributes in a chained-attribute expression (a:b:c) must be type HANDLE or a user-defined type and valid (not UNKNOWN). (10068)
Invalid handle. Not initialized or points to a deleted object. (3135)
Defect/Enhancement NumberDefect ADAS-13620
Cause
The installation completes successfully, but some of the library file versions installed are not correct. The problem is not obvious and can only be seen by running code or by comparing file versions with a valid installation.  
Resolution
None at this time. Until the fix is available, use the workaround below.
Workaround
After installing the service pack as the Full install, re-install the service pack from the service pack installer.  When asked:
--------------------------- 
Question 
--------------------------- 
This service pack has already been installed. 
Would you like to add products to the existing installation? 

Choose Yes to add additional products to this installation. 
Choose No to re-apply the service pack to this installation. 
--------------------------- 
Yes No 
--------------------------- 
Answer 'No' 
 
--------------------------- 
Question 
--------------------------- 
OpenEdge r11.7 already has Service Pack 4 installed. 

Would you like to proceed with this reinstall of Service Pack 4? 

Click "No" to exit. 
--------------------------- 
Yes No 
--------------------------- 

Answer 'Yes' 

This will install the correct version of the files resolving the problem:
User-added image

User-added image
Notes
Attachment 
Last Modified Date1/21/2019 9:52 AM