You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Vijay Gautam <vi...@accesslease.com> on 2000/10/14 00:30:32 UTC

SOAP and Tomcat

Hi all,
I am trying to run my application and it gives an error saying :-

Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/network/mail/
smtp/event/StatusListener

could someone please tell me why is this coming.....?????????????????????

Thanks and Regards,
Vijay Sheel Gautam
Software Consultant

Accesslease.com, Suite #105,
1355, Sutter Street, San Francisco, CA, USA

email - vijay@accesslease.com
phone number - 1 415 946 6337(office)


-----Original Message-----
From: Prabhakar, V [mailto:V.Prabhakar@compaq.com]
Sent: Friday, October 13, 2000 3:16 PM
To: 'soap-user@xml.apache.org'
Subject: RE: SOAP calling Java Servlet
Sensitivity: Confidential


I am curious as how you managed to have the same parameters for both the
servlet and the SOAP_RPC. Did you change the method signatures between
servlet and SOAP-RPC invocations?

-Prabhakar

-----Original Message-----
From: Elizabeth Tully [mailto:elizabeth.tully@reuters.com]
Sent: Friday, October 13, 2000 3:03 PM
To: soap-user@xml.apache.org
Subject: SOAP calling Java Servlet
Sensitivity: Confidential


    I have been trying to use the Apache SOAP (2.0) implementation to make a
SOAP call from a client to a Java servlet, but I am finding that the RPC
Router
does not treat the class file as a servlet.

     My servlet is being used to create a JDBC connection pool into a
database.
This connection pool is created upon servlet initialization, and retains the
connections until the servlet is destroyed. Subsequent requests to the
servlet
do not create new connections.

     The problem is this: When I run the servlet by hitting it from a
browser,
it works correctly.  However, when I attempt to invoke the servlet via the
RPC
Router, it seems that a new instance of the servlet is created, but the
initialization (and, therefore, the database connection) is not executed.

     The question is:  How can I get the RPC Router to treat the code as a
servlet and not just an ordinary Java class?

-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.