Page 1 of 1
Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Mon Feb 20, 2012 11:02 pm
by redranger
Hi there....
Do anyone in here have experience with getting a QNAP to work with SSL on Subosnic.
- war install
-- running under TomCat
- qnap ts 239 Pro 2'
-- fw 3.6 (latest)
- subsonic is v4.6 beta 2
Looking forward to hear from you.
Thank you.
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Tue Feb 21, 2012 8:27 pm
by redranger
Anyone with an idea?
Thank you.
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Wed Feb 22, 2012 7:18 pm
by bushman4
What is not working? I've never setup subsonic on a NAS, but the principals should all be the same...
Glenn
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Wed Feb 22, 2012 8:26 pm
by redranger
bushman4 wrote:What is not working? I've never setup subsonic on a NAS, but the principals should all be the same...
Glenn
Hi Glenn,
I don't know if anything is not working. My challenge is that I don't know how to setup subsonic to use SSL on my NAS (QNAP).
Btw it's the WAR deployment I use on the QNAP.
Thank you.
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Wed Feb 22, 2012 8:31 pm
by bushman4
Well you must have some kind of config file where you set the subsonic.port variable. Do you know where that is?
If so, it should be as simple as adding a line setting the "subsonic.httpsport" to the port that you want https to use and restarting the service.
Once subsonic sees that there is a https port set up, it will redirect to it automatically.
HTH,
Glenn
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Wed Feb 22, 2012 8:34 pm
by redranger
bushman4 wrote:Well you must have some kind of config file where you set the subsonic.port variable. Do you know where that is?
If so, it should be as simple as adding a line setting the "subsonic.httpsport" to the port that you want https to use and restarting the service.
Once subsonic sees that there is a https port set up, it will redirect to it automatically.
HTH,
Glenn
Thank you for replying.
I can't find the subsonic.sh file and I don't think I have one. As I'm running on the WAR deployment of Subsonic. I have the catalina.properties which I have used to redirect the subsonic location (on QNAP the var location is cleared on every reboot).
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Thu Feb 23, 2012 1:14 am
by bushman4
It must be that then... what are the contents of that file right now?
Glenn
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Thu Feb 23, 2012 9:33 pm
by redranger
Hi...
--- this is the content of catalina.properties
#
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
#
#
# List of comma-separated paths defining the contents of the "common"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank,the JVM system loader will be used as Catalina's "common"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar
#
# List of comma-separated paths defining the contents of the "server"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
# If left as blank, the "common" loader will be used as Catalina's "server"
# loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
server.loader=
#
# List of comma-separated paths defining the contents of the "shared"
# classloader. Prefixes should be used to define what is the repository type.
# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
# the "common" loader will be used as Catalina's "shared" loader.
# Examples:
# "foo": Add this folder as a class repository
# "foo/*.jar": Add all the JARs of the specified folder as class
# repositories
# "foo/bar.jar": Add bar.jar as a class repository
# Please note that for single jars, e.g. bar.jar, you need the URL form
# starting with file:.
shared.loader=
#
# String cache configuration.
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trainThreshold=500000
#tomcat.util.buf.StringCache.cacheSize=5000
#
# Defining Subsonic home dir. Moving it away from var, which is
# a RAM disk
subsonic.home=/share/MD0_DATA/Subsonic
--- end of catalina properties
--- Personally I don't think this is the file.
Looking forward to your answer.
Thank you.
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Fri Feb 24, 2012 1:05 pm
by bushman4
How do you start the Subsonic server on your NAS?
Glenn
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Fri Feb 24, 2012 8:55 pm
by redranger
Hi Glenn,
I starts when I boot the QNAP. Tomcat takes care of that. Subsonic is the WAR deployment and thereby "installed" in Tomcat.
I hope that helps.
Re: Get SSL to work...Subsonic on QNAP TS239 Pro2

Posted:
Mon Nov 04, 2013 11:07 pm
by redranger
Anyone has an idea on this topic?
Thank you.