Hello together,
I just came into the world of wowza and figure out that it’s not working as descripted here:
https://www.wowza.com/docs/how-to-set-up-wowza-streaming-engine-using-docker
I started with pulling the docker container, so far so good.
I was able to run the docker container as descripted in documentation (I hided my IP ):
docker run -it --name WowzaVideoStreamingServer --restart always --expose 1935/tcp --expose 8086/tcp --expose 8087/tcp --expose 8088/tcp --publish 1935:1935 --publish 9086:8086 --publish 9087:8087 --publish 9088:8088 --volume /var/log/wowza:/usr/local/WowzaStreamingEngine/logs --entrypoint /sbin/entrypoint.sh --env WSE_MGR_USER=wowza_server --env WSE_MGR_PASS=lj4512hlkc81 --env WSE_LIC=EDEV4-KedkT-wvBW9-u9BVw-wppaC-6EBzQ-4keUYZ6znw --env WSE_IP_PARAM=000.000.000.000 wowzamedia/wowza-streaming-engine-linux:latest
Server was up, cool, but nothing is working so far. Good to know, where the logs are, after checking the logs I found this:
ERROR server comment 2018-01-15 17:03:26 - - - - - 0.142 - - - - - - - - loadConfigFile: error parsing server config file: (file:///usr/local/WowzaStreamingEngine/conf/Server.xml): org.xml.sax.SAXParseException; systemId: file:///usr/local/WowzaStreamingEngine/conf/Server.xml; lineNumber: 50; columnNumber: 117; The string "--" is not permitted within comments.|at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)|at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)|at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)|at com.wowza.wms.util.ServerUtils.loadConfigFile(ServerUtils.java:224)|at com.wowza.wms.server.Server.a(Server.java:1039)|
Easy going. I run:
docker cp WowzaVideoStreamingServer:/usr/local/WowzaStreamingEngine/conf/Server.xml .
Modify the file and upload it again.
docker cp ./Server.xml WowzaVideoStreamingServer:/usr/local/WowzaStreamingEngine/conf/
Here we go. Next try!
docker restart WowzaVideoStreamingServer
Ok, Server crashed with:
ERROR server comment 2018-01-15 17:15:56 - - - - - 179.313 - - - - - - - - error : java.lang.NullPointerException|at com.wowza.wms.util.ApplicationUtils.gs(ApplicationUtils.java:94)|at com.wowza.wms.server.Server.startServer(Server.java:1928)|at com.wowza.wms.server.Server.start(Server.java:1104)|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|
Here I got stucked and didn’t find a solution yet in this forum, can anybody point me maybe to a good solution?
Thanks a lot for replys!
Best regards
Björn