Re: [aspectwerkz-user] AspectwerkZ Websphere 6.1 problem

akhilesh laddha <[email protected]> Sat, 31 Mar 2007 20:47:21 -0700 (PDT)
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
--0-1716659855-1175399241=:87394
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

It would be great if somebody helpe me out. 
   
  Thanks
  Akl
  

akhilesh laddha <[email protected]> wrote:
    I configured aspectwerkZ2.0 with Websphere 6.1.  Application server started with the log message
  AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerk
  zPreProcessor loaded and initialized
   
  The log message indicates that AspectWerkz loaded and initialized properly.  To capture profiling metrics of the application, defines point cuts (Runtime/Load time) for the application. And run the target application. 
  However, there were no data captured. 
  It seems AspectWerkz   Pre-processor does not work.
   
  In Websphere log this message found after deploying aspect rule.
   
  Deployer::INFO - deploying aspect [com.wipro.eprofile.Aspects.Matrics.Aspect.WebTierAspect] in class loader [com.ibm.ws.bootstrap.ExtClassLoader@4560456]
   
  I made these changes in startServer.bat file of Websphere
   
  SET ASPECTWERKZ_VERSION=2.0
  SET ASPECTWERKZ_HOME=D:\aspectwerkz
   
  SET ASPECTWERKZ_LIBS=%WAS_CLASSPATH%;%ASPECTWERKZ_HOME%\lib\dom4j-1.4.jar;%ASPECTWERKZ_HOME%\lib\qdox-1.4.jar;%ASPECTWERKZ_HOME%\lib\concurrent-1.3.1.jar;%ASPECTWERKZ_HOME%\lib\trove-1.0.2.jar;%ASPECTWERKZ_HOME%\lib\jrexx-1.1.1.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-core-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-extensions-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-jdk5-2.0.jar;C:\IBM\WebSphere\AppServer\lib\eProfiler.jar
   
  set JAVA_OPTIONS=%JAVA_OPTIONS% -javaagent:%ASPECTWERKZ_HOME%\lib\aspectwerkz-jdk5-2.0.jar
  set JAVA_OPTIONS=%JAVA_OPTIONS% -Daspectwerkz.transform.details=false
   
   
   
  "%JAVA_HOME%\bin\java" %JAVA_OPTIONS% -cp %ASPECTWERKZ_LIBS% -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dcom.sun.management.config.file=C:\IBM\WebSphere\AppServer\java\jre\lib\management/management.properties -Dcmd.properties.file=%TMPJAVAPROPFILE% %WAS_TRACE% %WAS_DEBUG% %CONSOLE_ENCODING% "%CLIENTSAS%" "%CLIENTSSL%" %USER_INSTALL_PROP% "-Dwas.install.root=%WAS_HOME%" com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.management.tools.WsServerLauncher "%CONFIG_ROOT%" "%WAS_CELL%" "%WAS_NODE%" %* %WORKSPACE_ROOT_PROP%
  set RC=%ERRORLEVEL%
   
   
  Any help  is appriciated
   
   
  Thanks
  Akhilesh
    
---------------------------------
  The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.

 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
--0-1716659855-1175399241=:87394
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>It would be great if somebody helpe me out. </div>  <div>&nbsp;</div>  <div>Thanks</div>  <div>Akl</div>  <div><BR><BR><B><I>akhilesh laddha &lt;[email protected]&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I configured aspectwerkZ2.0 with Websphere 6.1.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Application server started with the log message</FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerk<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT fac
 e="Times New Roman" size=3><STRONG>zPreProcessor loaded and
 initialized</STRONG></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>The log message indicates that AspectWerkz loaded and initialized properly. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>To capture profiling metrics of the application, defines point cuts (Runtime/Load time) for the application. And run the target application. </FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><STRONG>However, there were no data captured.</STRONG> </FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><STRONG>It seems AspectWerkz <SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Pre-processor does not wor
 k.</STRONG></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT
 face="Times New Roman" size=3></FONT>&nbsp;</DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>In Websphere log this message found after deploying aspect rule.</FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><STRONG>Deployer::INFO - deploying aspect [com.wipro.eprofile.Aspects.Matrics.Aspect.WebTierAspect] in class loader [com.ibm.ws.bootstrap.ExtClassLoader@4560456]</STRONG></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I made these changes in startServer.bat file of Websphere</FONT></DIV>  <DIV class=MsoNormal st
 yle="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman"
 size=3>&nbsp;</FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>SET ASPECTWERKZ_VERSION=2.0<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>SET ASPECTWERKZ_HOME=D:\aspectwerkz<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>SET
 ASPECTWERKZ_LIBS=%WAS_CLASSPATH%;%ASPECTWERKZ_HOME%\lib\dom4j-1.4.jar;%ASPECTWERKZ_HOME%\lib\qdox-1.4.jar;%ASPECTWERKZ_HOME%\lib\concurrent-1.3.1.jar;%ASPECTWERKZ_HOME%\lib\trove-1.0.2.jar;%ASPECTWERKZ_HOME%\lib\jrexx-1.1.1.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-core-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-extensions-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-2.0.jar;%ASPECTWERKZ_HOME%\lib\aspectwerkz-jdk5-2.0.jar;C:\IBM\WebSphere\AppServer\lib\eProfiler.jar<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3><STRONG>&nbsp;</STRONG></FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>set JAVA_OPTIONS=%JAVA_OPTIONS% -javaagent:%ASPECTWERKZ_HOME%\lib\aspectwerkz-jdk5-2.0.jar<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style=
 "MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><STRONG>set
 JAVA_OPTIONS=%JAVA_OPTIONS% -Daspectwerkz.transform.details=false<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3><STRONG>&nbsp;</STRONG></FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3><STRONG>&nbsp;</STRONG></FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" size=3><STRONG>&nbsp;</STRONG></FONT></o:p></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New&#13;&#10; Roman"><STRONG>"%JAVA_HOME%\bin\java" %JAVA_OPTIONS% -cp %ASPECTWERKZ_LIBS% -Djavax.management.builder.initial=com.ibm.ws.management.PlatformMBeanServerBuilder -Dcom.sun.management.config.file=C:\IBM\WebSphere\AppServer\java\jre\lib\management/management.properties -Dcmd.properties.file=%TMPJAVA
 PROPFILE% %WAS_TRACE% %WAS_DEBUG% %CONSOLE_ENCODING% "%CLIENTSAS%" "%CLIENTSSL%"
 %USER_INSTALL_PROP% "-Dwas.install.root=%WAS_HOME%" com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.management.tools.WsServerLauncher "%CONFIG_ROOT%" "%WAS_CELL%" "%WAS_NODE%" %* %WORKSPACE_ROOT_PROP%<o:p></o:p></STRONG></FONT></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3><STRONG>set RC=%ERRORLEVEL%</STRONG></FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><STRONG><FONT face="Times New Roman" size=3></FONT></STRONG>&nbsp;</DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><STRONG><FONT face="Times New Roman" size=3></FONT></STRONG>&nbsp;</DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Any help&nbsp; is appriciated</FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0
 pt"><FONT face="Times New Roman" size=3></FONT>&nbsp;</DIV>  <DIV class=MsoNormal
 style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Thanks</FONT></DIV>  <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Akhilesh</FONT></DIV>  <div>  <HR SIZE=1>  The fish are biting.<BR><A href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&amp;cmp=Yahoo&amp;ctv=Q107Tagline&amp;s=Y&amp;s2=EM&amp;b=50">Get more visitors</A> on your site using <A href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&amp;cmp=Yahoo&amp;ctv=Q107Tagline&amp;s=Y&amp;s2=EM&amp;b=50">Yahoo! Search Marketing.</A></BLOCKQUOTE><BR><p>&#32;

<hr size=1>Don't be flakey. <a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">Get Yahoo! Mail for Mobile</a> and <br><a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">always stay connected</a> to friends.
--0-1716659855-1175399241=:87394--