Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] URGENT FOR ME

Hi,
 
I have done the following thing to enable run time weaving for a j2ee application:
 
  1. Added a aop.xml in the etc\META-INF folder of the j2ee application
  2. Created to aspects java file with .aj extension and created a jar of it named aspects. jar
  3. In the startWeblogic script file the class path is set in the following way set CLASSPATH=E:\aspects\aspects.jar;E:\aspectj-1.5\lib\aspectjrt.jar;E:\aspectj-1.5\lib\aspectjweaver.jar;%WEBLOGIC_CLASSPATH%;%EXAMPLE_APP_DIR%\release\*NAME.ear;%CLASSPATH%  
 
  1. Then @REM %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
 
  1. %ASPECTJ_HOME%\bin\aj.bat %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
 
    The above two scripts are added in the weblogic server start up script.
In the setENV script I have changed nothing only BEA is used as java vendor.
And set JAVA_HOME=E:\jrockit81sp5_142_08 is used along with Weblogic 8.1
 
After all these settings when I am using server startup script from cmd I am getting the following error:
Please go through the attachment for the error.
 Regards
JAGARAN


Here’s a new way to find what you're looking for - Yahoo! Answers

Windows bitmap


Back to the top