Re: [aspectwerkz-user] AspectwerkZ Websphere 6.1 problem

akhilesh laddha <[email protected]> Tue, 3 Apr 2007 10:47:51 -0700 (PDT)
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
--0-296062738-1175622471=:11027
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi Mark, 
  I added JAVA_OPTIONS in "genericJvmArguments”. However, I did not get AspectwerkZ log message on Console. 
  AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerk
zPreProcessor loaded and initialized
   
  When, I checked SystemOut.log, got these messages.  It seems there is classloader related problem. Please help me out to fix the problem 
     
  [4/3/07 23:09:36:398 IST] 0000001d SystemOut     O Deployer::INFO - deploying aspect [com.wipro.eprofile.Aspects.Matrics.Aspect.WebTierAspect] in class loader [com.ibm.ws.bootstrap.ExtClassLoader@7ba47ba4]
[4/3/07 23:09:36:578 IST] 0000001d SystemOut     O AW::WARNING - could not load class [com/wipro/eprofile/Aspects/Matrics/Aspect/WebTierAspect] as a resource in loader [sun.misc.Launcher$AppClassLoader@2a8c2a8c]
   

  Any help is appriciated

    Thanks
  Akhilesh
   
  

Mark Lui <[email protected]> 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/
>

-- 

Mark Lui
[email protected]
310-737-7835

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

http://xircles.codehaus.org/manage_email



 
---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
--0-296062738-1175622471=:11027
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi 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">I added JAVA_OPTIONS in&nbsp;"genericJvmArguments”. However, I did not get AspectwerkZ log message on Console. <o:p></o:p></SPAN></div>  <div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerk<BR>zPreProcessor loaded and initialized<o:p></o:p></SPAN></div>  <div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></div>  <div><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When, I checked SystemOut.log, got these messages. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>It seems there is classloader related problem. Please help me out to fix the problem&nbsp;<o:p></o:p></
 SPAN></div>  <div>  <div>&nbsp;</div>  <div>[4/3/07 23:09:36:398 IST] 0000001d
 SystemOut&nbsp;&nbsp;&nbsp;&nbsp; O Deployer::INFO - deploying aspect [com.wipro.eprofile.Aspects.Matrics.Aspect.WebTierAspect] in class loader [com.ibm.ws.bootstrap.ExtClassLoader@7ba47ba4]<BR>[4/3/07 23:09:36:578 IST] 0000001d SystemOut&nbsp;&nbsp;&nbsp;&nbsp; O AW::WARNING - could not load class [com/wipro/eprofile/Aspects/Matrics/Aspect/WebTierAspect] as a resource in loader [sun.misc.Launcher$AppClassLoader@2a8c2a8c]</div>  <div>&nbsp;</div></div>  <div>Any help is appriciated<BR></div>  <div>  <div>Thanks</div>  <div>Akhilesh</div>  <div>&nbsp;</div>  <div><BR><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">Use the Generic JVM arguments entry to add the java_options.<BR><BR>Mark<BR><BR>akhilesh laddha wrote:<BR>&gt; Hi Mark,<BR>&gt; I add the BootClasspath an
 d classpaths to the JVM running the server <BR>&gt; not the JVM starting the server
 using admin console. But, not sure how <BR>&gt; to add JAVA_OPTIONS and <BR>&gt; ="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar using admin <BR>&gt; console.<BR>&gt; <BR>&gt; Entries in server.xml looks as below. After doing these changes, not <BR>&gt; getting the message<BR>&gt; AspectWerkz - INFO - Pre-processor <BR>&gt; org.codehaus.aspectwerkz.transform.AspectWerk<BR>&gt; zPreProcessor loaded and initialized<BR>&gt; <BR>&gt; <JVMENTRIES <br xmi:id="JavaVirtualMachine_1175430184847">&gt; verboseModeClass="false" verboseModeGarbageCollection="false" <BR>&gt; verboseModeJNI="false" initialHeapSize="256" maximumHeapSize="512" <BR>&gt; runHProf="false" debugMode="false" debugArgs="-Djava.compiler=NONE <BR>&gt; -Xdebug -Xnoagent <BR>&gt; Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"<BR>&gt; genericJvmArguments="-Xbootclasspath/p:C:\IBM\WebSphere\AppServer\lib\enh
 anced.jar <BR>&gt;
 -Daspectwerkz.definition.file=D:\EProfilerFolder\eprofilerIBM\src\refrence\j2ee\aop.xml" <BR>&gt; disableJIT="false"&gt;<BR>&gt;<BR>&gt; <CLASSPATH>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-2.0.jar <BR>&gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-extensions-2.0.jar <BR>&gt; C:\IBM\WebSphere\AppServer\lib\aspectwerkz-jdk5-2.0.jar <BR>&gt; C:\IBM\WebSphere\AppServer\lib\dom4j-1.4.jar<BR>&gt; C:\IBM\WebSphere\AppServer\lib\qdox-1.4.jar<BR>&gt; C:\IBM\WebSphere\AppServer\lib\concurrent-1.3.1.jar <BR>&gt; C:\IBM\WebSphere\AppServer\lib\trove-1.0.2.jar<BR>&gt; C:\IBM\WebSphere\AppServer\lib\jrexx-1.1.1.jar <BR>&gt; C:\IBM\WebSphere\AppServer\lib\eProfiler.jar<BR>&gt; C:\IBM\WebSphere\AppServer\lib\demo.jar<BR>&gt; </CLASSPATH><BR>&gt; <BOOTCLASSPATH>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-core-2.0.jar;C:\IBM\WebSphere\AppServer\java\lib\tools.jar</BOOTCLASSPATH><BR>&gt; <SYSTEMPROPERTI
 ES name="JAVA_OPTIONS" <br xmi:id="Property_1175600965378">&gt;
 value="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar" <BR>&gt; required="true"/&gt;<BR>&gt; <BR>&gt; </JVMENTRIES><BR>&gt; <BR>&gt; Any help is appriciated<BR>&gt; <BR>&gt; Thanks<BR>&gt; Akhilesh<BR>&gt;<BR>&gt; */Mark Lui <[email protected]>/* wrote:<BR>&gt;<BR>&gt; Akhilesh,<BR>&gt;<BR>&gt; I believe you need to add the java_options and addition classpaths to<BR>&gt; the JVM running the server not the JVM starting the server. This may<BR>&gt; be done through the console.<BR>&gt;<BR>&gt; Navigate to Servers/Application Servers/<BR>&gt;<BR><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>TV dinner still cooling?<br><a href="http://us.rd.yahoo.com/evt=49979/*http://tv.yahoo.com/">Check out "Tonight's Picks"</a> on Yahoo! TV.
--0-296062738-1175622471=:11027--