Someone send me a reply
but my mailer crashed.

It would be wonderfull
if the mysterious sender
send me his(her) reply again.

Thanks.

Jerome Bouat wrote:
> 
> I want to use the Jakarta catalina library
> without the configuration files
> (server.xml, WEB-INF/web.xml, ...).
> The aim is to use (and hide)
> a lighweight SOAP (on HTTP) connector
> started from a java NON-WEB application.
> 
> SOAP message handling is made with a servlet
> that extends the javax.xml.messaging.JAXMServlet class.
> My ServletFilter class
> which implements the javax.servlet.Filter interface
> does not alter the ServletRequest
> or ServletResponse parameters (empty method bodies).
> 
> A python client send a SOAP message to my HTTP connector
> but my servlet doesn't get any message.
> 
> I have read the documentation,
> but it is done for web developpers only.
> 
> What is wrong ?
> 
> Thanks for your help.
> 
> Jerome
> 
> ------------------
> configuration code
> ------------------
> /**** variables previous settings
> * servlet : String, the full name of my servlet class
> */
> 
> System.setProperty("catalina.home","/tmp");
> System.setProperty("catalina.base","/tmp");
> 
> this.server = new Embedded();
> this.server.addLifecycleListener(this);
> 
> Engine engine = this.server.createEngine();
> engine.setDefaultHost("vtm");
> 
> Host host = this.server.createHost("vtm","");
> 
> Context context = this.server.createContext("","/tmp");
> FilterDef fD = new FilterDef();
> fD.setFilterName("*");
> fD.setFilterClass("com.xerox.VTM.clf.ServletFilter");
> context.addFilterDef(fD);
> FilterMap map = new FilterMap();
> map.setFilterName("*");
> map.setServletName(servlet);
> context.addFilterMap(map);
> context.setReloadable(false);
> context.setCookies(false);
> context.getServletContext().setAttribute("GUIManager",this);
> 
> Wrapper w = context.createWrapper();
> w.setServletClass(servlet);
> w.setName("SOAPHandler");
> w.setLoadOnStartup(-1);
> w.setParent(context);
> context.addChild(w);
> 
> host.addChild(context);
> engine.addChild(host);
> this.server.addEngine(engine);
> try{
>     Connector connector;
>     connector =
> this.server.createConnector(InetAddress.getLocalHost(),port,false);
>     connector.setScheme("http");
>     this.server.addConnector(connector);
>     try{
>         this.server.start();
>     }
>     catch(LifecycleException e){System.err.println(e);}
> }
> catch(UnknownHostException e){e.printStackTrace();}
> 
> -------------
> client trace
> ------------
> 404 '/'
> 
> ------------
> server trace
> ------------
> Apache Tomcat/4.0.3
> WebappLoader[]: Deploying class repositories to work directory
> /tmp/work/vtm/_
> StandardManager[]: Seeding random number generator class
> java.security.SecureRandom
> StandardManager[]: Seeding of random number generator has been completed
> ContextConfig[]: Missing default web.xml, using application web.xml only
> ContextConfig[]: Missing application web.xml, using defaults only
> ContextConfig[]: Added certificates -> request attribute Valve
> HttpConnector Opening server socket on host IP address 13.202.220.88
> HttpConnector[19769] Starting background thread
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to