Hi Alexey,
I am resolving some failures of AOP on IBMs VM for EAP 5, and seem to have run into an
issue with JBoss XB.
The problems are to do with deploying things like
| <?xml version="1.0" encoding="UTF-8"?>
| <aop xmlns="urn:jboss:aop-beans:1.0">
| <metadata tag="test"
class="org.jboss.test.aop.bean.POJOConstructorTest">
| ..
| </metadata>
|
| <introduction class="org.jboss.test.aop.bean.POJO">
| ..
| </introduction>
| </aop>
|
I am testing in AS 5.1.0.GA, and these classes are being parsed using
https://svn.jboss.org/repos/jbossas/projects/microcontainer/tags/2.0.6.GA...
https://svn.jboss.org/repos/jbossas/projects/microcontainer/tags/2.0.6.GA...
Gives errors like:
| 16:01:52,751 ERROR [AbstractKernelController] Error installing to Start:
name=ayxy-czjy8o-fwaqtybn-1-fwaqvqgf-c9 state=Create
| java.lang.IllegalArgumentException: Neither classes nor expr set
| at
org.jboss.aop.microcontainer.beans.IntroductionBinding.start(IntroductionBinding.java:148)
|
and
| 16:01:52,493 ERROR [AbstractKernelController] Error installing to Start:
name=ayxy-czjy8o-fwaqtybn-1-fwaqvqge-c3 state=Create
| java.lang.IllegalArgumentException: Null className
| at org.jboss.aop.microcontainer.beans.ClassMetaData.start(ClassMetaData.java:103)
|
I'll dig into it a bit more, but the only reason I can see for this not happening is
if the following methods are never called when parsing:
IntroductionBeanMetaDataFactory:
| @XmlAttribute(name="class")
| public void setClazz(String clazz)
| {
| this.clazz = clazz;
| }
|
MetaDataBeanMetaDataFactory:
| @XmlAttribute(name="class")
| public void setClazz(String clazz)
| {
| this.clazz = clazz;
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239471#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...