﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Java架构博客-随笔分类-WebLogic</title><link>http://www.blogjava.net/beansoft/category/50511.html</link><description>Java中间件架构技术研究</description><language>zh-cn</language><lastBuildDate>Sat, 20 Jun 2020 19:36:19 GMT</lastBuildDate><pubDate>Sat, 20 Jun 2020 19:36:19 GMT</pubDate><ttl>60</ttl><item><title>WebLogic Server官方下载地址</title><link>http://www.blogjava.net/beansoft/archive/2012/03/08/371526.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Thu, 08 Mar 2012 06:02:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/03/08/371526.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/371526.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/03/08/371526.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/371526.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/371526.html</trackback:ping><description><![CDATA[<p>英文（更新到12c和9.2.4）：<a href="http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html">http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html</a></p> <p>中文（内容有滞后）：<a href="http://www.oracle.com/technetwork/cn/middleware/ias/downloads/wls-main-091116-zhs.html">http://www.oracle.com/technetwork/cn/middleware/ias/downloads/wls-main-091116-zhs.html</a></p> <p>Oracle优秀英文博客：</p> <ul> <li><a href="http://blogs.oracle.com/weblogicserver">WebLogic Server 团队</a> <li><a href="http://blogs.oracle.com/jamesbayer/">James Bayer</a> <li><a href="http://blogs.oracle.com/reynolds/">Antony Reynolds</a> <li><a href="http://www.adam-bien.com/roller/abien/">Adam Bien</a> <li><a href="http://middlewaremagic.com/weblogic/">Middleware Magic</a></li></ul> <ul> <li><a href="http://blogs.sun.com/theaquarium/">The Aquarium</a> <li><a href="http://blogs.oracle.com/jeffwest">Jeff West</a> <li><a href="http://buttso.blogspot.com">Steve Button</a> <li><a href="http://blog.eisele.net/index.html">Markus Eisele</a></li></ul> <ul> <li><a href="http://blogs.sun.com/arungupta/">Arun Gupta</a> <li><a href="http://blogs.oracle.com/johngraves/">J</a><a href="http://blogs.oracle.com/johngraves/">ohn Graves</a> <li><a href="http://weblogicserver.blogspot.com/">Bala Kothandaraman</a> <li><a href="http://www.veriton.co.uk/roller/fmw/">Simon Haslam</a></li></ul><img src ="http://www.blogjava.net/beansoft/aggbug/371526.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-03-08 14:02 <a href="http://www.blogjava.net/beansoft/archive/2012/03/08/371526.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WebLogic集群中多播和单播机制对比[转]</title><link>http://www.blogjava.net/beansoft/archive/2012/02/23/370623.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Thu, 23 Feb 2012 14:20:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/02/23/370623.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/370623.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/02/23/370623.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/370623.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/370623.html</trackback:ping><description><![CDATA[<h3>WebLogic集群中多播和单播机制对比 </h3> <h3>声明:本站WebLogic文章将同步整理到老刘文库.</h3> <p><b>来源：</b><a href="http://allthingsmdw.blogspot.com/2012/02/multicast-vs-unicast-with-weblogic.html">http://allthingsmdw.blogspot.com/2012/02/multicast-vs-unicast-with-weblogic.html</a><b></b> <p><b>THURSDAY, FEBRUARY 9, 2012</b><b></b> <p><a name="6352012267447990450"></a>Multicast Vs. Unicast with WebLogic Clustering <p>WebLogic Clusters manage membership via messaging within its members. The members join/leave the cluster as well as update other members via messages to the entire cluster. There are two ways for cluster messaging in WLS - Multicast or Unicast. This post goes provides a brief overview of the cluster messaging and some general guidelines around using the different messaging options.<br><b>WLS Cluster </b><br>WebLogic clustering provides a homogeneous model for managing a set of server instances while providing scalability, load balancing and high availability to the services running within the member instances. For the end client, it appears like one single and uniform service with all the RASP (reliability, availability, scalability, performance) capabilities. Each cluster member is aware of other members and advertise each other services in addition to their own. Refer to<a href="http://docs.oracle.com/cd/E11035_01/wls100/cluster/failover.html">http://docs.oracle.com/cd/E11035_01/wls100/cluster/failover.html</a> for more details on replication and failover of clustered services.<br><b>Unicast &amp; Multicast</b><br>Multicast is easier to explain over Unicast. Multicast is a broadcast UDP option for sending a packet/announcement over to a group that is listening on a specific multicast address and port over which the announcement is sent.There is a defined range for valid Multicast address (224.0.0.1 to 239.255.255.255). Everyone listening on the given address hears the announcement just like following a Twitter post. Some limitations with Multicast is the TTL (time to live) across machines/subnets/routers needs to be adjusted and the routers configured to retransmit the multicast packet across subnets. More details on the weblogic specific multicast configurations can be seen in my <a href="http://allthingsmdw.blogspot.com/2012/02/exalogic-and-multicast.html">Exalogic and Multicast</a> blog post.<br>Unicast is more of a point to point UDP option to send the packet to a specific member and not everyone. That way, unicast is more of a private conversation between two individuals while multicast is more of a shout to a group or room. Both are UDP based, so there can be losses unlike TCP that handles retransmissions on message loss. But Unicast can span across routers and does not have to worry about TTL without the everyone hearing the announcement. So, Network Admins in general prefer to go with Unicast over Multicast for these reasons.<br><b>WLS Cluster Configuration</b><br>When a cluster is created within a WLS Domain (either via wlst or config wizard or copy/update of existing domain), it is configured as using Unicast or Multicast messaging. As part of complete Cluster configuration, the multicast listen address and port should be specified if going with Multicast option. Also the managed servers should be targeted/added to the Cluster instance. There can be multiple clusters and any given managed server instance can only belong to atmost one cluster (or none). This will let the clustered managed servers (Admin Server should not be part of any cluster nor can cluster span domains) go with Unicast or Multicast when they are started. It should be noted that Multicast used to be the only option in WebLogic prior to 10.0 version while either Unicast or Multicast can be used from version 10 onwards.<br><b>Cluster Messaging</b><br>How does each member join the cluster and see or recognize others? At bootstrap time, the managed servers get their configuration via JMX MBeans from the Admin server (or from cached configurations if the Admin server was down) and recognize that they belong to a cluster and they have to go with Unicast or Multicast.<br><b>WLS Multicast Messaging </b><br>So, in a multicast messaging cluster, the managed servers start listening to the specified multicast address once it checks its configuration and knows it belongs to so and so cluster and has to use specified multicast address and port. Once it listens on the specified multicast address, it sends an announcement about its arrival to others via multicast - more like a shout-out. Other running clustered members of the same cluster who are already listening will respond back and add the new member to their list of known cluster members. The new member will also update its cluster list with other members. This process continues as new members get added. The membership gets renewed based on each member sending periodic announcements to other members proclaiming its liveliness. If a member goes down (shutdown or killed or not able to respond), then it wont be able to send its broadcasts and other members will drop it from the cluster list and re-add it when it comes back online. If a member is directly talking to another cluster member, just the direct socket connection is enough in establishing its membership with its connected member. Since multicast is a broadcast, just a single announcement is retain a instance's membership and let others continue to maintain it in their cluster list till its time to renew its membership. Its a mesh where every member can see every other member in the cluster.<br><img title="clip_image001" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="242" alt="clip_image001" src="http://www.blogjava.net/images/blogjava_net/beansoft/WindowsLiveWriter/WebLogic_13A4A/clip_image001_fb7d0a2f-7943-4ac0-a42e-12c4e988e7ad.png" width="282" border="0"><br><b>WLS Unicast Messaging</b><br>With Unicast, WLS divides the cluster into a multiple groups, each having a max of 10 members. The division happens as the servers come up. Each of the server listens on their specified listen address and the other members can send/receive unicast packets over that listen address as every clustered member knows the configurations of other cluster members.<br>The oldest within the group is designated the group leader. The group leader communicates over Unicast to other members (over the specified member's listen address) within its group and adds/drops them based on them renewing their membership or not responding. The group leaders communicate amongst themselves. So, if there are 4 group leaders, each group having 10 servers, a membership announcement from server1 in group1 will be picked by GroupLeader1 of group1 and retransmitted to all other members within the group1 as well as to other three group leaders. The remaining group leaders will in-turn retransmit the membership information within their groups. This way, every change is picked up and retransmitted by the group leaders to within their group and to other groups via group leader to group leader communication. The group leaders remain the hub for each group while they themselves form a mesh with other group leaders.<br><img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="258" alt="clip_image002" src="http://www.blogjava.net/images/blogjava_net/beansoft/WindowsLiveWriter/WebLogic_13A4A/clip_image002_55a8c720-e7f5-49b3-9bab-e06652d43ba3.png" width="323" border="0"><br><b>Comparison between Unicast &amp; Multicast</b> <table cellpadding="0" border="1"> <tbody> <tr> <td> <p><b>Multicast</b></p></td> <td> <p><b>Unicast</b></p></td></tr> <tr> <td> <p>Only option in pre-10.0 versions of WLS, continues to exist in version 10+</p></td> <td> <p>Available from version 10 onwards</p></td></tr> <tr> <td> <p>Requires configurations to Routers, TTL</p></td> <td> <p>No configuration required</p></td></tr> <tr> <td> <p>Requires configuring the Multicast Listen Address and port</p></td> <td> <p>Just specify the listen address (can be Default Channel or use a Custom Network Channel for Cluster communication)</p></td></tr> <tr> <td> <p>One announcement to join/maintain membership</p></td> <td> <p>one transmission to group leader has to be retransmitted to other group members (N) + to other group leaders (M) who then again retransmit to their group members resulting in (NxM) packets</p></td></tr> <tr> <td> <p>Everyone sees everyone</p></td> <td> <p>Group Leaders have to do real heavy lifting of retransmitting every thing across its group and other group leaders and can get bogged down in just retransmitting</p></td></tr> <tr> <td> <p>Can lead to big broadcasts through the entire subnet/LAN if there are frequent joins/drops of members or change in services (JNDI updates of bound services, frequent app deployments or members going out of sync)</p></td> <td> <p>Not a broadcast throughout the subnet/lan, but still more packets to be sent across as Group Leaders have to retransmit everything. Can consume bigger bandwidth</p></td></tr></tbody></table> <p>As listed in the table above, these would be my guidelines: <p>1. If the cluster is small and simple (under 20 members), go with Unicast. No configurations required and the group leaders wont be stretched retransmitting data. <p>2. If the Network configurations strictly prohibit multicast and members have to reside in different subnets and cluster sizes are still under or mid-20s, go with Unicast. <p>3. If its a real large cluster (over 20 members) and members can reside in the same subnet or even if they are not on same subnet but network router configurations can allow multicast, go with Multicast. <p>4. If over 50 members, change to network configurations to allow multicast and stick with Multicast. <p>5. Over 100 members, try to break up the domain into multiple separate domains and individual clusters for better administration and management even though Multicast option can handle such large domains. Or use custom scripts/wlst to manage and monitor individual members instead of relying on a single application (like console) to manage/monitor/handle all servers at the domain level. <p>The reason for recommending Multicast over Unicast for large clusters is due to the work load on the group leaders and retransmissions. The group leaders have to retransmit every member's packet within their group as well as to other group leaders (who again send to their group members) which can just lead to more and more work as the cluster grows bigger.<br>Another big reason is that WLS Multicast based messaging is quite mature and stable compared to Unicast which got only introduced with version 10. Also, with unicast, there can still be retransmits (as its not auto error correcting) and it can consume more bandwidth due to repeat retransmits by group leaders to others compared to one transmit for multicast.<br><b>Conclusions</b><br>I hope this article helps clarify the internal working of WLS Cluster membership around Unicast vs Multicast messaging while providing some guidance on the option to use based on requirements and constraints. <p>Posted by <a href="http://www.blogger.com/profile/08054819372322228162">Sabha Parameswaran </a>at <a href="http://allthingsmdw.blogspot.com/2012/02/multicast-vs-unicast-with-weblogic.html">12:33 PM</a><img src ="http://www.blogjava.net/beansoft/aggbug/370623.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-02-23 22:20 <a href="http://www.blogjava.net/beansoft/archive/2012/02/23/370623.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WebLogic所有版本Edoc在线阅读及下载地址</title><link>http://www.blogjava.net/beansoft/archive/2012/02/23/370551.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Wed, 22 Feb 2012 23:37:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/02/23/370551.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/370551.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/02/23/370551.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/370551.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/370551.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.blogjava.net/beansoft/archive/2012/02/23/370551.html'>阅读全文</a><img src ="http://www.blogjava.net/beansoft/aggbug/370551.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-02-23 07:37 <a href="http://www.blogjava.net/beansoft/archive/2012/02/23/370551.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WebLogic 10.3.6正式发布</title><link>http://www.blogjava.net/beansoft/archive/2012/02/23/370550.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Wed, 22 Feb 2012 23:32:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/02/23/370550.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/370550.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/02/23/370550.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/370550.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/370550.html</trackback:ping><description><![CDATA[<p>下载地址:<a href="http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html">http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html</a></p> <p>文档:<a href="http://www.oracle.com/technetwork/middleware/weblogic/documentation/index.html">http://www.oracle.com/technetwork/middleware/weblogic/documentation/index.html</a></p> <p>此次同时发布的还有<em>Oracle Fusion Middleware 11g R1</em> (<em>11.1.1.6.x</em>),包含下列产品:</p> <ul> <li>Oracle WebLogic Server 11<i>g</i> R1 (10.3.6)  <li>Oracle SOA Suite 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Business Process Management 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Complex Event Processing 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Service Bus 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Enterprise Repository 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Service Registry 11g R1 (11.1.1.6)  <li>Oracle Application Integration Architecture Foundation Pack 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Data Integrator 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle WebCenter Portal 11<i>g</i> R1 (11.1.1.6.0) <br>(previously known as Oracle WebCenter Suite)  <li>Oracle WebCenter Content 11<i>g</i> R1 (11.1.1.6.0)<br>(previously known as Oracle Enterprise Content Management)  <li>Oracle Identity Management 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Forms, Reports, Portal &amp; Discoverer 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle Traffic Director 11g R1 (11.1.1.6)  <li>Oracle Repository Creation Utility 11<i>g</i> R1 (11.1.1.6.0)  <li>Oracle JDeveloper &amp; Application Development Framework 11<i>g</i> R1 (11.1.1.6.0)</li></ul><img src ="http://www.blogjava.net/beansoft/aggbug/370550.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-02-23 07:32 <a href="http://www.blogjava.net/beansoft/archive/2012/02/23/370550.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>计时器和工作管理器 API (CommonJ) 编程人员指南</title><link>http://www.blogjava.net/beansoft/archive/2012/02/19/370298.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Sun, 19 Feb 2012 11:23:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/02/19/370298.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/370298.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/02/19/370298.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/370298.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/370298.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 计时器和工作管理器 API (CommonJ) 编程人员指南						 本文整理自 WebLogic 10.0中文文档。					更多CommonJ规范的信息参考：http://www.ibm.com/developerworks/library/specification/j-commonj-sdowmt/index.html					计时器和工作管理器 API此文档概述计时器...&nbsp;&nbsp;<a href='http://www.blogjava.net/beansoft/archive/2012/02/19/370298.html'>阅读全文</a><img src ="http://www.blogjava.net/beansoft/aggbug/370298.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-02-19 19:23 <a href="http://www.blogjava.net/beansoft/archive/2012/02/19/370298.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>老刘文库－137篇WebLogic文章全部上传完毕!</title><link>http://www.blogjava.net/beansoft/archive/2012/01/08/368109.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Sun, 08 Jan 2012 15:14:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2012/01/08/368109.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/368109.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2012/01/08/368109.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/368109.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/368109.html</trackback:ping><description><![CDATA[
		<p>访问地址：<a href="https://skydrive.live.com/?cid=519B3F7AA2172030&amp;id=519B3F7AA2172030%211289">https://skydrive.live.com/?cid=519B3F7AA2172030&amp;id=519B3F7AA2172030%211289</a></p>
		<p> </p>
		<p>一共约137篇文章，已经上传完毕，除个别文件因命名问题外上传失败，95%的文章已经可以直接浏览或打包下载了。WebLogic中文博客目前正在致力于新版本的通用Java中间件监控软件的研发中（单一软件支持Tomcat, Resin, JBoss, WebLogic, WebSphere，JVM运行状态监控等），因此近期将不会发表新的技术文章。如果您需要这些文章的word版本，请联系本人购买：<a href="mailto:beansoft@126.com">beansoft@126.com</a> 或者 QQ 9991483。</p>
		<p> </p>
		<p>下面是所有WebLogic文章索引：</p>
		<p>2009-11-01 配置 WebLogic Server 11g 集群单服务器版（Windows）.pdf
  <br />2009-11-06 WebLogic Server 11g节点管理器和Machine配置单机版（Windows）.pdf

  <br />2009-11-06 关于Spring和WebLogic版本兼容的一点小提示.pdf

  <br />2009-11-09 WebLogic 11g 如何修改 Console 的端口.pdf

  <br />2009-12 Weblogic 11 集群和节点管理器配置快速入门视频(单服务器版).pdf

  <br />2010-01-25 WebLogic各个版本对JDK和Spring的支持度.pdf

  <br />2010-03-23 JNDI 访问外部 WebLogic 11 数据源的操作步骤.pdf

  <br />2010-05-07 Oracle WebLogic Server 11g Rel 1 (10.3.3) 发布.pdf

  <br />2010-07-15 WLST on Weblogic 8.1下载地址(转).pdf

  <br />2010-08 WebLogic 9.2.4.0 发布.pdf

  <br />2010-08-13 WebLogic 11g 下载地址及 OEPE所有版本官方下载地址及所有版本文档(edoc)阅读下载地址.pdf

  <br />2010-08-16久违或遗忘的WebLogic Java工具.pdf

  <br />2010-08-19 简单的HelloWorld Portal 应用(for WLS 10).pdf

  <br />2010-08-20韩国wls监控 WLMonitor 2.5 beta 1 英文版下载.pdf

  <br />2010-08-31 Where to download file wlfullclient.jar.pdf

  <br />2010-09-09 WebLogic和JDK版本稳定度排行榜.pdf

  <br />2010-09-10 WebLogic静默卸载与安装[Slient Install and Uninstall].pdf

  <br />2010-11-26 WebLogic集群实现HTTP复制的简单步骤.pdf

  <br />2010-12-09 WebLogic Edoc中关于weblogic.Deployer的一点小问题.pdf

  <br />2011-02-27 如何修改weblogic默认线程池大小.pdf

  <br />2011-02-28 如何破解WebLogic管理密码.pdf

  <br />2011-03 WebLogic如何使用GridLink连接RAC数据库.pdf

  <br />2011-04-18 WebLogic散包部署禁用热加载.pdf

  <br />2011-05-07 WebLogic 10.3.5正式发布,提供下载.pdf

  <br />2011-05-22 基于JMS的Weblogic Server Webservice开发.pdf

  <br />2011-05-22基于JMS的Weblogic Server Webservice开发.pdf

  <br />2011-07-03 WebLogic 10.3.4支持JDK 7.pdf

  <br />2011-07-26借助 SAML 实现 WebLogic Server 9.2 单点登录相关文章.pdf

  <br />2011-07-28同时使用Oracle Exalogic Elastic Cloud和Exadata Database Machine的SquareTwo Financial公司[转].pdf

  <br />2011-07-31 3D立体展示 Oracle Exalogic Elastic Cloud X2-2.pdf

  <br />2011-08-03 关于WebLogic Windows 7版本.pdf

  <br />2011-08-04 ExaLogic EL X2-2 Edoc在线阅读及下载地址,安装视频.pdf

  <br />2011-08-12 WebLogic如何处理socket muxers[转].pdf

  <br />2011-08-23 Weblogic 10.3.5在64位Windows系统下的安装和配置.pdf

  <br />2011-08-24 WebLogic中的监视仪表盘(图文,视频).pdf

  <br />2011-08-26 WEBLOGIC JMS 点对点配置详解.pdf

  <br />2011-08-29使用WLST创建和删除DataSource.pdf

  <br />2011-08-30 WebLogic Express是免费的嘛 WebLogic是免费的嘛.pdf

  <br />2011-08-30 WLST快速创建单机Domain.pdf

  <br />2011-08-31 Solaris下如何安装WebLogic.pdf

  <br />2011-09-02使用代理插件时群集中的 HTTP 负载平衡问题[转].pdf

  <br />2011-09-04 AIX下WebLogic安装操作手册[转].pdf

  <br />2011-09-10调试基本WebLogic JDBC问题[转].pdf

  <br />2011-09-29 优化WebLogic 8服务器性能参数[转].pdf

  <br />2011-10 WebLogic Server Blog 内容收藏.pdf

  <br />2011-10-07 DomainHealth 1.0.0 发布.pdf

  <br />2011-10-10 使用WLST配置WebLogic密码策略.pdf

  <br />2011-10-19 WebLogic NodeManager 远程攻击漏洞补丁下载.pdf

  <br />2011-11 GlassFish 4.0 视频曝光,控制台酷似WebLogic.pdf

  <br />2011-11-09 WebLogic Web 应用映射到根目录.pdf

  <br />2011-11-28 如何抓取Thread Dump小结.pdf

  <br />2011-12 Oracle WebLogic Server 12c (12.1.1)正式发布.pdf

  <br />2011-12 WebLogic所有版本Edoc在线阅读及下载地址.pdf

  <br />2011-12 转载－weblogic 类加载机制.pdf

  <br />2011-12-02 Weblogic - Socket Muxers in Thread Dumps[转].pdf

  <br />2012-01-29各个版本WebLogic所支持的JDK及JavaEE版本.pdf

  <br />Accessing JMX for Oracle WebLogic 11g.pdf

  <br />BEA Weblogic Server宝典[中文图片版] [PDF].pdf

  <br />BEA Weblogic、Tuxedo 下载地址[转].pdf

  <br />BEA 产品文档[转].pdf

  <br />BEA-000337 错误解决[转].pdf

  <br />BEA-000402问题解决 but the maximum number of socket reader threads allowed by the configuration is.pdf

  <br />BEA公司被收购前所有版本软件支持的操作系统等配置信息列表.pdf

  <br />chaowang在甲骨文社区日的演讲教材下载.pdf

  <br />Debugging WebLogic Platform Internals.pdf

  <br />Enable IIOP and default user for the WebLogic server[转].pdf

  <br />Installing Oracle WebLogic Server and Creating a Domain [Linux].pdf

  <br />Jython相关文章收藏.pdf

  <br />Linux下Weblogic 11g jar格式安装包如何安装.pdf

  <br />Managing WebLogic servers with JConsole.pdf

  <br />Monitoring WebLogic 9 using JMX.pdf

  <br />Oracle Fusion Middleware支持的JDK等系统配置列表信息.pdf

  <br />Oracle WebLogic Integration.pdf

  <br />Oracle WebLogic Server 11g Monitor and Tune Performance课程介绍[转].pdf

  <br />Oracle WebLogic Server Enterprise Edition 报价.pdf

  <br />Oracle WebLogic Server Information Center[转].pdf

  <br />Oracle官方关于WebLogic服务有效期的文档.pdf

  <br />Performance and Tuning for Oracle WebLogic Server 11g[PDF] Download.pdf

  <br />Reason of java.lang.InternalError： erroneous handlers.pdf

  <br />startWebLogic.sh启动失败，提示Error initializing Embedded LDAP Server错误.pdf

  <br />WebLogic 10.3.4正式发布,提供下载,支持JSF 2.0, JPA 2.0和JAX-RS 1.1[图].pdf

  <br />WebLogic 10各个版本详细名称.pdf

  <br />Weblogic 11g 安装部署手册.pdf

  <br />WebLogic 11gR1 PS3所有BEA错误代码详细信息列表.pdf

  <br />WebLogic 8 debug flags.pdf

  <br />WebLogic 8 监控 wlstat 0.2, 方便监控weblogic的Sockets,jvm,jdbc,threads,session.pdf

  <br />WebLogic 8.1 FTP 下载地址(Windows版本).pdf

  <br />WebLogic 8.1.6 Windows 安装包下载.pdf

  <br />WebLogic 8.1.6的所有BEA错误代码索引.pdf

  <br />WebLogic 9 实现基于Oracle数据库的用户身份存储示例代码.pdf

  <br />Weblogic 9.2 部署 8.1 下运行的 EAR 出错的部分解决方法.pdf

  <br />WebLogic 9.2的所有BEA错误代码索引.pdf

  <br />Weblogic for aix操作手册.pdf

  <br />WebLogic JDBC 驱动的配置.pdf

  <br />WebLogic JSP Servlet 线程超时设置参数.pdf

  <br />WebLogic Portal服务器配置手册.pdf

  <br />WebLogic Server 10.3.4 Released – Key APIs of Java EE 6 and More[转].pdf

  <br />WebLogic Server 9 的 Web Service 编程之 JWS.pdf

  <br />WebLogic Server 9.2 集群配置单服务器版.pdf

  <br />WebLogic Server 9.2 集群配置单服务器版和多服务器版(PDF).pdf

  <br />WebLogic Server 9.2 集群配置多服务器版.pdf

  <br />WebLogic versioned deployment side-by-side[转].pdf

  <br />WebLogic 最新版本下载地址.pdf

  <br />weblogic.Admin[转].pdf

  <br />weblogic.security.internal.encryption.EncryptionServiceException： com.rsa.jsafe.JSAFE_PaddingException： Could not perform unpadding： invalid pad byte.pdf

  <br />weblogic.utils.classloaders.FilteringClassLoader所在包.pdf

  <br />WebLogic8.1打印详细的jdbc日志.pdf

  <br />Weblogic8.1集群中批量启动和关闭所有服务器的脚本[转].pdf

  <br />weblogic9 jdbc日志跟weblogic8的区别.pdf

  <br />WebLogic公司发展简史.pdf

  <br />WebLogic启用域之间的跨域安全 Enable Cross Domain Security between domains[转].pdf

  <br />WebLogic如何强制先加载WEB-INF／lib下的jar.pdf

  <br />WebLogic如何更换64位JDK[转].pdf

  <br />WebLogic密码恢复（一）[转].pdf

  <br />WebLogic密码恢复（二）[转].pdf

  <br />Weblogic的Machine,Server,Domain,Cluster的关系.pdf

  <br />WebLogic集群环境下如何访问EJB实现负载均衡.pdf

  <br />WLS10.3.0中，连接测试导致的connection pool shrinking(disabling)问题分析[转].pdf

  <br />WLST脚本获取ThreadDump[转].pdf

  <br />[WebLogic]dev2dev 2004 合订本下载.pdf

  <br />[转]EJB在Weblogic Server集群中的实现.pdf

  <br />[转]WebLogic 10.3.4 新功能：CAT - Classloader分析工具.pdf

  <br />[转]WebLogic ClassCastException 错误解析.pdf

  <br />[转]将WebLogic Server注册为Windows服务.pdf

  <br />【转】Weblogic挂起、宕机问题分析及优化.pdf

  <br />使用VisualVM远程监控WebLogic服务器JVM.pdf

  <br />使用WLST监控应用状态[转].pdf

  <br />使用WLST脚本列出JMS队列中的消息.pdf

  <br />删除WebLogic 10的缓存[转].pdf

  <br />原dev2dev的WebLogic General精华贴总.pdf

  <br />如何抓取Thread Dump小结.pdf

  <br />开发自定义的MBean来管理J2EE应用(第四部分)[转].pdf

  <br />想在WLST中运行本机命令.pdf

  <br />监控线程执行情况,耗光时自动输出thread内容[转].pdf

  <br />简单的Oracle WebLogic 11g安装部属手册(PDF).pdf

  <br />转 多机nodemanager测试小记&amp;weblogic103.pdf

  <br />配置基于Coherence 的WebLogic Server会话管理[转].pdf

  <br />Weblogic 8.1 JNDI 教程PPT.swf

  <br />WebLogic Server 8.1 Performance Tuning Guide(调优中文文档).swf

  <br />对WebLogic Server JNDI 启用安全设置.swf

  <br />设置WebLogic集群(WebLogic 10 中文文档).swf</p>
<img src ="http://www.blogjava.net/beansoft/aggbug/368109.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2012-01-08 23:14 <a href="http://www.blogjava.net/beansoft/archive/2012/01/08/368109.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何抓取Thread Dump小结</title><link>http://www.blogjava.net/beansoft/archive/2011/12/30/367584.html</link><dc:creator>BeanSoft</dc:creator><author>BeanSoft</author><pubDate>Fri, 30 Dec 2011 07:58:00 GMT</pubDate><guid>http://www.blogjava.net/beansoft/archive/2011/12/30/367584.html</guid><wfw:comment>http://www.blogjava.net/beansoft/comments/367584.html</wfw:comment><comments>http://www.blogjava.net/beansoft/archive/2011/12/30/367584.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/beansoft/comments/commentRss/367584.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/beansoft/services/trackbacks/367584.html</trackback:ping><description><![CDATA[<p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">如何抓取</span><span lang="EN-US">Thread Dump</span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">小结</span><span lang="EN-US"></span>  <p></p></b> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p></b> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">作者</span><span lang="EN-US">: 刘长炯 <a href="mailto:BeanSoft@126.com">BeanSoft@126.com</a> </span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">日期</span><span lang="EN-US">: 2011-11-28 </span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">本文环境</span><span lang="EN-US">: JDK 1.5/1.6, WebLogic 9.0 or later</span>  <p></p></b> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p></b> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">当服务器挂起</span><span lang="EN-US">,</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">崩溃或者性能底下时</span><span lang="EN-US">,</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">就需要抓取服务器的线程堆栈</span><span lang="EN-US">(Thread Dump)</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">用于后续的分析</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">Thread dump</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">提供了当前活动的线程的快照</span><span lang="EN-US">. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">它提供了</span><span lang="EN-US">JVM</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">中所有</span><span lang="EN-US">Java</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">线程的栈跟踪信息</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">有很多方式可用于获取</span><span lang="EN-US">Thread Dump, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">一些是操作系统特定的命令</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">操作系统命令获取</span><span lang="EN-US">ThreadDump:</span>  <p></p></b> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">Windows:</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">1.<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">转向服务器的标准输出窗口并按下</span><span lang="EN-US">Control + Break</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">组合键</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">之后需要将线程堆栈复制到文件中</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">UNIX/ Linux</span>  <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">首先查找到服务器的进程号</span><span lang="EN-US">(process id), </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">然后获取堆栈</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">1.<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>ps –ef<span style="mso-spacerun: yes">&nbsp; </span>| grep java</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">2.<span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>kill -3 &lt;pid&gt;</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;</span></span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">注意一定要谨慎</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">一步不慎就可能让服务器进程被杀死</span><span lang="EN-US">! <br style="mso-special-character: line-break"><br style="mso-special-character: line-break"></span> <p></p> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span lang="EN-US">JVM </span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">自带的工具获取线程堆栈</span><span lang="EN-US">:</span>  <p></p></b> <p></p> <p class="MsoNormal"><span lang="EN-US">JDK</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">自带命令行工具获取</span><span lang="EN-US">PID</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">并做</span><span lang="EN-US">ThreadDump:</span>  <p></p> <p></p> <p class="MsoListParagraph" style="margin-left: 21pt; text-indent: -21pt; mso-char-indent-count: 0; mso-list: l0 level1 lfo1"><span lang="EN-US" style="mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"><span style="mso-list: ignore">1.<span style="font: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">jps</span>  <p></p> <p></p> <p class="MsoListParagraph" style="margin-left: 21pt; text-indent: -21pt; mso-char-indent-count: 0; mso-list: l0 level1 lfo1"><span lang="EN-US" style="mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: calibri; mso-bidi-theme-font: minor-latin"><span style="mso-list: ignore">2.<span style="font: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span lang="EN-US">jstack &lt;pid&gt;</span>  <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">使用</span><span lang="EN-US">JVisualVM:</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">Threads </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">标签页</span><span lang="EN-US" style="font-family: wingdings; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: wingdings"><span style="mso-char-type: symbol; mso-symbol-font-family: wingdings">à</span></span><span lang="EN-US">ThreadDump</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">按钮</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><b style="mso-bidi-font-weight: normal"><span lang="EN-US">WebLogic </span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">自带的获取</span><span lang="EN-US"> thread dump</span></b><b style="mso-bidi-font-weight: normal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">的工具</span><span lang="EN-US">:</span>  <p></p></b> <p></p> <p class="MsoNormal"><span lang="EN-US">1. webLogic.Admin </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">工具</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">a. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">打开命令提示符</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">通过运行</span><span lang="EN-US">&lt;DOMAIN_HOME&gt;/bin/setDomain.env</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">设置相关类路径</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">b. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">执行下面的命令</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">java weblogic.Admin -url t3://localhost:7001 -username weblogic -password weblogic1 THREAD_DUMP</span>  <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">注意</span><span lang="EN-US">: Thread Dump </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">会打印到标准输出</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">如</span><span lang="EN-US">nohup</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">日志或者进程窗口</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">2. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">使用</span><span lang="EN-US"> Admin Console</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">a. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">登录</span><span lang="EN-US"> Admin Console , </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">点击对应的服务器</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">b. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">点击</span><span lang="EN-US">Server </span><span lang="EN-US" style="font-family: wingdings; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: wingdings"><span style="mso-char-type: symbol; mso-symbol-font-family: wingdings">à</span></span><span lang="EN-US"> Monitoring </span><span lang="EN-US" style="font-family: wingdings; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: wingdings"><span style="mso-char-type: symbol; mso-symbol-font-family: wingdings">à</span></span><span lang="EN-US">Threads</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">c. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">点击</span><span lang="EN-US">: Dump Thread Stack </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">按钮</span><span lang="EN-US"></span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">3. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">使用</span><span lang="EN-US">WLST (WebLogic Scripting Tool)</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">connect(‘weblogic’,'weblogic1’,’t3://localhost:7001’)</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">cd(‘Servers’)</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">cd(‘AdminServer’)</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">threadDump()</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">disconnect()</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span lang="EN-US">exit()</span>  <p></p> <p></p> <p class="MsoNormal" style="margin-left: 10.5pt; mso-para-margin-left: 1.0gd"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">注意</span><span lang="EN-US">: </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">线程堆栈将会保存在运行</span><span lang="EN-US">wlst</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">的当前目录下</span><span lang="EN-US">.</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;</span></span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">4. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">使用</span><span lang="EN-US">utils.ThreadDumper</span>  <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">用法</span><span lang="EN-US">:</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">C:\bea\wlserver_10.3\server\lib&gt;java -cp weblogic.jar utils.ThreadDumper</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">Broadcast Thread dumps disabled: must specify weblogic.debug.dumpThreadAddr and</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">weblogic.debug.dumpThreadPort</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">Exception in thread "main" java.lang.IllegalArgumentException: Port out of range</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">:-1</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>at java.net.DatagramPacket.setPort(Unknown Source)</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>at java.net.DatagramPacket.&lt;init&gt;(Unknown Source)</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>at java.net.DatagramPacket.&lt;init&gt;(Unknown Source)</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>at utils.ThreadDumper.sendDumpMsg(ThreadDumper.java:124)</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>at utils.ThreadDumper.main(ThreadDumper.java:145)</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">5. </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">如果服务器是作为</span><span lang="EN-US">Windows</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">服务的方式运行</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">请运行下列命令</span><span lang="EN-US">:</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">WL_HOME\bin\beasvc -dump -svcname:service-name</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">其它一些获取</span><span lang="EN-US">Thread Dump</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">的工具有</span><span lang="EN-US">jrcmd, jrmc(JRockit VM</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">自带</span><span lang="EN-US">) ,Samurai, JProfiler</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">等</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">还可通过</span><span lang="EN-US">JMX</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">编程的方式获取</span><span lang="EN-US">, </span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">如</span><span lang="EN-US">JDK</span><span style="font-family: 宋体; mso-ascii-font-family: calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: calibri; mso-hansi-theme-font: minor-latin">自带示例代码</span><span lang="EN-US">:</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US">$JAVA_HOME\demo\management\FullThreadDump</span>  <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span> <p>&nbsp;</p> <p></p> <p></p> <p class="MsoNormal"><span lang="EN-US"></span></p><img src ="http://www.blogjava.net/beansoft/aggbug/367584.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/beansoft/" target="_blank">BeanSoft</a> 2011-12-30 15:58 <a href="http://www.blogjava.net/beansoft/archive/2011/12/30/367584.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>