tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32031] - Can't create "http" connector for an Embedded tomcat
Date Tue, 02 Nov 2004 22:19:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32031>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32031

Can't create "http" connector for an Embedded tomcat





------- Additional Comments From youcef.hilem@free.fr  2004-11-02 22:19 -------
I Have fixed the bug like this :

....
if (protocol.equals("ajp")) {
    connector = new Connector("org.apache.jk.server.JkCoyoteHandler");
} else if (protocol.equals("memory")) {
    connector = new Connector
("org.apache.coyote.memory.MemoryProtocolHandler");
} else {
    connector = new Connector();
    if (protocol.equals("https")) {
       connector.setScheme("https");
       connector.setSecure(true);
       // FIXME !!!! SET SSL PROPERTIES
     }
}
....

---------------------------------------------------------------------
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