[aosd-discuss] JBOSS and AspectJ
Dean Wampler
dean at aspectprogramming.com
Sun Jan 18 22:01:33 EST 2004
I've done this successfully. I used aspectj within my EJB application.
However, I used log4j, which jboss also uses. My output simply gets
wrtten to jboss' server.log. (You can configure that differently, if
desired.)
As a sanity check, I would make sure your aspects really did advise the
code you intended, etc.
Good luck,
dean
dean at aspectprogramming.com
Nikhil Kumar wrote:
> I am trying to use AspectJ in the JBOSS application server. I have
> been able to compile and deploy to the app. server. However the app.
> does not show the traces ( i.e. the Aspect does not seem to work). I
> am using the 1.4 logging package and JBO3.2.3. I was able to
> successfully compile run the module using a stand-alone Java program.
> I have put the aspectjrt.jar in the server's lib directory but not
> created a service (did not see the need to).
>
> Any suggestions/ experience?
>
> Regards,
> Nikhil
>
> _________________________________________________________________
> Get a FREE online virus check for your PC here, from McAfee.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> __________________________________________________
> AOSD Discuss mailing list - discuss at aosd.net
> To unsubscribe go to http://aosd.net
More information about the discuss
mailing list