Re: [aspectwerkz-user] AspectwerkZ Websphere 6.1 problem

akhilesh laddha <[email protected]> Mon, 9 Apr 2007 10:17:12 -0700 (PDT)
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
--0-1879190802-1176139032=:79279
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Mark,
  Thanks for update.  Yes Websphere 6.1 uses JDK1.5. Could you let me know what solution will work with 6.1?
     
   
  Thanks
  Akhilesh
Mark Lui <[email protected]> wrote:

  It will not show up in the Console, only in the file native_stdout.log. 
I'm assuming that WebSphere 6.1 is using JDK 1.5 or this technique will 
not work. I have not used 6.1, only 6.0 which uses JDK 1.4. JDK 1.4 
requires a prepared bootclasspath approach.

Mark

akhilesh laddha wrote:
> Hi Mark,
> We set "-javaagent" in genericJvmArguments as mentioned below in 
> server.xml. 
> *genericJvmArguments="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar"*
> 
> Even, after we are not getting AspectwerkZ load message on sonsole
> 
> AspectWerkz - INFO - Pre-processor 
> org.codehaus.aspectwerkz.transform.AspectWerk
> zPreProcessor loaded and initialized
> 
> Please do let me know, is this correct? Could you provide me correct 
> server.xml snippet for AspectWerkZ setting?
> 
> 
> Thanks
> Akhilesh
> 
>
>
> */Mark Lui /* wrote:
>
> 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
> >
> >
> > 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">
> >
> > 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
> >
> >
> C:\IBM\WebSphere\AppServer\lib\aspectwerkz-core-2.0.jar;C:\IBM\WebSphere\AppServer\java\lib\tools.jar
> >
> > value="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar"
> > required="true"/>
> >
> >
> >
> > Any help is appriciated
> >
> > Thanks
> > Akhilesh
> >
> > */Mark Lui /* 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/
> >
>
>
> ------------------------------------------------------------------------
> 8:00? 8:25? 8:40? Find a flick 
> in no time
> with theYahoo! Search movie showtime shortcut. 
> 
-- 

Mark Lui
[email protected]
310-737-7835

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

http://xircles.codehaus.org/manage_email



 
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
--0-1879190802-1176139032=:79279
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mark,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></div>  <div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks for update.&nbsp; Yes Websphere 6.1 uses JDK1.5. Could you let me know what solution will work with 6.1?<o:p></o:p></SPAN></div>  <div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>Thanks</div>  <div>Akhilesh<BR><B><I>Mark Lui &lt;[email protected]&gt;</I></B> wrote:</div></div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">It will not show up in the Console, only in the file native_stdout.log. <BR>I'm assuming that WebSphere 6.1 is using JDK 1.5 or this technique will <BR>not work. I have not used 6.1, only 6.0 which uses JDK 1.4. JDK 1.4 <BR>requires a prepared bootclasspath approach.<BR><BR>Mark<BR><BR>akhilesh l
 addha wrote:<BR>&gt; Hi Mark,<BR>&gt; We set "-javaagent" in genericJvmArguments as
 mentioned below in <BR>&gt; server.xml. <BR>&gt; *genericJvmArguments="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar"*<BR>&gt; <BR>&gt; Even, after we are not getting AspectwerkZ load message on sonsole<BR>&gt; <BR>&gt; AspectWerkz - INFO - Pre-processor <BR>&gt; org.codehaus.aspectwerkz.transform.AspectWerk<BR>&gt; zPreProcessor loaded and initialized<BR>&gt; <BR>&gt; Please do let me know, is this correct? Could you provide me correct <BR>&gt; server.xml snippet for AspectWerkZ setting?<BR>&gt; <BR>&gt; <BR>&gt; Thanks<BR>&gt; Akhilesh<BR>&gt; <BR>&gt;<BR>&gt;<BR>&gt; */Mark Lui <[email protected]>/* wrote:<BR>&gt;<BR>&gt; Use the Generic JVM arguments entry to add the java_options.<BR>&gt;<BR>&gt; Mark<BR>&gt;<BR>&gt; akhilesh laddha wrote:<BR>&gt; &gt; Hi Mark,<BR>&gt; &gt; I add the BootClasspath and classpaths to the JVM running the<BR>&gt; server<BR>&gt; &gt; not the JVM s
 tarting the server using admin console. But, not<BR>&gt; sure how<BR>&gt; &gt; to add
 JAVA_OPTIONS and<BR>&gt; &gt; ="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar using<BR>&gt; admin<BR>&gt; &gt; console.<BR>&gt; &gt;<BR>&gt; &gt; Entries in server.xml looks as below. After doing these changes,<BR>&gt; not<BR>&gt; &gt; getting the message<BR>&gt; &gt; AspectWerkz - INFO - Pre-processor<BR>&gt; &gt; org.codehaus.aspectwerkz.transform.AspectWerk<BR>&gt; &gt; zPreProcessor loaded and initialized<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; verboseModeClass="false" verboseModeGarbageCollection="false"<BR>&gt; &gt; verboseModeJNI="false" initialHeapSize="256" maximumHeapSize="512"<BR>&gt; &gt; runHProf="false" debugMode="false" debugArgs="-Djava.compiler=NONE<BR>&gt; &gt; -Xdebug -Xnoagent<BR>&gt; &gt; Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"<BR>&gt; &gt;<BR>&gt; genericJvmArguments="-Xbootclasspath/p:C:\IBM\WebSphere\AppServer\lib\enhanced.jar<BR>&gt
 ;<BR>&gt; &gt;<BR>&gt;
 -Daspectwerkz.definition.file=D:\EProfilerFolder\eprofilerIBM\src\refrence\j2ee\aop.xml"<BR>&gt;<BR>&gt; &gt; disableJIT="false"&gt;<BR>&gt; &gt;<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-2.0.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-extensions-2.0.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-jdk5-2.0.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\dom4j-1.4.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\qdox-1.4.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\concurrent-1.3.1.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\trove-1.0.2.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\jrexx-1.1.1.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\eProfiler.jar<BR>&gt; &gt; C:\IBM\WebSphere\AppServer\lib\demo.jar<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-core-2.0.jar;C:\IBM\WebSphere\AppServer\java\lib\tools.ja
 r<BR>&gt; &gt;<BR>&gt; &gt;
 value="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar"<BR>&gt; &gt; required="true"/&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Any help is appriciated<BR>&gt; &gt;<BR>&gt; &gt; Thanks<BR>&gt; &gt; Akhilesh<BR>&gt; &gt;<BR>&gt; &gt; */Mark Lui /* wrote:<BR>&gt; &gt;<BR>&gt; &gt; Akhilesh,<BR>&gt; &gt;<BR>&gt; &gt; I believe you need to add the java_options and addition<BR>&gt; classpaths to<BR>&gt; &gt; the JVM running the server not the JVM starting the server. This may<BR>&gt; &gt; be done through the console.<BR>&gt; &gt;<BR>&gt; &gt; Navigate to Servers/Application Servers/<BR>&gt; &gt;<BR>&gt;<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; 8:00? 8:25? 8:40? Find a flick <BR>&gt; <HTTP: ?fr="oni_on_mail&amp;#news" shortcuts tools.search.yahoo.com>in no time<BR>&gt; with theYahoo! Search movie showtime shortcut. <
 BR>&gt; <HTTP: ?fr="oni_on_mail&amp;#news" shortcuts tools.search.yahoo.com><BR>--
 <BR><BR>Mark Lui<BR>[email protected]<BR>310-737-7835<BR><BR>---------------------------------------------------------------------<BR>To unsubscribe from this list please visit:<BR><BR>http://xircles.codehaus.org/manage_email<BR><BR></BLOCKQUOTE><BR><p>&#32;

<hr size=1>Expecting? Get great news right away with <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">email Auto-Check.</a><br>Try the <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">Yahoo! Mail Beta.</a>
--0-1879190802-1176139032=:79279--