On 22/02/2010 07:28, Cummins College wrote:
Hi,

I know the problem is slightly different but we want to access the
server.xml for the http connector so that we can set its secure attribute
depending on the protocol to be used is http or https.

You are confused.

Changing the secure attribute wouldn't achieve what you want, because you need an entirely separate connector for each of HTTP and HTTPS.

HTTPS, for example, runs on a different port (443 by default, rather than 80 for HTTP) and requires extra configuration to define the SSL protocol factors.


This has to done at runtime i.e without shutting down tomcat and re-starting
it.

Why?

Is it possible to access the http connector at runtime and change its
attributes?

Not without shutting down or restarting Tomcat.

As others are asking, can you please explain what it is that you're trying to achieve and also why you think that your proposed solution will do that?


p


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

Reply via email to