Re: [aspectwerkz-dev] Help Required For Aspectwerkz Prepared boot class path option in weblogic integration-Complete Detail
Jayadeba Jena <[email protected]> Thu, 17 Feb 2005 20:36:08 +0000
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Alex, 1)Yes the enhanced.jar contains java.lang.ClassLoader class 2)my log4j is configured at debug level..i can see all my log statements if start weblogic 8.1 without aspectwerkz 3)My applications is starting correctly without any aspects. I've again made a final try When i try -Xbootclasspath option following is the error message i'm getting Failed to load Main Class: weblogic.Server I can confirm that weblogic.jar and weblogic_sp.jar are in the classpath as i could start weblogic without -Xbootclasspath option without any problem. I've even tested the prepared boot classpath option with a standalone java class and it works fine...following is the log for the standalone class C:\Documents and Settings\jjena\Desktop>java -Xbootclasspath/p:C:\MNP-Beta\project\lib\enhanced.jar -Xbootclasspath/a:C:\Aspect\aw_2_0_2\lib\aspectwerkz-core-2.0.RC2.jar Test AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor loaded and initialized ------->C:\MNP-Beta\project\lib\enhanced.jar;C:\Program Files\Java\j2re1.4.2_07\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_07\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_07\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jce.jar;C:\Program F iles\Java\j2re1.4.2_07\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_07\classes;C:\Aspect\aw_2_0_2\lib\aspectwerkz-core-2.0.RC2.jar But -Xbootclasspath option with weblogic 8.1 is failing. Regards, jayadeba On Tue, 15 Feb 2005 23:55:08 +0200, Alexandru Popescu <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > [quote Jayadeba Jena::on 2/15/2005 11:37 PM] > | Hi folks, > | > | I'm following the prepared bootclasspath option of aspectwerkz and > | integrating it with weblogic and Here is the complete detail of my > | prepared boot classpath ... > | > | set ASPECT_FILE=C:\MNP-Beta\project\config\aop.xml > | set AW_OPT=-Daspectwerkz.definition.file=%ASPECT_FILE% > | -Daspectwerkz.transform.verbose=yes > | set BOOT_PATH=C:\Aspect\aw_2_0_2\lib\aspectwerkz-core-2.0.RC2.jar > | set WEAVER_JAR=C:\All-Downloads\Messenger\enhanced.jar > | > | set ASPECT_DEPS=C:\Aspect\aw_2_0_2\lib\aspectwerkz-2.0.RC2.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\aspectwerkz-core-2.0.RC2.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\aspectwerkz-extensions-2.0.RC2.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\aspectwerkz-jdk14-2.0.RC2.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\concurrent-1.3.1.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\dom4j-1.4.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\jrexx-1.1.1.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\piccolo-1.03.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\qdox-1.4.jar > | set ASPECT_DEPS=%ASPECT_DEPS%;C:\Aspect\aw_2_0_2\lib\trove-1.0.2.jar > | > | set > CLASSPATH=%IMNP_CLASSPATH%;%ASPECT_DEPS%;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH% > | > | and following is my startup weblogic option > | > | %JAVA_HOME%/bin/java -Xbootclasspath/p:"\"%WEAVER_JAR%\"" > | -Xbootclasspath/a:"\"%BOOT_PATH%\"" -cp "\"%CLASSPATH%\"" %JAVA_VM% > | %MEM_ARGS% %JAVA_OPTIONS% %AW_OPT% -Dweblogic.Name=%SERVER_NAME% > | -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% > | -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" > | -Dlog4j.configuration=file:///%IMNP_HOME%/config/log4j.properties > | -Ddatasource=imnp_jdbc_data_source weblogic.Server > | > | i could not even see "AspectWerkz - INFO - Pre-processor > | org.codehaus.aspectwerkz.transform.AspectWerk > | zPreProcessor loaded and initialized" in the console... > | > | Dont know where's the problem...Any help regarding this is greatly appreciated. > | > | Regards, > | Jayadeba > | > Pls confirm that > 1/ enhanced.jar contains java.lang.ClassLoader class. > 2/ log4j has a console appender enabled on lowest level > 3/ the application is starting correctly bu without any of your aspects > > tia, > - -- > :alex |.::the_mindstorm::.| > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.0 (MingW32) > > iD8DBQFCEm+8OCPjdDT2FEURAuEvAJ4wCHQozCfiws8LJzwRI8u38giPKACgxx93 > D9uCaLwyLc54jRpPAd1foC8= > =EjBQ > -----END PGP SIGNATURE----- >