Im trying to have an embedded tomcat (version 4.0.1) for my soap services
too..
I tried to use the Embedded class in org.apache.catalina.startup.

While the regular Bootstrap class which reads the server.xml file to
configure the tomcat, the Embedded does all that by itself.

However the sample example provided in Embedded doesnot seem to be working,
even when i set the catalina.home catalina.base System properties. 

I think the Bootstrap class sets up the default servlet context and other
configurations which are not evident in the example and also there is not
enough documentation for the same.


Arvind

-----Original Message-----
From: Dan Polivy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 12:55 PM
To: [EMAIL PROTECTED]
Subject: EmbededTomcat and SOAP


Hello,

I'm trying to embed Tomcat into my application to use its http and servlet 
engine to provide a SOAP interface for my app (using Apache SOAP).  So, I'd 
like to use the EmbededTomcat class, and just have the SOAP servlets set up,

without any of the Ajb connectors, or other sample webapps, etc.

The other constraint is that I want this to be as easy to configure as 
possible; with the ideal sitation being I can just put the Tomcat jars in my

classpath, and then start the application and have everything startup 
perfectly.

However, I'm not exactly sure how to go about doing the code-based 
configuration of EmbededTomcat; the documentation didn't seem too clear.  I 
am using 3.3 right now, but can switch to 4 if it is necessary.  Has anyone 
had experience with a similar setup?  What is the easiest way to set this 
up, and how do I go about setting the necessary configuration parameters in 
my code?

Thanks!

Dan


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
CONFIDENTIALITY NOTICE:  E-mail may contain confidential information that is
legally protected.  Do not read this e-mail if you are not the intended
recipient. This e-mail transmission, and any documents, files or previous
e-mail messages  attached to it may contain confidential information that is
legally protected.  If you are not the intended recipient or a person
responsible for delivering it to the intended recipient,  you are hereby
notified that any disclosure, copying, distribution or use of any of the
information contained in or attached to this transmission is STRICTLY
PROHIBITED.  If you have received this transmission in error, please
immediately notify us by reply e-mail, by forwarding this to
[EMAIL PROTECTED] or by telephone at (877) PANACYA, and destroy the
original transmission and its attachments without reading or saving in any
manner.  Thank you.  For information about PANACYA Inc., please visit our
website at http://www.panacya.com.

Reply via email to