IBM Support

WebSphere Application Server Traditional Profile Partial Success with Windows Server 2016 Datacenter

Troubleshooting


Problem

Profile creation finishes with partial success on Windows Server 2016 Datacenter. Regular Windows Server 2016 does not have this issue.

 

Symptom

Profiles are created, but it is only partially successful.

The logs may show an error similar to this:

The exception message is: Execute failed: java.io.IOException: Cannot run program "${env.SYSTEMROOT}\system32\CScript.exe" (in directory "C:\IBM\WebSphere\AppServer\profileTemplates\management\actions"): CreateProcess error=2, �w�肳�ꂽ�t�@�C�������‚���܂���B</message>

 

The ant file createProfileShortCut2StartMenuMgmt is unable to resolve the environment variable SYSTEMROOT.

 

 

Resolving The Problem

To get around this problem, manageprofiles script in <WAS_HOME>/bin must be the modified. The modification made changes the Java system "os.name" property from "Windows Server 2016 Datacenter" to "Windows Server 2016".

 

In the manageprofiles.sh (or .bat) file, in the block starting with %JAVA_EXE%, add "-Dos.name=Windows Server 2016" (with the quotations), right before -DWAS_HOME property.

 

In WAS\bin\ProfileManagement\eclipse64\pmt.sh (or .bat) and WAS\bin\ProfileManagement\eclipse64\wct.sh (or .bat) add "-Dos.name=Windows Server 2016" (with the quotations), right before -DWAS_HOME property.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"Profiles","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WebSphere Application Server; WebSphere Application Server Network Deployment

Document Information

Modified date:
22 August 2018

UID

ibm10718859