Hi, Are u still facing the same problem? I think this should not be a question for Dev group. Please do like this as this is the problem related to classpath. java -classpath <path>\mail.jar;%classpath% SoapClient
where <path> is the exact location of mail.jar i.e c:\lib Hope U will now get the exact Messaging exception. Tans ----- Original Message ----- From: "Ravi Prakash Reddy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 5:23 PM Subject: RE: Extra line appearing in Apache Response > > sorry pavel, I have soap.jar also in my classpath. i missed it while > sending it to u. The problem lies somewhere else..I hope. I wonder > how I can continue with Apach SOAP without solving this problem! > > > C:\soap>echo %classpath% > .;G:\jwsdp\common\lib\mail.jar;c:\j2sdk1.4.0\lib\xerces.jar;G:\jwsdp\common\ lib\ > activation.jar;C:\jars\soap.jar; > > C:\soap>java SoapClient http://localhost:8080/soap/servlet/rpcroute > Exception in thread "main" java.lang.NoClassDefFoundError: > javax/mail/MessagingE > xception > at SoapClient.main(SoapClient.java:16) > > > > > > > > > On Thu, 3 Oct 2002, Pavel Ausianik wrote: > > > Your classpath does not contain soap.jar. Maybe this is a problem? > > > > Best regards, > > Pavel > > > > > -----Original Message----- > > > From: Ravi Prakash Reddy [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, October 03, 2002 10:02 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: RE: Extra line appearing in Apache Response > > > > > > > > > > > > Pavel, > > > thanx for ur prompt response. > > > But I am sure I have not made any mistake in my classpath. > > > Look at this: > > > > > > C:\soap>echo %classpath% > > > .;G:\jwsdp\common\lib\mail.jar;c:\j2sdk1.4.0\lib\xerces.jar;G: > > > \jwsdp\common\lib\ > > > activation.jar; > > > > > > I too, am surprised with this strange error. > > > Even I tried to put the class javax.mail.MessagingException.class file > > > in the working directory(by unjaring mail.jar). > > > Nothing works. > > > I worked with JAXM, but never faced such problems. > > > -rpreddy > > > > > > > > > > > > On Thu, 3 Oct 2002, Pavel Ausianik wrote: > > > > > > > hello, > > > > > > > > The only possible reason is that your CLASSPATH variable > > > does not contain > > > > mail.jar, or have some bad characters, like spaces, which > > > does not allow JVM > > > > to find it. > > > > > > > > Best regards, > > > > Pavel > > > > > > > > > -----Original Message----- > > > > > From: Ravi Prakash Reddy [mailto:[EMAIL PROTECTED]] > > > > > Sent: Thursday, October 03, 2002 9:41 AM > > > > > To: [EMAIL PROTECTED] > > > > > Subject: Re: Extra line appearing in Apache Response > > > > > > > > > > > > > > > > > > > > Hi, > > > > > I am new to Apache SOAP. As I could not found any reason > > > > > for the following error, in any user forums, I had to > > > > > come to your help. > > > > > > > > > > When I run SOAP client program, I get classnot found exception. > > > > > > > > > > C:\soap>java SoapClient > > > http://localhost:8080/soap/servlet/rpcroute > > > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > > javax/mail/MessagingException > > > > > at SoapClient.main(SoapClient.java:15) > > > > > > > > > > line 15 in SoapClient.java : call call=new call(); > > > > > > > > > > I have included activation.jar, xerces.jar, mail.jar in > > > my classpath > > > > > as well as jwsdp-home/commons/lib directory. > > > > > > > > > > Please help > > > > > -Thanks > > > > > rpreddy > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>