Messaging build uses aopc to weave in the aspects. Then the jboss-messaging.jar is created and we use that in the AS.
Flavia, I have been taking your test jars, drop them in messaging/thirdparty/jboss/aop/lib and then build the messaging jar and use it in AS. Each time I have got an updated jar, I have got a shorter stack trace.
Let me run one more time and get the complete stack trace for Adrian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191301#4191301
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191301
I've added this to deployers.xml (see commented code)
| <!-- The ManagedObjectFactory -->
| <bean name="ManagedObjectFactory">
| <constructor factoryClass="org.jboss.managed.api.factory.ManagedObjectFactory" factoryMethod="getInstance"/>
| <!-- Accept any implementor of InstanceClassFactory -->
| <incallback method="addInstanceClassFactory"/>
| <uncallback method="removeInstanceClassFactory"/>
| <!-- Accept any ManagedObjectDefinition
| <incallback method="addManagedObjectDefinition"/>
| <uncallback method="removeManagedObjectDefinition"/>
| -->
| </bean>
|
This should be un-commented once new jboss-man is released.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191300#4191300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191300
I've added this to deployers.xml (see commented code)
| <!-- The ManagedObjectFactory -->
| <bean name="ManagedObjectFactory">
| <constructor factoryClass="org.jboss.managed.api.factory.ManagedObjectFactory" factoryMethod="getInstance"/>
| <!-- Accept any implementor of InstanceClassFactory -->
| <incallback method="addInstanceClassFactory"/>
| <uncallback method="removeInstanceClassFactory"/>
| <!-- Accept any ManagedObjectDefinition
| <incallback method="addManagedObjectDefinition"/>
| <uncallback method="removeManagedObjectDefinition"/>
| -->
| </bean>
|
This should be un-commented once new jboss-man is released.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191296#4191296
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191296
"adrian(a)jboss.org" wrote : "adrian(a)jboss.org" wrote :
| | Now that I refresh my memory on how this works. :-)
| | You also need to be able to specify the ManagedObjectPopulator as well.
| |
|
| Actually scrap that. ;-)
|
| The plugin mechanism works by allowing the builder to optionally implement the Populator
| interface as well.
|
| Its optional because a simple ManagedObjectBuilder can just define
| which javabean properties the default populator should look at.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191294#4191294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191294
"alesj" wrote : Meaning definition should also have populator?
Actually this is already taken care of here:
| protected <X> ManagedObjectPopulator<X> getPopulator(Class<X> clazz)
| {
| ManagedObjectBuilder builder = getBuilder(clazz);
| if (builder instanceof ManagedObjectPopulator)
| return (ManagedObjectPopulator) builder;
| ManagedObjectPopulator<X> mop = (ManagedObjectPopulator<X>) defaultManagedObjectPopulator;
| return mop;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191293#4191293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191293
I have a web service installed on JBoss 4.2.3.
My client send a SOAP message including some xml signature.
Then I have a handler on the server side to verify the signature.
But when the message arrive in the handler, namespace declarations have been modified and the signature fails !!!!
An example of what appends :
my original document :
<aa:node1 xmlns:aa="http:myns">
<aa:node2>
<aa:node3>value</aa:node3>
</aa:node2>
</aa:node1>
the altered document
<aa:node1 xmlns:aa="http:myns">
<aa:node2>
<aa:node3 xmlns:aa="http:myns">value</aa:node3>
</aa:node2>
</aa:node1>
How can I correct this problem ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191290#4191290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191290