[
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:
- Added a aop.xml in the etc\META-INF folder of the j2ee application
- Created to aspects java file with .aj extension and created a jar of it named aspects. jar
- 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%
- 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
- %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
Heres a new way to find what you're looking for -
Yahoo! Answers 