[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Is dump file is required?
|
hi,
Thank you ! I modified the java.policy file and WAS can be started
successfully. But I think that weaving opeation is failure, for the
information in the
%WAS_HOME%\AppServer\profiles\AppSrv01\logs\server1\native_stderr.log, the
information is the following:
Log file started at: [10-9-27 10:22:25:890 CST]
************* End Display Current Environment *************
[AppClassLoader@7af77af7] info AspectJ Weaver Version 1.6.11 built on
Tuesday Mar 15, 2011 at 15:31:04 GMT
[AppClassLoader@7af77af7] info register classloader
sun.misc.Launcher$AppClassLoader@7af77af7
[AppClassLoader@7af77af7] info using configuration
file:/D:/Program%20Files/IBM/WebSphere/AppServer/lib/myaspect.jar!/META-INF/aop.xml
[AppClassLoader@7af77af7] info register aspect xib.mdb.aspect.MyAspect
[AppClassLoader@7af77af7] *info weaver operating in reweavable mode. Need
to verify any required types exist.*
the red line means the target class not be found,doesn't it?
My aop.xml is the following:
<aspectj>
<weaver options="-verbose -Xreweavable">
<include within="com.temenos.tocf.delivery.mdb.DeliveryMDB"/>
<include within="com.temenos.tocf.listener.mdb.TOCFListenerMDB"/>
<include within="com.temenos.tocf.ofsmessage.mdbOFSMessageMDB"/>
</weaver>
<aspects>
<aspect name="xib.mdb.aspect.MyAspect"/>
</aspects>
</aspectj>
My aspect class is the following:
package xib.mdb.aspect;
public aspect MyAspect {
private pointcut myMessage() : execution(* *onMessage(*));
before () : myMessage() {
System.out.println("hello, this is a test to intercepter mdb");
}
}
Target class DeliveryMDB,TOCFListenerMDB and OFSMessageMDB are three Message
Driver Bean.
Are there some wrong in aop.xml ,aspect class or other wrong?
--
View this message in context: http://aspectj.2085585.n4.nabble.com/Is-dump-file-is-required-tp3842934p3846079.html
Sent from the AspectJ - users mailing list archive at Nabble.com.