环境说明:
OIM Desgin Console: Windows系统下的绿色版
Identity Manager:部署在Jboss服务器下的Linux系统。
执行步骤:
1. 在Windows系统下解压OIM Desgin Console。
2. 进入Design Console目录下,编辑xlclient.cmd文件。其修改后的内容如下:
@echo off
setlocal
call classpath
REM SET DEBUG_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5001 -DXL.RedirectSysOutErrToFile=TRUE -DXL.SysOutErrLogFile=.\logs\Client.System.Out.Err.log
REM Make sure to remove java.naming.provider.url and read it from the configuration
REM once the JNDI Profiles are implemented.
REM make sure you are using j2sdk1.4.2_05
java %DEBUG_OPTS% ^
-DXL.ExtendedErrorOptions=TRUE -DXL.HomeDir=D:\OimDesignConsoleBP09\xlclient ^
-Djava.security.policy=config\xl.policy ^
-Dlog4j.configuration=config\log.properties ^
-Djava.security.manager -Djava.security.auth.login.config=config\auth.conf ^
com.thortech.xl.client.base.tcAppWindow -server server
endlocal
修改两处地方
1> "C:\Program Files (x86)\Java\jdk1.6.0_17\bin\java" %DEBUG_OPTS% ^
将JDK目录修改为本机JDK安装的目录,如C:\Java\jdk1.6.0_17\bin\java
注意:若设置JDK目录后,还是不能显示登录Design Console窗口,则修改为java %DEBUG_OPTS% ^
2> -DXL.ExtendedErrorOptions=TRUE -DXL.HomeDir=D:\OimDesignConsoleBP09\xlclient ^
将Design Console安装目录修改为本机下的安装目录。
修改xlclient.cmd完成后,点击运行该文件,出现Design Console的登录窗口。
3. 进入Config目录下,修改配置文件xlconfig.xml。修改后的代码如下:
<?xml version="1.0" encoding="utf-8"?>
<xl-configuration>
<!--
Type of the application server being used.
Use jboss, weblogic or websphere
-->
<appServerName>jboss</appServerName>
<!--
Used for loading workflow renderer
-->
<ApplicationURL>http://192.168.19.20:8080/xlWebApp/loginWorkflowRenderer.do</ApplicationURL>
<!--
Discovery settings are used to find other xellerate components.
CoreServer : How to find core server. This is where the APIs and the
DataObjectBeans for the java client are installed.
BackOffice : Settings to be used to find where messaging components
are installed.
Scheduler : These settings are used to find scheduler.
java.naming.provider.url
WebLogic: t3://host:7001
JBoss: jnp://host:1099 (Clustered default: 1100)
WebSphere: corbaloc:iiop:host:2809
java.naming.factory.initial
WebLogic: weblogic.jndi.WLInitialContextFactory
JBoss: org.jnp.interfaces.NamingContextFactory
WebSphere: com.ibm.websphere.naming.WsnInitialContextFactory
-->
<Discovery>
<CoreServer>
<java.naming.provider.url>jnp://192.168.19.20:1099</java.naming.provider.url>
<java.naming.factory.initial>org.jnp.interfaces.NamingContextFactory</java.naming.factory.initial>
</CoreServer>
</Discovery>
<!--
Value of MultiCastAddress needs to same as OIM server
-->
<Cache>
<XLCacheProvider>
<MultiCastAddress>192.168.19.20</MultiCastAddress>
</XLCacheProvider>
</Cache>
</xl-configuration>
需要修改以下几个地方:
1> <appServerName>jboss</appServerName>
设置OIM的运行环境,由于OIM部署在Jboss,这里设置为jboss
2> <ApplicationURL>http://192.168.19.20:8080/xlWebApp/loginWorkflowRenderer.do</ApplicationURL>
修改http://192.168.19.20:8080为OIM部署在Jboss的IP和Port
3> <java.naming.provider.url>jnp://192.168.19.20:1099</java.naming.provider.url>
修改访问远程EJb的URL地址,一般只需要修改IP,端口1099不变。
4> 启动Jboss下的OIM
./jboss/bin/run.sh -b ip
说明:jboss默认启动时,绑定ip为127.0.0.1,此处修改为对外的IP。
以下是对该问题的解释:By default JBossAS binds its services to localhost (127.0.0.1). To enable remote access by binding JBoss services to a particular interface, simply run jboss with the -b option. Example: if your ip is 192.168.22.14, you must to start JBoss like: ./run.sh -b192.168.22.14 or ./run.sh --host=192.168.22.14 for windows: run.bat -b192.168.22.14 or run.bat --host=192.168.22.14
分享到:
相关推荐
MicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and_Uninstall.metaMicrosoftProgram_Install_and...
Fix problems that block programs from being installed or removed。 Microsoft官方一个用于修复windows安装或者删除过程中,提示缓存数据找不到的修复工具
Then read CAREFULLY THIS NFO and follow steps in that order. Apply x32 patch for 32bits version and x64 for 64 bits! *After install, stop diskeeper service. *Copy files from Patch.zip into ...
此时,"Realtek_Audio Console_1.2.169.0(station-drivers).zip"这个压缩包就显得尤为重要,它提供了一个方便快捷的方式来恢复和重新安装Realtek音频控制台。 该压缩包内含"Audio Console_Realtek_1.2.169.0_W10x64...
You'll learn how to install Postgres on your computer or use a free version of it in the cloud. Table of Contents Chapter 1. Set Up the Environment Chapter 2. Create a Great-Looking Login with ...
Install and configure the necessary tools in order to start developing an application Identify the challenges when developing an application Apply GoF patterns in an application with a testing ...
控制台.html 为方便起见,添加了 console.html 方法 安装: npm install console.html --savebower install console.html --save在节点中使用: // call once somewhere in the beginningrequire('console.html');...
在安装mha4mysql时,大概步骤是:解压,perl Makefile.PL,make, make install。在执行 perl Makefile.PL 报错如下,简单记录一下解决方法 # perl Makefile.PL Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC ...
With the increasing use of NoSQL in general and HBase in particular, knowing how to build practical applications depends on the application of design patterns. These patterns, distilled from extensive...
Install and configure the necessary tools in order to start developing an application Identify the challenges when developing an application Apply GoF patterns in an application with a testing ...
Readers of this book learn how to install the Oracle APEX engine in support of small-scale projects such as at the departmental level, and in support of enterprise-level projects accessed by thousands...
The section shows how to manage multiple developers and releases with git, how to build and install using Phing and PEAR. It also explores strategies for automated testing and build. In addition to ...
National_Clock_Design_Tool
We’ll design a shopping cart in React and we’ll package static files with a custom build chain. Finally, we’ll learn how to deploy the application to a virtual server, and install custom domains ...
classin_win_install_3.0.4.81_s.exe
A unique feature of the book is that it explains how to acquire, install, and use freely available software to edit, compile, and run console programs on just about any system, including Windows and ...
精简版的vmware,安装之后却发现无法进行桥接网络了! 提示丢失了vmnetbridge.dll文件,到网上找了又找,终于找到了。。。并且能用。我的虚拟机是7.0的
install and decommission.one
最后,"ATF_Console_3.2.39_Install.zip"是一个软件安装包,用于在用户的计算机上部署ATF Console。这个版本可能是3.2.39,意味着它是经过多次迭代和优化的稳定版本。安装程序将引导用户完成安装过程,包括设置路径...