Re: JBoss and AspectWerkz
Jonas <jonas-yCVjj/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel,gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Vladimir. I did some testing and I found out that JBoss has a problem with the XML parser (piccolo) used by AspectWerkz. If you remove the piccolo jar from the aspectwerkz lib dir (./lib/piccolo-1.03.jar) then it works. /Jonas Vladimir Borkovkin wrote: > Hi Jonas > > Thanks for quick answer. I tried to use AspectWerkz with JBoss 40. It > doesn't work. > 13:08:45,507 ERROR [Server] Failed to start > org.jboss.deployment.DeploymentException: exception in init of > file:/D:/opt/jbos > s40/server/default/conf/jboss-service.xml; - nested throwable: > (org.jboss.deploy > ment.DeploymentException: Error on line 2 of document > file:/D:/opt/jboss40/serve > r/default/tmp/deploy/server/default/conf/jboss-service.xml/1.jboss-service.xml > : > Unexpected element: TAG_END Nested exception: Unexpected element: > TAG_END; - ne > sted throwable: (org.dom4j.DocumentException: Error on line 2 of > document file:/ > D:/opt/jboss40/server/default/tmp/deploy/server/default/conf/jboss-service.xml/1 > > .jboss-service.xml : Unexpected element: TAG_END Nested exception: > Unexpected el > ement: TAG_END)) > > On Wed, 24 Sep 2003 13:30:38 +0200 > Jonas <jonas-yCVjj/[email protected]> wrote: > >> Hi Vladimir. >> >> I have not tested AspectWerkz on JBoss but I think that it should work >> fine. I have written a little blog post on how to use it with WebLogic >> (hack the startup script etc.). Using it with JBoss should be about >> the same: http://blogs.codehaus.org/people/jboner/ >> >> For more information on other things like definition, advices etc. see >> the docs: http://aspectwerkz.codehaus.org/ >> >> If you can get it to run nicely on JBoss I would be glad to know. >> >> /Jonas >> >> Vladimir Borkovkin wrote: >> >>> How can I use AspectWerkz with JBoss 3.2.1 or JBoss 4.0? >>> Is it possible? I have looked at JBoss 40 AOP framework, but >>> AspectWerkz seems to be more interesting. I need to log parameter >>> values in method calls >>> Thanks in advice >>> _______________________________________________ >>> aspectwerkz-devel mailing list >>> aspectwerkz-devel-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org >>> http://lists.codehaus.org/mailman/listinfo/aspectwerkz-devel >>> >>> >> >> > > >