取得Weblogic版本信息

参考: http://cn.forums.oracle.com/forums/thread.jspa?threadID=1104035

Option-A).
Just run ". ./setWLSEnv.sh" and then run the following Program:

 public class GetWebLogicVersion
{
public static void main(String ar[])
{
System.out.println("\n\n\t Your WebLogic Version is : "+new weblogic.version().getVersions());
}
}


================================
Option-B).
Or Place the following JSP Page or Code inside your Application................

 <html>
<body>
WebLogic version: <%= new weblogic.version().getVersions() %>
</body>
</html>

=================================

Option-C).
Or Open a Command Window then run ". ./setWLSEnv.sh" then run the following command
java weblogic.version


OUTPUT: (something like this)
WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
Use 'weblogic.version -verbose' to get subsystem information
Use 'weblogic.utils.Versions' to get version information for all modules
=================================

Option-D).
从<WL_HOME>/registry.xml 或 <WL_HOME>/logs/log.txt 中取得

Option-E)
java -cp Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar weblogic.version
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值