You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by anita kulshreshtha <a_...@yahoo.com> on 2004/12/10 05:06:24 UTC
Tomcat Container
Jacek,
To create a default HTTP connector use -
Connector connector = embedded.createConnector(null,
8080, false);
I can not test this because I am unable to build.
Regards
Anita
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
Re: Tomcat Container
Posted by Jacek Laskowski <jl...@apache.org>.
anita kulshreshtha wrote:
> Jacek,
> To create a default HTTP connector use -
> Connector connector = embedded.createConnector(null,
> 8080, false);
Hi Anita,
As I wrote in the TomcatContainer class, the above code won't work. The
only way to create a http connector was to use Connector class directly.
// It doesn't work - there's no HTTP connector created
// connector = embedded.createConnector((String) null, 8080,
"http");
// Create an HTTP/1.1 connector manually
connector = new Connector("HTTP/1.1");
connector.setPort(8080);
Anyway, you've reminded me to ask about it on the tomcat dev mailing list.
> I can not test this because I am unable to build.
Why? Unless you have made some changes, delete your local source
repository of Geronimo and check it out again.
> Anita
Jacek