Sorry for the previous mail. Adding Subject.
----- Forwarded Message ----- From: Chirag Dewan <chirag.dewa...@yahoo.in> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, 16 May 2013 8:37 AM Subject: Hi All, I am upgrading my Embedded Tomcat 6 to Tomcat 7. I am adding an HTTPS connector to my service. Code for Tomcat 6 IntrospectionUtils.setProperty( this, "sslProtocol", "TLS" ); IntrospectionUtils.setProperty( this, "keystore", keyStoreFile ); IntrospectionUtils.setProperty( this, "keypass", keyStorePassword ); IntrospectionUtils.setProperty( this, "SSLEnabled", "true" ); Embedded.addConnector( this ); Code for Tomcat 7 IntrospectionUtils.setProperty( this, "sslProtocol", "TLS" ); IntrospectionUtils.setProperty( this, "keystore", keyStoreFile ); IntrospectionUtils.setProperty( this, "keypass", keyStorePassword ); IntrospectionUtils.setProperty( this, "SSLEnabled", "true" ); Tomcat.getService().addConnector( this ); This is just a sample code. It worked fine in Tomcat 6,but when I start the connector in Tomcat 7 I get an /home/.keystore(my keystore file is not in the default location) not found exception. Now I have it corrected by changing the attributes "keystore" to "keystoreFile" and "keypass" to "keystorePass",the way it should be. But I am puzzled,how was it still working in Tomcat 6? Thanks.