Re: [aspectwerkz-user] AspectwerkZ Websphere 6.1 problem
akhilesh laddha <[email protected]> Tue, 3 Apr 2007 10:48:49 -0700 (PDT)
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
--0-328543584-1175622529=:90289
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
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
--0-328543584-1175622529=:90289
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi Mark, </SPAN></DIV> <DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I added JAVA_OPTIONS in "genericJvmArguments”. However, I did not get AspectwerkZ log message on Console. </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</SPAN></DIV> <DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN> </DIV> <DIV><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When, I checked SystemOut.log, got these messages. <SPAN> </SPAN>It seems there is classloader related problem. Please help me out to fix the problem </SPAN></DIV> <DIV> <DIV> </DIV> <DIV>[4/3/07 23:09:36:398 IST] 0000001d SystemOut O Deployer::INFO - deploying aspect [com.wip
ro.eprofile.Aspects.Matrics.Aspect.WebTierAspect] in class loader [<A
href="http://com.ibm.ws.bo/"><SPAN id=lw_1175622496_0><FONT color=#003399>com.ibm.ws</FONT></A></SPAN>.bootstrap.ExtClassLoader@7ba47ba4]<BR>[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]</DIV> <DIV> </DIV></DIV> <DIV>Any help is appriciated<BR></DIV> <DIV> <DIV>Thanks</DIV> <DIV>Akhilesh</DIV><BR><BR><B><I>Mark Lui <[email protected]></I></B> wrote:</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>> Hi Mark,<BR>> I add the BootClasspath and classpaths to the JVM running the server <BR>> not the JVM starting the server u
sing admin console. But, not sure how <BR>> to add JAVA_OPTIONS and <BR>>
="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar using admin <BR>> console.<BR>> <BR>> Entries in server.xml looks as below. After doing these changes, not <BR>> getting the message<BR>> AspectWerkz - INFO - Pre-processor <BR>> org.codehaus.aspectwerkz.transform.AspectWerk<BR>> zPreProcessor loaded and initialized<BR>> <BR>> <JVMENTRIES <br xmi:id="JavaVirtualMachine_1175430184847">> verboseModeClass="false" verboseModeGarbageCollection="false" <BR>> verboseModeJNI="false" initialHeapSize="256" maximumHeapSize="512" <BR>> runHProf="false" debugMode="false" debugArgs="-Djava.compiler=NONE <BR>> -Xdebug -Xnoagent <BR>> Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777"<BR>> genericJvmArguments="-Xbootclasspath/p:C:\IBM\WebSphere\AppServer\lib\enhanced.jar <BR>> -Daspectwerkz.definition.file=D:\EProfilerFolder\eprofilerIBM\
src\refrence\j2ee\aop.xml" <BR>> disableJIT="false"><BR>><BR>>
<CLASSPATH>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-2.0.jar <BR>> C:\IBM\WebSphere\AppServer\lib\aspectwerkz-extensions-2.0.jar <BR>> C:\IBM\WebSphere\AppServer\lib\aspectwerkz-jdk5-2.0.jar <BR>> C:\IBM\WebSphere\AppServer\lib\dom4j-1.4.jar<BR>> C:\IBM\WebSphere\AppServer\lib\qdox-1.4.jar<BR>> C:\IBM\WebSphere\AppServer\lib\concurrent-1.3.1.jar <BR>> C:\IBM\WebSphere\AppServer\lib\trove-1.0.2.jar<BR>> C:\IBM\WebSphere\AppServer\lib\jrexx-1.1.1.jar <BR>> C:\IBM\WebSphere\AppServer\lib\eProfiler.jar<BR>> C:\IBM\WebSphere\AppServer\lib\demo.jar<BR>> </CLASSPATH><BR>> <BOOTCLASSPATH>C:\IBM\WebSphere\AppServer\lib\aspectwerkz-core-2.0.jar;C:\IBM\WebSphere\AppServer\java\lib\tools.jar</BOOTCLASSPATH><BR>> <SYSTEMPROPERTIES name="JAVA_OPTIONS" <br xmi:id="Property_1175600965378">> value="-javaagent:D:\aspectwerkz\lib\aspectwerkz-jdk5-2.0.jar" <BR>> r
equired="true"/><BR>> <BR>> </JVMENTRIES><BR>> <BR>> Any help is
appriciated<BR>> <BR>> Thanks<BR>> Akhilesh<BR>><BR>> */Mark Lui <[email protected]>/* wrote:<BR>><BR>> Akhilesh,<BR>><BR>> I believe you need to add the java_options and addition classpaths to<BR>> the JVM running the server not the JVM starting the server. This may<BR>> be done through the console.<BR>><BR>> Navigate to Servers/Application Servers/<BR>><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> 
<hr size=1><a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Never miss an email again!<br>Yahoo! Toolbar</a> alerts you the instant new Mail arrives.<a href="
http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar/features/mail/"> Check it out.</a>
--0-328543584-1175622529=:90289--