Re: [aspectwerkz-user] AspectwerkZ Websphere 6.1 problem

Mark Lui <[email protected]> Tue, 03 Apr 2007 09:46:01 -0700
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Use the Generic JVM arguments entry to add the java_options.

Mark

akhilesh laddha wrote:
> Hi Mark,
> I add the BootClasspath and classpaths to  the JVM running the server 
> not the JVM starting the server using admin console. But, not sure how 
> to add JAVA_OPTIONS and 
> ="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar using admin 
> console.
>  
> Entries in server.xml looks as below. After doing these changes, not 
> getting the message
> AspectWerkz - INFO - Pre-processor 
> org.codehaus.aspectwerkz.transform.AspectWerk
> zPreProcessor loaded and initialized
>  
> <jvmEntries xmi:id="JavaVirtualMachine_1175430184847" 
> verboseModeClass="false" verboseModeGarbageCollection="false" 
> verboseModeJNI="false" initialHeapSize="256" maximumHeapSize="512" 
> runHProf="false" debugMode="false" debugArgs="-Djava.compiler=NONE 
> -Xdebug -Xnoagent 
> Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"
>  genericJvmArguments="-Xbootclasspath/p:C:\IBM\WebSphere\AppServer\lib\enhanced.jar 
> -Daspectwerkz.definition.file=D:\EProfilerFolder\eprofilerIBM\src\refrence\j2ee\aop.xml" 
> disableJIT="false">
>
> <classpath>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-2.0.jar 
> C:\IBM\WebSphere\AppServer\lib\aspectwerkz-extensions-2.0.jar 
> C:\IBM\WebSphere\AppServer\lib\aspectwerkz-jdk5-2.0.jar 
> C:\IBM\WebSphere\AppServer\lib\dom4j-1.4.jar
> C:\IBM\WebSphere\AppServer\lib\qdox-1.4.jar
> C:\IBM\WebSphere\AppServer\lib\concurrent-1.3.1.jar  
> C:\IBM\WebSphere\AppServer\lib\trove-1.0.2.jar
> C:\IBM\WebSphere\AppServer\lib\jrexx-1.1.1.jar      
> C:\IBM\WebSphere\AppServer\lib\eProfiler.jar
> C:\IBM\WebSphere\AppServer\lib\demo.jar
> </classpath>
> <bootClasspath>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-core-2.0.jar;C:\IBM\WebSphere\AppServer\java\lib\tools.jar</bootClasspath>
> <systemProperties xmi:id="Property_1175600965378" name="JAVA_OPTIONS" 
> value="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar" 
> required="true"/>
>  
> </jvmEntries>
>  
> Any help is appriciated
>  
> Thanks
> Akhilesh
>
> */Mark Lui <[email protected]>/* wrote:
>
>     Akhilesh,
>
>     I believe you need to add the java_options and addition classpaths to
>     the JVM running the server not the JVM starting the server. This may
>     be done through the console.
>
>     Navigate to Servers/Application Servers/
>

-- 

Mark Lui
[email protected]
310-737-7835

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email