tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhrugesh Shah" <B.S...@1internet.com>
Subject Where does System.out.println goes on Tomcat 3.1
Date Fri, 02 Jun 2000 17:01:49 GMT
Hi,
Please let me know where does tomcat prints System.out statement...
Is there any stderr or stdout file under tomcat directory..
I am running my application with tomcat http server.

Thanks

Bhrugesh

-----Original Message-----
From: Arieh Markel [mailto:Arieh.Markel@Central.Sun.COM]
Sent: Friday, June 02, 2000 11:44 AM
To: tomcat-dev@jakarta.apache.org
Subject: Re: Bridging org.apache.tomcat.net.ServerSocketFactory with
javax.net


Obviously another constructor needs to be added, allowing to pass
a javax.net.ServerSocketFactory as an argument.

Also, the ssf variable needs to be protected.


> Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
> X-No-Archive: yes
> list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
> list-unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> list-post: <mailto:tomcat-dev@jakarta.apache.org>
> Delivered-To: mailing list tomcat-dev@jakarta.apache.org
> From: Arieh Markel <Arieh.Markel@central.sun.com>
> Subject: Bridging org.apache.tomcat.net.ServerSocketFactory with javax.net
> To: tomcat-dev@jakarta.apache.org
> Content-MD5: IK/0W11ISIB1VnbpoKraLw==
> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
>
> During my work on trying to get SSL to work with Jakarta/Tomcat, I ran
> across the issue of (in)compatibility between the ServerSocketFactory
> classes found in org.apache.tomcat.net and javax.net.
>
> I realized the utility of being able to bridge between both definitions.
>
> As a result I am proposing the incorporation of the following class,
> which could then be extended by specialized factory implementations
> (for SSL, at least):
>
>
>
> package org.apache.tomcat.net;
>
> import java.io.*;
> import java.net.*;
>
> import javax.net.ServerSocketFactory;
> import java.net.ServerSocket;
>
> /**
>  *   Utility class to wrap javax.net.ServerSocketFactory objects in
>  *   org.apache.tomcat.net.ServerSocketFactory
>  */
>
> public class ServerSocketFactoryWrapper
>                         extends org.apache.tomcat.net.ServerSocketFactory
{
>
>     private ServerSocketFactory ssf;

      protected ServerSocketFactory ssf
>
>     public ServerSocketFactoryWrapper () {
>
>         ssf =  ServerSocketFactory.getDefault();
>     }

      public ServerSocketFactoryWrapper (ServerSocketFactory sf) {

          ssf =  sf;
      }
>
>     public ServerSocket createSocket (int port)
>        						throws IOException {
>         return ssf.createServerSocket (port);
>     }
>
>     public ServerSocket createSocket (int port, int backlog)
>     						throws IOException {
>         return ssf.createServerSocket (port, backlog);
>     }
>
>     public ServerSocket createSocket (int port, int backlog,
>                                       InetAddress ifAddress)
>                                                 throws IOException {
>         return ssf.createServerSocket (port, backlog, ifAddress);
>     }
> }
>
>
> The implicit dependency here is in including the jnet.jar that comes
> included with the jsse1.0.1 deliverables.
>
> Ideas ?
>
> Opinions ?
>
> Arieh
> --
>  Arieh Markel		                Sun Microsystems Inc.
>  Network Storage                        500 Eldorado Blvd. MS UBRM11-194
>  e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
>  Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
>  (e-mail me with subject SEND PUBLIC KEY to get public key)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



Mime
View raw message