[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106800#comment-15106800
 ] 

Uwe Tesche commented on OPENMEETINGS-1267:
------------------------------------------

Now I have given 3.1.0 build 99 a try,  but can't configure ssl even with 
simple conditions (same IP for hhtps and rtmps, standard ports: 5443 and 8443) 
because Tomcat seems to be looking for the keystore at a wrong place:


<red5.properties>
..
rtmps.keystorefile=conf/keystore.jks
rtmps.truststorefile=conf/keystore.jks
..


<log/red5.log>
..
2016-01-19 15:17:33,669 [main] INFO  org.red5.server.tomcat.TomcatLoader - 
Loading tomcat
2016-01-19 15:17:33,669 [main] INFO  org.red5.server.tomcat.TomcatLoader - 
Server root: /opt/open310
2016-01-19 15:17:33,670 [main] INFO  org.red5.server.tomcat.TomcatLoader - 
Config root: /opt/open310/conf
2016-01-19 15:17:33,685 [main] INFO  org.red5.server.tomcat.TomcatLoader - 
Application root: /opt/open310/webapps
2016-01-19 15:17:33,748 [main] WARN  o.a.tomcat.util.net.NioEndpoint - 
configured file:[/opt/open310/tomcat.8080/conf/keystore.jks] does not exist.
2016-01-19 15:17:33,749 [main] WARN  o.a.tomcat.util.net.NioEndpoint - 
configured file:[/opt/open310/tomcat.8080/conf/keystore.jks] does not exist.
2016-01-19 15:17:33,750 [main] INFO  org.red5.server.tomcat.TomcatLoader - 
Starting Tomcat servlet engine
2016-01-19 15:17:33,924 [main] INFO  o.a.c.core.AprLifecycleListener - The APR 
based Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2016-01-19 15:17:33,939 [main] INFO  o.a.coyote.http11.Http11NioProtocol - 
Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
2016-01-19 15:17:33,945 [main] INFO  o.a.tomcat.util.net.NioSelectorPool - 
Using a shared selector for servlet write/read
2016-01-19 15:17:33,948 [main] INFO  o.a.coyote.http11.Http11NioProtocol - 
Initializing ProtocolHandler ["http-nio-0.0.0.0-5443"]
2016-01-19 15:17:34,220 [main] ERROR o.a.t.u.net.jsse.JSSESocketFactory - 
Failed to load keystore type JKS with path 
/opt/open310/tomcat.8080/conf/keystore.jks due to 
/opt/open310/tomcat.8080/conf/keystore.jks (No such file or directory)
java.io.FileNotFoundException: /opt/open310/tomcat.8080/conf/keystore.jks (No 
such file or directory)
        at java.io.FileInputStream.open(Native Method) ~[na:1.7.0_76]
        at java.io.FileInputStream.<init>(FileInputStream.java:146) 
~[na:1.7.0_76]
..

> inproper handover of rtmphostlocal to screenshare-client
> --------------------------------------------------------
>
>                 Key: OPENMEETINGS-1267
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1267
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: Screen-sharing
>    Affects Versions: 3.0.3, 3.0.6
>            Reporter: Uwe Tesche
>            Assignee: Maxim Solodovnik
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 3.1.0
>
>
> We are using https and rtmps - and due to firewall-issues, we are using port 
> 443 for BOTH connections.  To separate the connections otherwise,  we are 
> using different values for <rtmphostlocal> and <httphostlocal>.
> It works fine except the screensharing-client: one of the arguments when 
> starting the client is the host-address to be used by the client.
> This address should be <rtmphostlocal>,  but in fact <httphostlocal> is being 
> used!
> working patch in src/WebContent/src/base/mainMethods.lzx:
> a) adding a new method:
> <method name="getRtmpHost">
>   <![CDATA[
>     return canvas.rtmphostlocal;
>   ]]>
> </method>
> b) change in method getScreenSharingUrl:
> from ... +'rtmphostlocal=' + canvas.getHttpHost() ...
> to  +'rtmphostlocal=' + canvas.getRtmpHost()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to