-----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: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org