I'll try this out, thanks.

Rino

-----Original Message-----
From: Eric Hsiung [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: NoSuchMethodError


Tomcat first looks for jar files in $TOMCAT_HOME/lib and
then the classpath. Either:
1. hack up tomcat.bat/tomcat.sh to add xerces.jar 
   before the auto-loaded jars, or
2. copy xerces.jar into $TOMCAT_HOME/lib and delete
   the existing jaxp.jar and parser.jar.

I did #2 and it works great.


Eric

> -----Original Message-----
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 29, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: NoSuchMethodError
> 
> 
> You will also have to take care that xerces.jar appears first in the
> classpath. so that the latest parser version takes precedence.
> 
> ----- Original Message -----
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 4:19 PM
> Subject: RE: NoSuchMethodError
> 
> 
> > I have added all the required jar files in the classpath(soap.jar,
> > activation.jar, mail.jar and xerces.jar).  I have also deployed the
> service.
> > What could be missing?
> >
> > Thanks.
> > Rino
> >
> > -----Original Message-----
> > From: P Sreenivasa Rao [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 11:40 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: NoSuchMethodError
> >
> >
> > I tried and no rpoblem.check ur classpath
> > ----- Original Message -----
> > From: "Rino Srivastava" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, November 29, 2001 8:11 AM
> > Subject: NoSuchMethodError
> >
> >
> > > Hi there:
> > >
> > > I am trying to run your HelloServer.java and Client.java 
> programs using
> > soap
> > > and java.
> > >
> > > I get the following error message:
> > >
> > > Exception in thread "main" java.lang.NoSuchMethodError
> > > at org.apache.soap.util.xml.Qname.<init><Qname.java:80>
> > > at org.apache.soap.util.xml.matches<Qname.java:146>
> > > at org.apache.soap.Envelop.unmarshall<Envelop.java:237>
> > > at org.apache.soap.rpc.Call.invoke<Call.java:230>
> > > at hello.Client.main<Client.java:50>
> > > I am attaching the client and server files:
> > >  <<Client.java>>  <<HelloServer.java>>
> > >
> > > Can you please suggest how I can fix the above error?
> > >
> > > Thanks in advance.
> > > Rino Srivastava
> > >
> > >
> 

Reply via email to