下载
http://commerce.bea.com/showproduct.jsp?family=WLS&major=9.2&minor=0
选择windows平台。
输入注册名与密码。
安装
点击server920_win32.exe,默认全部安装。
配置domain
Tools->configuration wizards->create a new weblogic domain,默认,输入weblogic管理员的用户名与密码 weblogic/weblogic
参考http://dev2dev.bea.com.cn/techdoc/200306517.html。但与此有区别!
启动domain
User project s-> mydomain-> start
日志:bea\user_projects\domains\mydomain\servers\AdminServer\logs
http://localhost:7001/console。
此为weblogic性能监控页面。
选择JMX监控
LoadRunner 7.x and 8.x does not support monitoring against WebLogic8.x out of the box. In order to Monitor WebLogic8.x:
1. Go to <LoadRunner>\classes and rename the file jmxri.jar to something else.
2. Go to <LoadRunner>\dat\monitors and edit the weblogicmon.ini:
a. Set the JVM to point to JDK1.4
b. Comment out the JavaVersion entry if there is a complain about JDK versions
c. DO NOT comment out the reference to jmxri.jar in this file It must remain as shown below:
JVM_CLASSES1=jmxri.jar
3. Copy the weblogic.jar from the server to the <LoadRunner>\classes directory.
4. In WebLogic 8.x server console, do not setup administration port on SSL.
配置weblogic9.2 + jdk1.5(失败)
配置weblogicmon.ini
Jvm= JVM=D:\Sun\AppServer\jdk\bin\java.exe
Add measument:10.0.72.30:7001之后弹出用户名/密码框,输入weblogic/weblogic,之后console显示:
Starting http server...
Loading webserver.properties[C:\Program Files\Mercury Interactive\Mercury LoadRu
nner\classes\weblogicmon.jar(com\mercuryinteractive\monitors\xmlsource\webserver
.properties)...
Web Server started...
Listening on port: 1112
八月/22/2006 22:38:13: hostInit(4396:10.0.72.30)
八月/22/2006 22:38:13: Weblogic classes found in CLASSPATH. Will not use CLASSPA
TH servlet. However, monitor is limited to a single Weblogic version:9.2.0.0
八月/22/2006 22:38:16: getMetricList(10.0.72.30:7001)
八月/22/2006 22:38:17: Found 0 counters in 1 objects in 1 seconds
没有获取到度量数据!
跟踪user_projects\domains\mydomain\servers\AdminServer\logs\access.log:
10.0.68.48 - - [22/八月/2006:22:47:18 +0800] "HEAD /classes/jndi.properties HTTP/1.1" 404 0
10.0.68.48 - - [22/八月/2006:22:47:18 +0800] "GET /classes/weblogic/factories/t3/t3EnvironmentFactory.class HTTP/1.1" 404 0
telnet 10.0.72.30 7001后
GET /classes/weblogic/factories/t3/t3EnvironmentFactory.class HTTP/1.1
当不启动weblogic服务时,
暂时没有办法监控weblogic9!
采用jdk1.4+weblogic8.jar?
Jdk1.5+ weblogic8.jar?
Jdk1.4+ weblogic9.jar?
Weblogic8.1+jdk1.4
Jdk1.4:
https://sdlc6d.sun.com/ECom/EComActionServlet;jsessionid=48CF8834C4B52334C76970B6401FA62F下载j2sdk-1_4_2_12-windows-i586-p.exe
weblogic:8.1
http://commerce.bea.com/showallversions.jsp?family=WLS,选择windows奔腾
WebLogic Platform Net Installer(what's this?) | OS Platform |
|
| WebLogic Server/Express 8.1 with SP6 |
|
全安装,默认。
Configuration wizard -> create new domain -> basic weblogic domain -> mydomain
5. Go to <LoadRunner>\classes and rename the file jmxri.jar to something else.
6. Go to <LoadRunner>\dat\monitors and edit the weblogicmon.ini:
a. Set the JVM to point to JDK1.4
b. Comment out the JavaVersion entry if there is a complain about JDK versions
c. DO NOT comment out the reference to jmxri.jar in this file It must remain as shown below:
JVM_CLASSES1=jmxri.jar
7. Copy the weblogic.jar from the server to the <LoadRunner>\classes directory.