Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AspectJ with weblogic application server6.1/8.1!!!

Hi

This extension from dev2dev is a work from the WebLogic team. You
should be able to find a link on dev2dev to some newsgroup to find
help about it. This extension is not supported by the AspectJ team.

We provide on the opposite a generic way to enable AspectJ in WebLogic
(or any kind of app server) providing that you run with Java 5, or
with BEA JRockit. This is not yet available in AspectJ 1.5 milestones
(M2) though. Support for this feature under Java 1.3/1.4 is also a
work in progress.

Alex

On 7/19/05, Sharath Reddy <Sharath.Reddy@xxxxxxxxxxxxxx> wrote:
>  
>  
> 
> Dear All,
>  
>  >From below URL it is clear that weblogic6.1 supports AOP.
>  
> http://www.theserverside.com/news/thread.tss?thread_id=20514#90101
>  
>        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 is invoked. 
>  
>      Keeping aspects.jar file in CLASSPATH and adding below lines in server
> startup( as per
> http://dev2dev.bea.com/utilitiestools/monitoring.html)
>  
> -Dweblogic.classloader.preprocessor=weblogic.aspects.AspectClassPreProcessor
>  -Dweblogic.aspects.debug=true
>  
>  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)
>  
>  <ClassLoader><W>Pre-processor class
> '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. 
> 
>   
> 
> Regards, 
> 
> Sharath Kumar Reddy Karnati 
> 
>   
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 
> 
>


Back to the top