In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you the "sample analysis of POJO CACHE configuration problems", which is easy to understand and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn the article "sample Analysis of POJO CACHE configuration problems".
POJO CACHE configuration encounters a bug on jboss-4.0.5-GA. The bug is: Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: addObser
Ver
At org.jboss.aop.ClassAdvisor.attachClass (ClassAdvisor.java:312)
At org.jboss.aop.AspectManager.initialiseClassAdvisor (AspectManager.java
: 590)
At org.jboss.aop.AspectManager.getAdvisor (AspectManager.java:578)
At org.jboss.tutorial.entity.bean.LineItem. (LineItem.java)
... 112 more
Caused by: java.lang.NoSuchMethodException: addObserver
At org.jboss.aop.ClassAdvisor.getMethod (ClassAdvisor.java:323)
At org.jboss.aop.ClassAdvisor.getMethod (ClassAdvisor.java:331)
At org.jboss.aop.ClassAdvisor.populateMixinMethods (ClassAdvisor.java:394
)
At org.jboss.aop.ClassAdvisor$1.run (ClassAdvisor.java:290)
At java.security.AccessController.doPrivileged (Native Method)
At org.jboss.aop.ClassAdvisor.attachClass (ClassAdvisor.java:271)
... 115 more
14:37:34656 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=tutor
Ial.jar,name=ShoppingCartBean,service=EJB3 with dependencies:
14:37:34656 INFO [JmxKernelAbstraction] persistence.units:jar=tutorial.j
Ar,unitName=tempdb [@ more@]
Depressed for a long time, finally settled, the answer is in these English.
If you encounter this issue with 4.0.5.GA, until the update is available, do the following:
1. If you don't use http session clustering, you can remove tc5-cluster.aop from your
Deploy directory and use your own jboss-aop.xml. That should work.
2. If you do, you will need to include tc5-cluster.aop in your classpath when
Instrumenting the classes. Furthermore, you will need jboss-aop-aspect.jar
(for aop aspects) in your classpath as well during compilation.
The above is all the content of the article "sample Analysis of POJO CACHE configuration problems". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.