最近一项目,用了个破WebOTX,Windows版本经常OutOfMemory,效率极差。
上Linux服务器版,相关资料太少,自己折腾好了,留下操作步骤备查。
chmod 777 /home/root/jdk-6u26-linux-x64-rpm.bin
/home/root/jdk-6u26-linux-x64-rpm.bin
mount -t iso9660 /home/root/OTX_L8_31J_X64.iso /mnt -o loop
rpm -iv /mnt/OTXUTIL/LINUX/OTXUTIL-8.31.01.00-1.x86_64.rpm
/opt/share.nec/bin/OTXLAdd
(输license)
export JAVA_HOME=/usr/java/jdk1.6.0_26
export JRE=$JAVA_HOME/jre
export PATH=$JAVA_HOME/bin:$PATH
/etc/init.d/httpd stop
cd /mnt
./WOINST.SH
2 n 1 1 n n 80 y
cd ..
umount /mnt
-----------------------------------------------------------------------------------------------------
/etc/profile
export JAVA_HOME=/usr/Java/jdk1.6.0_23
export JRE=$JAVA_HOME/jre
export PATH=$JAVA_HOME/bin:$PATH
/etc/services
w-tpadm 8899/tcp # TPBASEadm(SV)
webotx-mess 5220/tcp # IIOP Listener (alive check)
webotx-ws 5190/tcp # WatchServer
/etc/xinetd.d/webotx
IPv6->IPv4
/opt/WebOTX/domains/domain1/config/server.policy
grant {
permission java.lang.RuntimePermission "getenv.*";
permission java.lang.RuntimePermission "createClassLoader";
};
-----------------------------------------------------------------------------------------------------
ps -ef | grep xinetd
kill 9999(此处为上面grep出的进程id)
-----------------------------------------------------------------------------------------------------
copy jar file to domain1/lib
copy project file to /opt
-----------------------------------------------------------------------------------------------------
/etc/init.d/WebOTXinit start
/etc/init.d/WOAgentSvc start
/opt/WebOTX/bin/otxadmin
-----------------------------------------------------------------------------------------------------
create APG1,PG1, config jdbc
-----------------------------------------------------------------------------------------------------