凡's profileMATRIX WorldPhotosBlogListsMore ![]() | Help |
|
MATRIX WorldMay 18 ChangeThe popular word- Change.
Zhu ask me to wait and he think I am not ready. I told him I am ready now.
Things are changing and new world is coming. December 14 帮助别人的感悟(转发)看到李连杰的一段采访,觉得很有感悟: 对人生的认识,有三个层次。第一,生命,是不由自己控制的。我们控制不了生,也控制不了死。第二,光着身子来,也是光着身子走的。所有的东西,生带不来,死带不走。第三,出生的时候,需要有人帮你剪断脐带,有人打你的PP让你发生第一声啼哭,一直到你成人,都是需要很多人帮助你平安长大的,而死的时候,也需要有人帮火化,安葬~~这些都是需要人帮助的。因为这三点,使得我们也需要去帮助别人,成为了像呼吸那么自然的事情了。 November 18 Discussion about "Could not deserialize session data"Chief description:
BEA-100028
Further research :
From: Martin Gainty
November 16 Conclusion 最近几个月试用了好几个新的软件,IBM RSA,MyEclipse 5.5 or above,Loadrunner,Weblogic9 and 10 和一些Code generator 。经历了好几次J2EE app server版本和JVM的切换。
整体的感觉确定今后的发展,别说太虚的,在工业级的项目不同于学术研究,要不断寻找并利用好的code generator来减少团队的代码量(我已经找到一些成果,可以将7 or above 人天的代码量在一定前提下缩短到 5min 人),
1.团队中经验缺乏的成员可以通过这些代码去学习,
2.稍有经验的成员应将精力放在app server的tuning和deploy上,
3.有专门的测试人员去利用loadrunner这个很重要的工具,如果说代码只是为了implement functions,那么LR就是让我们的成果更完美,最终要实现LR和weblogic, OS之间的监控关系。
4.更有经验的成员应该使用RSA建立整个系统从Use Case到数据库ER的关系,统领全局,
5.而最后说到的是PM,调配资源和团队建设,为团队利益争取最大化(这世界还是很现实的,没有物资基础何来说精神)。
希望自己能在有限的时间实现这个架构,on the way now。 FW:Loadrunner monitor weblogicInstallation OverviewLoadRunner provides two different ways to monitor a WebLogic server depending upon the WebLogic version, i.e. SNMP-based monitor, or JMX monitor. WebLogic Monitor (SNMP-based monitor)WebLogic monitor (SNMP- based) gathers measurement based on information returned by the WebLogic SNMP agent. · Availability: LoadRunner 6.0 · Supported Server Version: WebLogic 5.x · Supported Server Platform: Windows NT, Windows 2000
WebLogic Monitor (JMX monitor)WebLogic monitor (JMX) gathers measurement based on Java API. It uses the JMX interface, (which is a Sun extension to Java. · Availability: LoadRunner7.02 or above · Supported Server Version: WebLogic 6.x –7.x. For WebLogic8.x, please refer to the additional setup information below . · Supported Server Platform: Windows NT, Windows 2000, Solaris 2.6, AIX 5.1, HP-UX 11
WebLogic Monitor (SNMP-based monitor)Installation guideThe WebLogic (SNMP) monitor uses SNMP to retrieve server statistics. To use this monitor, you must make sure that a version prior to WebLogic 6.0 is installed on your server, and that the SNMP agent is installed and activated on the server. How to start the Bea Web Server1. Go to the WebLogic directory. 2. Save the startWebLogic.cmd file as startWebLogic.bat. 3. Open startWebLogic.bat and set the JDK_HOME parameter to <JDK installation>. How to start the SNMP agent on the server1. Make sure that the standard SNMP agent is not running – to verify this, go to Control Panel ® Services and check the status of SNMP and SNMP Trap or consult the UNIX admin for the SNMP daemon on the Unix machine. For the UNIX platform, the batch file is startSnmpAgent.sh. 3. In the same file (startSnmpAgent.bat or startSnmpAgent.sh), search for the following line (usually the last line in file): “%JDK_HOME%\bin\java -classpath %JAVACLASSPATH% weblogic.SNMPAgent -password ServerSystemPassword -serverURLs t3://localhost:7001 -trapDestinations localhost:162” · This is the command use to startup the WebLogic SNMP agent. · It requires a Java Virtual Machine for execution. · The classpath must contain weblogicaaux.jar and \weblogic\classes. For Weblogic 5.1 with SP, you would need to add the sp jar file (usually named weblogic510spxxx.jar)to the CLASSPATH of the agent startup scrīpt. 4. Replace ServerSystemPassword with the password defined during server installation. 5. If you do not know your password, it is in the “weblogic.properties” file under the property “weblogic.password.system=???.” 6. You will probably need to change “localhost” to the name of your machine. 7. Run startSnmpAgent.bat from the Command Prompt. If it starts OK, you will receive a “Agent Initialization Complete” message.
NOTE: 1. For detailed instructions on installing the WebLogic SNMP agent and the utilities to test the agent, see http://www.weblogic.com/docs51/admindocs/snmpagent.html. 2. If you intend to run the WebLogic Server SNMP agent as the only agent on the system, you may not be able to start it if any other agent is already running and is bound to the SNMP port (161). How to configure the SNMP-based monitor in LoadRunner
1. Click the WebLogic (SNMP) graph in the graph tree, and drag it into the right pane of the Run view. 2. Right-click the graph and choose Add Measurement(s), or choose Monitors à Add Online Measurement. 3. In the Monitored Server Machines section of the WebLogic (SNMP) ( or WebLogic) dialog box, click Add to enter the server name or IP address of the machine you want to monitor. Select the platform on which the machine runs, and click OK. 4. In the Resource Measurements section of the WebLogic (SNMP) dialog box, click Add to select the measurements that you want to monitor. The WebLogic SNMP Resources dialog box displays the available measurements. 5. Browse the WebLogic SNMP Objects tree. 6. To measure an object, select it, and click Add. The following tables describe the measurements and server properties that can be monitored Known Issues and limitations
1. The SNMP-based monitor can only monitor up to 25 measurements.
2. Some network devices between the LoadRunner Controller machine and the SNMP agent machine might be configured to block or reroute the SNMP traffic. Tips and TricksQ. LoadRunner 6.51 Controller crashes if the SNMP agent is unavailableR. This is a known issue in LoadRunner 65 SP1. To resolve the issue, please download and apply Patch LR651P34 from Support’s Download à Patches à LoadRunner à 6.5 SP1 à LR651P34 - LoadRunner 6.51 Fixed Controller crashes caused by unavailability of the SNMP or WebLogic server
Q. How to monitor a non- Community StringR. To do so, please modify the snmp.cfg located in <LoadRunnner >\dat\monitors: 1. Look for the appropriate monitor. 2. Uncomment the "SNMP_community_name=" line by removing the semi-colon (";"). 3. Add the community string setup by the SNMP agent, to the end of “SNMP_community_name=;”. Please note that this is case-sensitive. 4. Save the snmp.cfg file and restart the LoadRunner Controller.
Q. How to change the port numberR. To do so, you need to modify the snmp.cfg file in <LoadRunner>\dat\monitors. 1. Look for the appropriate monitor. 2. Uncomment the "port=" line by removing the semi-colon (";"). 3. Add the port number to the end of “port=”. For example, port=1234 Q. What to do if there is a firewall between Controller and HostFor monitoring over firewall, please refer to Knowledge Base Article 3678
Q. Error: “Not a scalar MIB object”R. You receive this error because you are trying to access a private/ proprietary MIB file. LoadRunner does not recognize this file, as it is not in LoadRunner’s MIB definition file.
WebLogic Monitor (JMX monitor) Installation Requirement1. WebLogic 6.0 or above on the server 2. JDK 1.3.x or above installed on the Controller machine. For WebLogic8.x, you need JDK1.4. 3. Copy WebLogic.jar from <server installation>\lib folder to <LoadRunner>\classes 4. LoadRunner 7.02 or above: a. No patches is required for LoadRunner 7.5 or above b. For LoadRunner 7.02: · Contact Mercury Customer Support for patch LR702P34 - LoadRunner 7.02 WebLogic JMX monitor for versions 6.0 & 6.1 · To install:
i. Exit LoadRunner Controller. ii. Unzip weblogic60_702.zip in the LoadRunner installation directory. iii. Terminate the Java Web server by entering the URL http://localhost:1112/?id=exit&type=0 in a browser. iv. Run patch_monitors_v702.bat in <LoadRunner>\bin v. Install Java Runtime by executing j2re-1_3_1-win.exe.
How to configure the WebLogic (JMX) Monitor in LoadRunner1. Click the WebLogic (JMX) graph in the graph tree, and drag it into the right pane of the Run view. 2. Right-click the graph and choose Add Measurement(s), or choose Monitors à Add Online Measurement. 3. In the Monitored Server Machines section of the WebLogic (JMX) dialog box, click Add to enter the server name or IP address of the machine you want to monitor. Enter the server name or IP address according to the following format: <server name>:<port number> For example: mercury:8111. Select the platform on which the machine runs, and click OK. 4. Click Add in the Resource Measurements section of the WebLogic (JMX) dialog box. In the Enter Login Information dialog box, enter the username and password of a user with administrative privileges to the WebLogic server. The BEA WebLogic Monitor Configuration dialog box opens. For details on creating user permissions, see 5. Browse the Measured Components tree. 6. Check the required performance counters in the BEA WebLogic Monitor Configuration window's right pane. 7. Click OK in the BEA WebLogic Monitor Configuration dialog box, and in the WebLogic (JMX) dialog box, to activate the WebLogic (JMX) monitor. June 01 Memory in HKUToday, I browsed the friend list in msn. suddenly, some strange feeling comes when I saw the group named "HKU". Open it and found many old friends. Gai, Fenado and Jolin, my dear friends who lived with me, miss the days with you. nights we struggle with homework ,went to have meals together, and discuss many topics. all of you are irreplaceable cauz' you are so sincere to me. Autumn Sea and Sheng , you two guys are rather interested. I own you one meal and drink together. Autumn Sea, I am so sorry to waste those beers you bought last time. whenever you like, come here and find me to make it true. Mei, remember your attitude as the tutor and classmates, you are a consciencious ppl. Thank you for your guide and effort.Well, last one is Charles, I am glad to know you before graduate, I just feel sorry that moment is so late that I even don't have many times to learnt from you.
May 31 life after return to a jobIn the past two months, I went back the this old office and worked with those guys, feels so far so good. Lots of work, including projects and new function modules. I prefer to cheat them as the chances to implement my new skill and idea , show off my power rather than the burden. Well, that makes me feel more comfortable and happy. The damn disaster in Si Chuan let numerous childen lost their parents, house , even life. If possible, I want to be their teacher in one day , that is all I can do except for the donation. What is more, I finished the evaluation and am qualified.It is my turn to make the decision whether to apply for it.Em...., that is difficult. Maybe I should cheat it easy, things are changing.
Finally, Lakers won the western champion and return to the final. God bless Kobe. |
|
||||
|
|