With java 10, subsonic only seems to bind to ipv6 ports. I changed JAVA_HOME in the startup script to point to java 8, and it all worked again. Please fix this.
Thanks,
Jim
Moderator: moderators
jardell:~ # netstat -ntlp | grep LISTEN
tcp 0 0 0.0.0.0:5269 0.0.0.0:* LISTEN 2406/beam.smp
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2469/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1502/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2918/master
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 4172/sshd: jar@pts/
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN 2853/perl
tcp 0 0 0.0.0.0:17500 0.0.0.0:* LISTEN 3367/dropbox
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 2656/smbd
tcp 0 0 127.0.0.1:17600 0.0.0.0:* LISTEN 3367/dropbox
tcp 0 0 0.0.0.0:5280 0.0.0.0:* LISTEN 2406/beam.smp
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 2853/perl
tcp 0 0 127.0.0.1:17603 0.0.0.0:* LISTEN 3367/dropbox
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN 2406/beam.smp
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 2853/perl
tcp 0 0 0.0.0.0:36073 0.0.0.0:* LISTEN 2406/beam.smp
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2468/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2656/smbd
tcp 0 0 0.0.0.0:9006 0.0.0.0:* LISTEN 4665/ickHttpSqueeze
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 3040/clamd
tcp 0 0 192.168.1.5:8080 0.0.0.0:* LISTEN 2728/python
tcp 0 0 0.0.0.0:42929 0.0.0.0:* LISTEN 4664/ickHttpWrapper
tcp 0 0 127.0.0.1:4369 0.0.0.0:* LISTEN 1/systemd
tcp6 0 0 :::22 :::* LISTEN 2469/sshd
tcp6 0 0 ::1:631 :::* LISTEN 1502/cupsd
tcp6 0 0 ::1:25 :::* LISTEN 2918/master
tcp6 0 0 ::1:6010 :::* LISTEN 4172/sshd: jar@pts/
tcp6 0 0 :::17500 :::* LISTEN 3367/dropbox
tcp6 0 0 :::445 :::* LISTEN 2656/smbd
tcp6 0 0 :::139 :::* LISTEN 2656/smbd
tcp6 0 0 :::80 :::* LISTEN 2505/httpd-prefork
tcp6 0 0 :::1716 :::* LISTEN 3208/kdeconnectd
SUBSONIC_ARGS="--port=4041 --max-memory=1500 --https-port=8043 -Djava.net.preferIPv4Addresses=true"
JAVA_HOME=/etc/alternatives/java_sdk_1.8.0
jardell:/etc/init.d # systemctl status subsonic
● subsonic.service - LSB: Subsonic daemon
Loaded: loaded (/etc/init.d/subsonic; generated; vendor preset: disabled)
Active: active (exited) since Sun 2018-07-01 15:12:15 EDT; 14min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/subsonic.service
Jul 01 15:12:15 jardell subsonic[2437]: --pidfile=PIDFILE Write PID to this file. Default not created.
Jul 01 15:12:15 jardell subsonic[2437]: --quiet Don't print anything to standard out. Default f>
Jul 01 15:12:15 jardell subsonic[2437]: --default-music-folder=DIR Configure Subsonic to use this folder >
Jul 01 15:12:15 jardell subsonic[2437]: only has effect the first time Subsoni>
Jul 01 15:12:15 jardell subsonic[2437]: --default-podcast-folder=DIR Configure Subsonic to use this folder >
Jul 01 15:12:15 jardell subsonic[2437]: only has effect the first time Subsoni>
Jul 01 15:12:15 jardell subsonic[2437]: --default-playlist-folder=DIR Configure Subsonic to use this folder >
Jul 01 15:12:15 jardell subsonic[2437]: only has effect the first time Subsoni>
Jul 01 15:12:15 jardell su[2662]: pam_unix(su:session): session closed for user subsonic
Jul 01 15:12:15 jardell systemd[1]: Started LSB: Subsonic daemon.
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
... 56 more
1067 [main] WARN org.mortbay.log - Nested in org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext-sonos.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException:
java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
at org.apache.cxf.jaxws.spring.NamespaceHandler.init(NamespaceHandler.java:34)
at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:129)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1292)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.deployWebApp(SubsonicDeployer.java:132)
at net.sourceforge.subsonic.booter.deployer.SubsonicDeployer.<init>(SubsonicDeployer.java:64)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at net.sourceforge.subsonic.booter.Main.<init>(Main.java:24)
at net.sourceforge.subsonic.booter.Main.main(Main.java:63)
1082 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4041
1175 [main] INFO org.mortbay.log - Started SslSocketConnector@0.0.0.0:8043
Subsonic running on: http://localhost:4041/
and: https://localhost:8043/
--add-modules java.xml.bind
Users browsing this forum: No registered users and 17 guests