Page 1 of 1

Cannot create instance of SOAP MeError after fresh install.

PostPosted: Tue Oct 09, 2018 10:34 am
by roginovicci
My OS is OpenSuse Leap 15.0 with Oracle JRE version 10.0.2. After installing Serviio I have access to console to control shared data and status of the server, but all players can't get acess to the data invoking the following error in log file:
  Code:
2018-10-09 13:18:28,704 ERROR [SOAPMessageParser] Cannot create instance of SOAP MessageFactory                                               
javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ meta-factory: Provider com.sun.xml.internal.messa
ging.saaj.soap.SAAJMetaFactoryImpl not found
        at java.xml.soap/javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:120)                                                   
        at org.serviio.upnp.protocol.soap.SOAPMessageParser.<clinit>(SOAPMessageParser.java:35)                                               
        at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:70)                                                 
        at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:65)                         
        at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)                                           
        at org.apache.http.protocol.HttpService.doService(HttpService.java:423)                                                               
        at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)                                                 
        at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)                                                           
        at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)

Should I download additional java library to resolve the problem?

Thank you in adance.

Re: Cannot create instance of SOAP MeError after fresh insta

PostPosted: Tue Oct 09, 2018 12:39 pm
by atc98092
That might be too new a version of Java, but Zip will have to say for sure.

Re: Cannot create instance of SOAP MeError after fresh insta

PostPosted: Tue Oct 09, 2018 3:16 pm
by zip
yes. Are you using serviio.sh from the latest version? That should have a workaround.

Re: Cannot create instance of SOAP MeError after fresh insta

PostPosted: Tue Oct 09, 2018 5:47 pm
by roginovicci
atc98092 wrote:That might be too new a version of Java, but Zip will have to say for sure.

The previous version of java 9.xx the same problem

Re: Cannot create instance of SOAP MeError after fresh insta

PostPosted: Tue Oct 09, 2018 6:01 pm
by roginovicci
zip wrote:yes. Are you using serviio.sh from the latest version? That should have a workaround.

Yes I downloaded version serviio-1.9.2-linux.tar.gz and unpack it. This one is the lattes I suppose. I've checked the vriables:
  Code:
$JAVA9_OPTS=--add-modules java.xml.ws,jdk.unsupported
$SERVIIO_HOME=/opt/serviio
$SERVIIO_CLASS_PATH=/opt/serviio/lib/*:/opt/serviio/config
$JAVA_HOME=/usr/lib64/jvm/java

The last string is a little bit strange. Will try to work arround here

Re: Cannot create instance of SOAP MeError after fresh insta

PostPosted: Tue Oct 09, 2018 7:49 pm
by roginovicci
zip wrote:yes. Are you using serviio.sh from the latest version? That should have a workaround.

I've found openjdk was installed (wich I belived was ubinstalled after Oracle sde instalation) and acting wierd. After total clean up from openjre/openjdk Serviio works like a charm. Thank you for support!