Hi, Even i have similar problem.. I wanted to create the <connector/> element. At the time of tomcat start up using Tomcat's existing bootstrap classes rather than loading them using sever.xml. I wanted to create a https connector. using Http11NioProtocol for the connector.
Please let me know if any documentation is available on that? or any body who has implemented the similar ones... Thanks.. Bhuvan On Mon, Aug 31, 2009 at 8:21 PM, Christopher Schultz < [email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pramod, > > On 8/31/2009 7:19 AM, Tk, Pramod (NSN - IN/Bangalore) wrote: > > What I want to make is to remove keystorePass="XXXXXXXXX" tag and give > > this keystore password when tomcat starts up. > > I think you'll have to write your own code that reads the keystore > password from the console (and displays it, since I don't think Java can > control a pty device very well) and then sets up Tomcat. If you're > trying to be cute, you could pop-up a tiny GUI window to get the > password, but that will significantly increase the amount of memory > required just to get Tomcat started because the GUI subsystem must be > started. > > Or, you could hack Tomcat's existing bootstrap classes to do the same > thing, but it might end up being more complicated than you think > (because IIRC Tomcat uses commons-digester to configure everything). > > In either case, you'll have to figure out how to get Tomcat into the > background after accepting the password, too, unless you just expect > users to press CTLR-Z and then type "bg" or whatever. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkqb42AACgkQ9CaO5/Lv0PBI3QCdHFh4oSYRuRtbjrnb5xp4OMCO > wuUAnijsqsTyNrw5I7VKWFIzOxKt/+HU > =oFqy > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
