[aspectwerkz-dev] [jira] Deleted: (AW-87) BEA JRockit support
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://jira.codehaus.org/browse/AW-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
[email protected] deleted AW-87:
--------------------------------
> BEA JRockit support
> -------------------
>
> Key: AW-87
> URL: http://jira.codehaus.org/browse/AW-87
> Project: AspectWerkz
> Issue Type: Bug
> Reporter: Alexandre Vasseur
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> From: Mike Clements <mikec-i4BKww9wxNtWk0Htik3J/[email protected]>
> I've been playing with AW in JRockit and have not been able to make it
> work.
> First, I did the one-time step of building the AW classloader using the JRockit JVM.
> Next, I updated the JRockit startup with this bootclasspath etc.
> JRockit fires up but:
> 1. there is no initial message from Aspectwerkz
> 2. pointcuts don't fire
> I'm guessing the classloader is not right...
> JRockit has different syntax for the bootclasspath. There is no /a /p
> just -Xbootclasspath. [ note Alex: wrong - see below ]
> Here is what I tried:
> 1. AW classloader only: fails to start up, can't find basic JDK classes
> 2. AW classloader + AW runtime JAR files: same
> 3. AW classloader + AW runtime JAR files + JRockit rt.jar: starts up but pointcuts don't fire
> It seems JRockit needs the ENTIRE system classpath in its
> -Xbootclasspath. This seems wrong but it's the only thing that works.
> ----
> From: Mike Clements <mikec-i4BKww9wxNtWk0Htik3J/[email protected]>
> I did more testing and found that JRockit's -Xbootclasspath does work
> with /p and /a.
> Here is how I'm instrumenting for JRockit domains on BEA:
> set JAVA_OPTIONS=%JAVA_OPTIONS% -Xbootclasspath/p:s:/classloader-aw-bea-jr.jar
> set JAVA_OPTIONS=%JAVA_OPTIONS% -Xbootclasspath/a:s:/aw.jar
> set JAVA_OPTIONS=%JAVA_OPTIONS% -Daspectwerkz.definition.validate=true
> "classloader-aw-bea-jr.jar" is the plugin classloader I built following the instructions in Aspectwerz using the Java environment from JRockit.
> "aw.jar" is a single JAR I built combining the various class files that Aspectwerks needs at runtime.
> Everthing is working in Sun JDK.
> Notes:
> - unspecified JRockit version
> - was tested with WLS 8.1 on AW 8.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email