|
From: hlr fa <hl...@ya...> - 2007-09-20 15:29:09
|
Hi all,=0AI'm a beginner with this useful tool named wrapper...=0AI have a =
little question : I have a Java application (in reality, it's a web app run=
under Tomcat which is run by wrapper). For some reason, I want to run this=
Java application with AspectJ instead of the classic "java" program.=0AFor=
that, I've set the parameter "wrapper.java.command" to "C:/aspectj1.5/bin/=
aj.bat"=0AUnfortunately, it doesn't work, I got some error, like : =0Ajava.=
lang.NoClassDefFoundError: C:/tools/tomcat/5/0/28/common/endorsed=0A=0AIn f=
act, I've set the parameter "wrapper.java.additional.1" like this=0Awrapper=
.java.additional.1=3D-Djava.endorsed.dirs=3D"C:/tools/tomcat/5.0.28/common/=
endorsed"=0A=0AWhen I try to trace the parameters passed to the "aj.bat" co=
mmand, I see that the second "=3D" was replaced by a blank (" "), so my com=
mand seems like this :=0A"C:/aspectj1.5/bin/aj.bat" -Djava.endorsed.dirs "C=
:/tools/tomcat/5.0.28/common/endorsed" ....=0A=0AHow to keep the second "=
=3D" ?=0AIs wrapper compatible to AspectJ program ?=0A=0AThanks=0A=0A=0A=0A=
=0A=0A=0A ____________________________________________________________=
_________________ =0ANe gardez plus qu'une seule adresse mail ! Copiez vos =
mails vers Yahoo! Mail |