tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Query on Tomcat Server.xml
Date Thu, 03 Sep 2009 20:59:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bhuvan,

On 9/2/2009 1:44 AM, Bhuvanesh Pattanashetti wrote:
> Thanks for your suggestion,
> I wanted only some part of tomcat to be customized.So it would be risky and
> time consuming if i override the whole part.
> 
> I have reached some extent.
> 
> i m using spring-DM running on tomcat. Spring-DM is able to inject
> the <Service/> object my business class.

Wait... are you trying to have Spring inject Tomcat's Service object
into one of your own classes? I suspect you're getting a worthless
Service object (that is, one created from scratch that has nothing to do
with the currently-running Tomcat).

> I wanted to add https port(Http11NioProtocol connector element) to
> this <Service/> through coding.

If you're using Spring, and you already have a Service object, why not
just have Spring create a Http11NioConnector object and attach it to
that service?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqgLh0ACgkQ9CaO5/Lv0PCGJwCghScN9K9OyQ4hI5yYZmeHJV6N
YyUAn0AOSBst6R05W+sevQCDTcyUI3Lh
=01Mq
-----END PGP SIGNATURE-----

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


Mime
View raw message