First off I am following the directions in this post:
http://forum.subsonic.org/forum/viewtopic.php?t=4247&start=0&postdays=0&postorder=asc&highlight=tomcat+windows
I got everything set up correctly but the problem is that when Tomcat (and Subsonic) starts up, the address that is registered for my subsonic.org domain name redirect is incorrect.
Instead of https://name.subsonic.org:8443 it is redirecting to http://name.subsonic.org:8443. Notice that it is appending the SSL port number, but not using the https:// URI.
As a test I removed the SSL configuration from the Tomcat server and the server correctly registered the http port number with subsonic.org, and not the https port number.
UPDATE: While typing this out I had a brainstorm... turns out it worked. I will add the solution here in case anyone else needs it:
FIRST OFF: if you are switching from the Windows Jetty version to the Tomcat version, EXISTING FIREWALL EXCEPTIONS WILL NOT WORK! They are tied to "subsonic-service.exe" and not to a particular port. Check your Windows Firewall to make sure that the proper PORTS are opened.
Second, start up the "Configure Tomcat" tool, and on the Java tab, under Java Options, add two lines:
- Code: Select all
-Dsubsonic.port=<non SSL port number>
-Dsubsonic.httpsport=<SSL port number>
Restart Tomcat and the proper (http) port should be registered with Sindre's servers.
Now I just have to figure out how to make Subsonic the default application that is served under Tomcat (so the direct address is http://ip.address:port instead of http://ip.address:port/subsonic) and I should be able to do an apples-to-apples comparison (and my old clients who have bookmarks to my real domain name instead of my subsonic.org domain name won't have to change).
Hope this helps someone,
Glenn