- 浏览: 317051 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (224)
- Java (34)
- Test (3)
- Linux/Unix (32)
- Windows (8)
- Oracle (78)
- Oracle Backup & Recovery (3)
- SqlServer (1)
- Database (3)
- Open Source (2)
- Server Management (1)
- Apache ActiveMQ (1)
- IBM WebSphere MQ (7)
- IBM WAS (15)
- 其它 (11)
- UML (1)
- Tools (1)
- Reference (0)
- Spring (11)
- Hibernate (5)
- VBScript (3)
- Network (1)
- Securities (2)
- Maven (6)
- logging (2)
- Web (1)
- AWS (3)
最新评论
最近WAS经常thread hung.
Owns Monitor Lock on java/util/HashMap@00002AAAB5A331C0/00002AAAB5A331D8 |
at java/util/WeakHashMap.getEntry(WeakHashMap.java:400(Compiled
Code)) at java/util/WeakHashMap.containsKey(WeakHashMap.java:386(Compiled Code)) at org/aspectj/lang/reflect/AjTypeSystem.getAjType(AjTypeSystem.java:37(Compiled Code)) |
将AjTypeSystem.class 从aspectjrt-1.5.3.jar upgrade 到 aspectjrt-1.6.10.jar, 解决问题.
// Source File Name: AjTypeSystem.java package org.aspectj.lang.reflect; import java.lang.ref.WeakReference; import java.util.Map; import java.util.WeakHashMap; import org.aspectj.internal.lang.reflect.AjTypeImpl; // Referenced classes of package org.aspectj.lang.reflect: // AjType public class AjTypeSystem { private static Map ajTypes = new WeakHashMap(); public AjTypeSystem() { } public static AjType getAjType(Class fromClass) { if(ajTypes.containsKey(fromClass)) { WeakReference weakRefToAjType = (WeakReference)ajTypes.get(fromClass); AjType theAjType = (AjType)weakRefToAjType.get(); if(theAjType != null) { return theAjType; } else { theAjType = new AjTypeImpl(fromClass); ajTypes.put(fromClass, new WeakReference(theAjType)); return theAjType; } } else { AjType theAjType = new AjTypeImpl(fromClass); ajTypes.put(fromClass, new WeakReference(theAjType)); return theAjType; } } }
// Source File Name: AjTypeSystem.java package org.aspectj.lang.reflect; import java.lang.ref.WeakReference; import java.util.*; import org.aspectj.internal.lang.reflect.AjTypeImpl; // Referenced classes of package org.aspectj.lang.reflect: // AjType public class AjTypeSystem { private static Map ajTypes = Collections.synchronizedMap(new WeakHashMap()); public AjTypeSystem() { } public static AjType getAjType(Class fromClass) { WeakReference weakRefToAjType = (WeakReference)ajTypes.get(fromClass); if(weakRefToAjType != null) { AjType theAjType = (AjType)weakRefToAjType.get(); if(theAjType != null) { return theAjType; } else { theAjType = new AjTypeImpl(fromClass); ajTypes.put(fromClass, new WeakReference(theAjType)); return theAjType; } } else { AjType theAjType = new AjTypeImpl(fromClass); ajTypes.put(fromClass, new WeakReference(theAjType)); return theAjType; } } }
发表评论
-
Set proxy with account/password for CloseableHttpClient
2018-07-04 22:32 515package com.hsbc.wealth.srbp; ... -
HTTPS setup & keyManagers trustManagers
2017-08-03 01:24 482https://jingyan.baidu.com/arti ... -
Base64Encoder & Base64Decoder
2017-03-16 23:29 648import java.io.UnsupportedEnco ... -
Spring transaction manager example
2015-09-19 14:25 598ApplicationContext.xml < ... -
java.lang.ClassCastException: $Proxy8 incompatible with lin.dao.impl.ExchangeDao
2015-09-19 14:01 1133Spring transaction practice, ... -
Eclipse: Resolve Workspace projects
2015-09-01 22:21 1418When Import Maven project: & ... -
Junit4 Sample
2014-11-13 00:15 627package com.lin.MavenTest; ... -
Junit3 Sample
2014-11-12 23:22 644package com.lin.MavenTest; ... -
《Spring In action》学习笔记——AOP(面向切面编程)
2014-10-25 11:09 8631.AOP术语 通知(Advice): 切面的功能被称 ... -
Suspend validation
2014-10-20 20:46 849Build workspace 的时候,出现如下错误。 ... -
Spring head
2014-09-04 18:28 558<?xml version="1.0&quo ... -
Joda-Time
2014-09-04 16:59 727http://www.joda.org/joda-time/ ... -
J2EE的13种核心技术规范
2014-07-02 10:44 636J2EE主要用于创建可扩展的企业应用,包括13种核心技术规范 ... -
Quartz任务调度快速入门
2014-06-26 14:41 547概述 了解Quartz体系结构 Quart ... -
Spring 笔记
2014-06-25 20:43 4871. BeanFactory BeanFactor ... -
SpringBatch的领域概念
2014-06-25 11:58 1480谈到Spring Batch,会谈到很多的领域概念,Job ... -
EJB2.0 ejb-jar.xml配置文件详解
2014-05-07 18:24 1340<ejb-jar><!--EJB发布描述器 ... -
开发EJB
2014-05-07 16:30 551现在,从如下几个方 ... -
Connect to Oracle DB - Java
2014-04-04 15:14 668import java.sql.*; public ... -
JVM系列
2013-12-05 21:01 756java内存组成介绍:堆( ...
相关推荐
The WorkforceServices service hung on starting.
truyen lich su han so tranh hung
Han So Tranh Hung_Hung_book_源码.zip
台大李宏毅 (Hung-Yi Lee) 教授的Machine Learning (2016, Fall)
ha hung connect opc danh hsd
Deep Learning Tutorial 李宏毅 Hung-yi Lee
thanks for you registered new account
目前看过的最清晰、最通俗易懂、最完整解读深度学习知识的讲义,来自台大李宏毅 (Hung-yi Lee)教授,千万不要错过~~
UL 1278-2022 Movable and Wall- or Ceiling-Hung Electric Room
全面记录pokemon游戏中重要动物的属性指标,可用于训练自己的模型,预测动物升级后的cp值使用,同时是李宏毅 (Hung-yi Lee)教授课程的模型训练资源
问题和现象接到生产支持的同事报告:数据库反应非常慢,很多数据库操作无法完成,DB出在被hung住的状态。同时,他们通过OEM发现其中一个节点(我们的数据库是10GRAC环境,3个节点)上发现存在很高的...
C语言实现动态规划 矩阵连乘问题! 问题:给定n个矩阵{A1,A2,…,An},其中Ai与Ai+1是可乘的,i=1,2,…,n-1。计算这n个矩阵的连乘积。由于矩阵乘法满足结合律,故计算矩阵的连乘积可以由许多不同的计算次序。...
chrome浏览器崩溃解决 @echo off reg add HKLM\SOFTWARE\Policies\Google\Chrome\ /v RendererCodeIntegrityEnabled /t REG_DWORD /d 0
JC Hung 田納西實驗室的洪真的著作 慣性導航的簡介 !機械式陀螺儀再平衡迴路的敘述是 1980年代的重要技術文件 如今NASA都公開了
Pham Kim Hung - Secrets in Inequalities, Vol. 1 - Basic Inequalities
Hung-Tam-D-Gap-for-EVI-to-ZAMP.pdf
PieTTY 是由林弘德(Hung-Te Lin, piaip)以 PuTTY 源代码为基础
TSCLIB的示例工程,java版本,欢迎使用,欢迎使用,欢迎使用,欢迎使用
方法:从09/2017年至06/2018年间,对Hung Vuong医院妇科-盆腔单位的296例盆腔器官脱垂的II级和III级女性进行性功能障碍的横断面研究。 结果:PISQ-12中女性性功能障碍的患病率为76.4%和95%CI [71.6-81.2]。 女性...
UL 1278:2020 Movable and Wall-or Ceiling-Hung Electric Room Heaters(移动式和壁挂式或吸顶式房间电加热器)- 完整英文版(147页).pdf