Issue: Install iamsuite on Windows Server 2012

Error info:
Configure Security Store:execute the following command

oracle_common\common\bin\wlst.cmd

@ $ORACLE_HOME\common\tools\configureSecurityStore.py -d

@ $DOMAIN_HOME -c IAM -m create -p <OPSS_SCHEMA_PASSWORD>

Failed to get environment, environ will be empty: (0, u‘Failed to execute

comman

d ([\‘sh\‘, \‘-c\‘, \‘env\‘]): java.io.IOException: Cannot run program "sh":

Cre

ateProcess error=2, \x8Ew\x92\u80B3\x82\uA0BD\x83t\[email protected]\x83‘)

Problem invoking WLST - Traceback (innermost last):

File

"C:\Users\Administrator\Desktop\Alice_setup\AliceMdw\Oracle_IDM1\common\t

@ ools\configureSecurityStore.py", line 42, in ?

File

"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul

es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__

File

"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul

es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__

File

"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul

es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__

File

"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul

es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__

KeyError: COMMON_COMPONENTS_HOME 


Workaround:
To solve this we need to
patch the jython-modules.jar. we need to go to
C:\Oracle\Middleware\wlserver_10.3\common\wlst\modules and add in
javashell.py "Windows Server 2012".

For example:

_osTypeMap = (

( "nt", ( ‘nt‘, ‘Windows NT‘, ‘Windows NT 4.0‘, ‘WindowsNT‘,

‘Windows 2000‘, ‘Windows 2003‘, ‘Windows XP‘, ‘Windows CE‘,

‘Windows Vista‘, ‘Windows Server 2008‘, ‘Windows 7‘, ‘Windows Server 2012‘ )),

( "dos", ( ‘dos‘, ‘Windows 95‘, ‘Windows 98‘, ‘Windows ME‘ )),

( "mac", ( ‘mac‘, ‘MacOS‘, ‘Darwin‘ )),

( "None", ( ‘None‘, )), 

时间: 2024-11-11 02:54:32

Issue: Install iamsuite on Windows Server 2012的相关文章

How to install SharePoint 2013 on Windows Server 2012 R2

[Update 26.02.2014] Many thanks to everybody commented on this post. As Falk already mentioned in the comments, a Service Pack for SharePoint 2013 has been recently released. This release makes this article obsolete, as any compatibility issues seems

Install Exchange Server 2013 on Windows Server 2012

?前面几篇介绍了Exchange Server 2013预览版在Windows 2008 R2环境下单机部署.下面,将在Windows Server 2012 RC的基础下进行分角色部署.Exchange Server 2013把角色缩减为了客户端访问角色和邮箱角色,其中UM角色和集线器传输都整合到了客户端访问当中.接下来介绍下本次部署的环境,本次部署采用5台Windows Server 2012RC服务器进行部署,分别部署两台CAS角色和两台Mailbox角色,一台DC,并实现DAG和CASA

VmWare平台Windows Server 2012 无响应宕机

我们生产服务器都部署在VMware ESXi 5.5平台上,最近大半年的时间,偶尔就会出现操作系统为Windows Servre 2012的服务器出现没有任何响应(unresponsive)的情况,出现问题的时候,服务器有下面一些现象: 1: 应用程序无法访问SQL Server数据库,使用Microsoft SQL Server Management Sutdio去测试连接数据库,也会返回连接错误. 2: 网络有时候能Ping通,有时候是Ping不通的情况. 3: 远程连接无法访问服务器,从V

SR-IOV Windows Server 2012 R2

Important Issues in Windows Server 2012 https://technet.microsoft.com/en-us/library/jj134216.aspx A BIOS update may be required for some computers to install the Hyper-V Role and/or start Hyper-V virtual machines https://support.microsoft.com/en-us/k

在Windows Server 2012 R2上安装SharePoint 2013 with SP1失败,提示没有.net4.5的解决办法

现在的Server用Windows Server 2012 R2的越来越多了,在部署带Sp1的SharePoint2013的时候,走完预安装工具后,点击setup提示缺少.net4.5. 其实Windows Server 2012 R2打完所有更新补丁后,操作系统的.net版本已经是4.6.1了,因为.net4.6是os的组件的一部分,所以无法直接卸载,也不能单独去手工安装.net4.5安装包. 通过dotnetfx_cleanup_tool 卸载失败了. 2种解决办法: a. 修改注册表: 1

Installing IIS 8 on Windows Server 2012微软官方安装指导

from: https://www.iis.net/learn/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012   Server Manager in Windows Server 2012 is new and accordingly, the user experience has changed as well. This step-by-step instruction is not uniqu

为PHP7安装Windows Server 2012 R2过程记录

因为要安装php-7.0.6-Win32-VC14-x64,需要先安装vcredist2015_x64_14.0.23026.0. 之前安装了Windows Server 2012 R2后,一直无法成功安装vcredist2015_x64_14.0.23026.0. 据说是因为没有打几个补丁.但是一直都打不上,索性直接安装了个带补丁的cn_windows_server_2012_r2_with_update_x64_dvd_6052725.iso. 使用U盘作为安装盘,其中遇到一个小障碍:U盘安

windows server 2012 添加中文语言包(英文转为中文)(离线)

一般来讲习惯安装英文版,但是客户要求安装中文版,没办法重新安装比较麻烦,于是安装中文语言包,正规来讲不推荐安装中文语言包,如果服务器比较多,可以重新安装中文版,因为个别的服务在安装中文语言包后可能出现不能安装的问题,不排除这种现象. 我的是windows server 2012 standard,没有R2,语言包地址: http://pan.baidu.com/s/1eQIkRmE 其一:本地不含中文语言包,需要下载 以下是语言包: 单击左下角的"powershell"图标,弹出pow

Windows Server 2012 R2 IIS8.5+PHP(FastCGI)+MySQL环境搭建教程

原文地址:http://www.osyunwei.com/archives/7378.html 搬运是为了自己找资料方便. 准备篇 一.环境说明: 操作系统:Windows Server 2012 R2 PHP版本:php 5.5.8 MySQL版本:MySQL5.6.15 二.相关软件下载: 1.PHP下载地址: http://windows.php.net/downloads/releases/php-5.5.8-nts-Win32-VC11-x86.zip 2.MySQL下载地址: htt