[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] AspectJ with weblogic application server6.1/8.1!!!
- From: "Sharath Reddy" <Sharath.Reddy@xxxxxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 09:38:25 -0500
- Delivered-to: firstname.lastname@example.org
- Thread-index: AcWMb4oyrXyjvXheQuqnKgYTA48Z5Q==
- Thread-topic: AspectJ with weblogic application server6.1/8.1!!!
>From below URL it is clear that weblogic6.1 supports AOP.
I executed sample programs standalone and it is
working fine. Here I'm attaching aspect program (ISRAspect.java) and it is
listing on getIP method in IPManager.java program. I compiled the both programs
with 'ajc' and updated PATH and CLASSPATH with AspectJ for starting the
weblogic(startweblogic.cmd). The server is starting OK but it is not showing
the message (In callSayMessage!!!!!!) which is to be fired after getIP() method
Keeping aspects.jar file in CLASSPATH and adding below lines
in server startup( as per
When I ran the server in weblogic6.1(windows) it is displaying
Pre-processor weblogic.aspects.AspectClassPreProcessor loaded and initialized
but it is failing to deploy ‘DefaultWebApp’ because of that I
couldn’t able to validate AOP messages(windows.log file in attachment).
When I carried the same steps in weblogic8.1 in LINUX it is showing following message
(linux.out file in attachment)
'weblogic.aspects.AspectClassPreProcessor' not found
But the server is running fine and it is not showing AOP messages.
Please let me know how to use AspectJ in weblogic6.1/8.1. How to use AspectJ
with EJB stateless session bean methods?
Thanks in advance.
Sharath Kumar Reddy Karnati