[aspectwerkz-user] Exception in offline weaving - xerces.jar
<[email protected]> Thu, 9 Aug 2007 17:44:26 +0530
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
------_=_NextPart_001_01C7DA7E.E1556FD4
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
We are using Aspectwerkz offline weaving to weave the classes in=
broadvision environment with jdk 1.3.1.
=20
Now in their broadvision application, it refers to xerces.jar in the=
classpath.
=20
Now to start aspectwerkz in broadvision we have added the following lines=
having xerces.jar in the xbootclasspath, in -cp option and also =
-Dorg.xml.sax.driver=3Dorg.apache.xerces.parsers.SAXParser=
as below.
=20
jvm.init.option.7=
=3D"-Xbootclasspath/p:/home/patnipb/bv1to1_var/backend_services/enhanced.ja=
r"
jvm.init.option.8=
=3D"-Xbootclasspath/a:/home/patnipb/bv1to1_var/backend_services/aspectwerkz=
/lib/aspectwerkz-2.0.jar:/home/patnipb/bv1to1_var/backend_services/aspectwe=
rkz/lib/trove-1.0.2.jar:/home/patnipb/bv1to1_var/backend_services/aspectwer=
kz/lib/dom4j-1.4.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/=
lib/jrexx-1.1.1.jar:/home/patnipb/eprofiler/eLib/xerces.jar:/home/patnipb/e=
profiler/eLib/eProfiler.jar -cp=
/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/aspectwerkz-2.0.=
jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/aspectwerkz-c=
ore-2.0.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/trove=
-1.0.2.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/dom4j-=
1.4.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/jrexx-1.1=
.1.jar:/home/patnipb/eprofiler/eLib/xerces.jar:/home/patnipb/eprofiler/eLib=
/eProfiler.jar"
=20
jvm.init.option.9=3D"-Dorg.xml.sax.driver=
=3Dorg.apache.xerces.parsers.SAXParser -Daspectwerkz.home=
=3D/home/patnipb/bv1to1_var/backend_services/aspectwerkz=
-Daspectwerkz.transform.verbose=3Dtrue -Daspectwerkz.transform.details=
=3Dtrue -Djavax.xml.parsers.SAXParserFactory=
=3Dcom.bluecast.xml.JAXPSAXParserFactory"
=20
1.=09
Now since xerces.jar is referred by their application and also aspectwerkz=
in the startup script, we get an error in the application.
2.=09
If I don't add xerces.jar in the options above, then I get an error as=
below : java.lang.ExceptionInInitializerError:=
org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException:=
NoAspectBound: Could not find AspectDefinition -=20
=20
Any help is appreciated.
Thanks and Regards,
Lalithamba.
The information contained in this electronic message and any attachments to=
this message are intended for the exclusive use of the addressee(s) and=
may contain proprietary, confidential or privileged information. If you=
are not the intended recipient, you should not disseminate, distribute or=
copy this e-mail. Please notify the sender immediately and destroy all=
copies of this message and any attachments.=20
WARNING: Computer viruses can be transmitted via email. The recipient=
should check this email and any attachments for the presence of viruses.=
The company accepts no liability for any damage caused by any virus=
transmitted by this email.
=20
www.wipro.com
------_=_NextPart_001_01C7DA7E.E1556FD4
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML dir=3Dltr><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR></HEAD>
<BODY>
<DIV id=3DidOWAReplyText27791 dir=3Dltr>
<DIV dir=3Dltr><FONT face=3D"Courier New" color=3D#000000 size=
=3D2>Hi,</FONT></DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2>We are using Aspectwerkz=
offline weaving to weave the classes in broadvision environment with jdk=
1.3.1.</FONT></DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2>Now in their broadvision=
application, it refers to xerces.jar in the classpath.</FONT></DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2>Now to start aspectwerkz=
in broadvision we have added the following lines having xerces.jar in the=
xbootclasspath, in -cp option and=
also &nbs=
p; &=
nbsp; -Dorg.xml.sax.driver=3Dorg.apache.xerces.parsers.SAXParser as=
below.</FONT></DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT size=3D2>jvm.init.option.7=
=3D"-Xbootclasspath/p:/home/patnipb/bv1to1_var/backend_services/enhanced.ja=
r"</FONT></DIV>
<DIV dir=3Dltr><FONT size=3D2><BR> jvm.init.option.8=
=3D"-Xbootclasspath/a:/home/patnipb/bv1to1_var/backend_services/aspectwerkz=
/lib/aspectwerkz-2.0.jar:/home/patnipb/bv1to1_var/backend_services/aspectwe=
rkz/lib/trove-1.0.2.jar:/home/patnipb/bv1to1_var/backend_services/aspectwer=
kz/lib/dom4j-1.4.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/=
lib/jrexx-1.1.1.jar:/home/patnipb/eprofiler/eLib/xerces.jar:/home/patnipb/e=
profiler/eLib/eProfiler.jar -cp=
/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/aspectwerkz-2.0.=
jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/aspectwerkz-c=
ore-2.0.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/trove=
-1.0.2.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/dom4j-=
1.4.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/jrexx-1.1=
.1.jar:/home/patnipb/eprofiler/eLib/xerces.jar:/home/patnipb/eprofiler/eLib=
/eProfiler.jar"</FONT></DIV>
<DIV dir=3Dltr><FONT size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT size=3D2> jvm.init.option.9=
=3D"-Dorg.xml.sax.driver=3Dorg.apache.xerces.parsers.SAXParser=
-Daspectwerkz.home=3D/home/patnipb/bv1to1_var/backend_services/aspectwerkz=
-Daspectwerkz.transform.verbose=3Dtrue -Daspectwerkz.transform.details=
=3Dtrue -Djavax.xml.parsers.SAXParserFactory=
=3Dcom.bluecast.xml.JAXPSAXParserFactory"</FONT></DIV>
<DIV dir=3Dltr><FONT size=3D2></FONT> </DIV>
<OL dir=3Dltr>
<LI>
<DIV><FONT face=3D"Courier New" size=3D2>Now since=
<STRONG>xerces.jar</STRONG> is referred by their application and also=
aspectwerkz in the startup script, we get an error in the=
application.</FONT></DIV></LI>
<LI>
<DIV><FONT face=3D"Courier New"><FONT size=3D2>If I don't add xerces.jar in=
the options above, then I get an error as below : </FONT><FONT color=
=3D#000000 size=3D2><FONT color=
=3D#0000ff>java.lang.ExceptionInInitializerError:=
org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException:=
NoAspectBound: Could not find AspectDefinition</FONT> -=
</FONT></FONT></DIV></LI></OL>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2>Any help is=
appreciated.</FONT></DIV></DIV>
<DIV id=3DidSignature66803 dir=3Dltr><PRE>
<FONT size=3D2>Thanks and Regards,
Lalithamba.
</FONT></PRE></DIV></BODY></HTML>
<table><tr><td bgcolor=3D#ffffff><font color=3D#000000><br>
The information contained in this electronic message and any attachments to=
this message are intended for the exclusive use of the addressee(s) and=
may contain proprietary, confidential or privileged information. If you=
are not the intended recipient, you should not disseminate, distribute or=
copy this e-mail. Please notify the sender immediately and destroy all=
copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient=
should check this email and any attachments for the presence of viruses.=
The company accepts no liability for any damage caused by any virus=
transmitted by this email.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>
------_=_NextPart_001_01C7DA7E.E1556FD4--