You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Yao, Mingdong" <Mi...@Bestbuy.com> on 2001/01/16 16:46:46 UTC

new to SOAP

This question might have been asked for a hundred times, but since I'm new
to the list :-)
Could someone point me to the resource on how to get SOAP to work?
I have SOAP-2_0, xerces-1_2_3, jakarta-tomcat-3.2.1, jdk1.3, and 
I have changed the classpath to make xerces.jar appear first. I still got 
the following errors. Please help. Thanks a lot.

Don

****************************************************************************
**********
Microsoft(R) Windows NT(TM)
(C) Copyright 1985-1996 Microsoft Corp.

C:\WINNT\Profiles\spmmwy\Desktop>cd\

C:\>tomcat run
Including all jars in C:\jakarta-tomcat-3.2.1\lib in your CLASSPATH.

Using CLASSPATH:
.;c:\xerces-1_2_3\xerces.jar;c:\xalan-j_1_2_D02\xalan.jar;c:\so
ap-2_0\lib\soap.jar;C:\j2ee\j2sdkee1.2.1\lib\j2ee.jar;C:\jakarta-tomcat-3.2.
1\cl
asses;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jakarta-tomcat-3.2.1\lib\jasper
.jar
;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jakarta-tomcat-3.2.1\lib\parser.jar
;C:\
jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakarta-tomcat-3.2.1\lib\webserver.j
ar;c
:\j2ee\jdk1.3\lib\tools.jar

Exception in thread "main" java.lang.NoSuchMethodError
        at org.apache.tomcat.startup.Tomcat.getConfigFile(Tomcat.java:162)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:185)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
C:\>

Re: new to SOAP

Posted by Moshe Rubnov <mr...@flowsoft.co.il>.
Hi Don,

First of all remove the "C:\jakarta-tomcat-3.2.1\lib" entries from your
classpath. The file tomcat.bat will add them automaticaly.

Second, modify the file tomcat.bat with the following change:

    rem set CLASSPATH=%CLASSPATH%;%cp%
    set CLASSPATH=%cp%;%CLASSPATH%

This way you'll be able to make SOAP deliver the request/response

Good luck,
Moshe Rubnov


----- Original Message -----
From: "Yao, Mingdong" <Mi...@Bestbuy.com>
To: <so...@xml.apache.org>
Sent: Tuesday, January 16, 2001 5:46 PM
Subject: new to SOAP


> This question might have been asked for a hundred times, but since I'm new
> to the list :-)
> Could someone point me to the resource on how to get SOAP to work?
> I have SOAP-2_0, xerces-1_2_3, jakarta-tomcat-3.2.1, jdk1.3, and
> I have changed the classpath to make xerces.jar appear first. I still got
> the following errors. Please help. Thanks a lot.
>
> Don
>
>
****************************************************************************
> **********
> Microsoft(R) Windows NT(TM)
> (C) Copyright 1985-1996 Microsoft Corp.
>
> C:\WINNT\Profiles\spmmwy\Desktop>cd\
>
> C:\>tomcat run
> Including all jars in C:\jakarta-tomcat-3.2.1\lib in your CLASSPATH.
>
> Using CLASSPATH:
> .;c:\xerces-1_2_3\xerces.jar;c:\xalan-j_1_2_D02\xalan.jar;c:\so
>
ap-2_0\lib\soap.jar;C:\j2ee\j2sdkee1.2.1\lib\j2ee.jar;C:\jakarta-tomcat-3.2.
> 1\cl
>
asses;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jakarta-tomcat-3.2.1\lib\jasper
> .jar
>
;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jakarta-tomcat-3.2.1\lib\parser.jar
> ;C:\
>
jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakarta-tomcat-3.2.1\lib\webserver.j
> ar;c
> :\j2ee\jdk1.3\lib\tools.jar
>
> Exception in thread "main" java.lang.NoSuchMethodError
>         at org.apache.tomcat.startup.Tomcat.getConfigFile(Tomcat.java:162)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:185)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> C:\>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
>


Re: new to SOAP

Posted by Moshe Rubnov <mr...@flowsoft.co.il>.
Hi Don,

First of all remove the "C:\jakarta-tomcat-3.2.1\lib" entries from your
classpath. The file tomcat.bat will add them automaticaly.

Second, modify the file tomcat.bat with the following change:

    rem set CLASSPATH=%CLASSPATH%;%cp%
    set CLASSPATH=%cp%;%CLASSPATH%

This way you'll be able to make SOAP deliver the request/response

Good luck,
Moshe Rubnov


----- Original Message -----
From: "Yao, Mingdong" <Mi...@Bestbuy.com>
To: <so...@xml.apache.org>
Sent: Tuesday, January 16, 2001 5:46 PM
Subject: new to SOAP


> This question might have been asked for a hundred times, but since I'm new
> to the list :-)
> Could someone point me to the resource on how to get SOAP to work?
> I have SOAP-2_0, xerces-1_2_3, jakarta-tomcat-3.2.1, jdk1.3, and
> I have changed the classpath to make xerces.jar appear first. I still got
> the following errors. Please help. Thanks a lot.
>
> Don
>
>
****************************************************************************
> **********
> Microsoft(R) Windows NT(TM)
> (C) Copyright 1985-1996 Microsoft Corp.
>
> C:\WINNT\Profiles\spmmwy\Desktop>cd\
>
> C:\>tomcat run
> Including all jars in C:\jakarta-tomcat-3.2.1\lib in your CLASSPATH.
>
> Using CLASSPATH:
> .;c:\xerces-1_2_3\xerces.jar;c:\xalan-j_1_2_D02\xalan.jar;c:\so
>
ap-2_0\lib\soap.jar;C:\j2ee\j2sdkee1.2.1\lib\j2ee.jar;C:\jakarta-tomcat-3.2.
> 1\cl
>
asses;C:\jakarta-tomcat-3.2.1\lib\ant.jar;C:\jakarta-tomcat-3.2.1\lib\jasper
> .jar
>
;C:\jakarta-tomcat-3.2.1\lib\jaxp.jar;C:\jakarta-tomcat-3.2.1\lib\parser.jar
> ;C:\
>
jakarta-tomcat-3.2.1\lib\servlet.jar;C:\jakarta-tomcat-3.2.1\lib\webserver.j
> ar;c
> :\j2ee\jdk1.3\lib\tools.jar
>
> Exception in thread "main" java.lang.NoSuchMethodError
>         at org.apache.tomcat.startup.Tomcat.getConfigFile(Tomcat.java:162)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:185)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> C:\>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
>