Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] replied 
to the discussion

"calling aspect from netty thread inside jboss 5.1"

To view the discussion, visit: http://community.jboss.org/message/550252#550252

--------------------------------------------------------------
Is the Thread.currentThread().getContextClassLoader() in MyNetworkListener what 
you would expect for your application?

JBoss AOP doesn't really do anything fancy with classloaders unless your 
application uses isolated classloading, which I don't think is the case in your 
application.

If you're using loadtime weaving, the -aop.xml stuff must be available before 
accessing the classes. For your basic.jar the deployers are smart enough to 
deploy the aop xml before the bean classes are loaded. Can you try getting rid 
of both jars, and then starting the server with basic.jar only. Once started 
deploy network.jar. If that helps, I'll dig out some resources on deployment 
ordering

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/550252#550252]

Start a new discussion in JBoss AOP at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to