after uncommenting necessary sections in jee-*.xml and red5-core.xml you
should have ports 8443 and 5443 listening
all your http queries should go to https://server:5443/openmeetings
and you need to set correct values in config.xml (RTMPS-guide point 3)


On 20 June 2014 21:53, Michael Wuttke <[email protected]>
wrote:

> Hello Maxim,
>
> same same but different! I still get the error message:
> NetConnection.Connect.Failed
>
> I downloaded jdk-7u60-linux-x64.tar.gz from
>
> http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
> and installed this version with the following steps:
> cd /opt
> mkdir /opt/java-oracle
> tar -zxf jdk-7u60-linux-x64.tar.gz -C /opt/java-oracle
> JHome=/opt/java-oracle/jdk1.7.0_60
> update-alternatives --install /usr/bin/java java ${JHome%*/}/bin/java 20000
> update-alternatives --install /usr/bin/javac javac ${JHome%*/}/bin/javac
> 20000
> update-alternatives --auto java
> update-alternatives --auto javac
> java -version
> Java version "1.7.0_60"
> Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
>
> Has it something to do with the ports 1935 & 8080?
>
> cat /usr/lib/red5/log/red5.log | grep 8080
> [HttpListener-8080-1] INFO  o.a.a.t.h.s.DefaultConnectionListener -
> Listening on port 8080
> cat /usr/lib/red5/log/red5.log | grep 1935
> [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP will be bound to
> [0.0.0.0:1935]
>
> They are still used by the OM server. How can I close these ports?
>
> By the way, the ports test failed.
>
> Thanks & Greetings,
> Michael
>
> Am 20.06.2014 16:07, schrieb Maxim Solodovnik:
> > so networktest works and main app not?
> > maybe it caused by OpenJDK? could you try with Oracle JDK?
> >
> >
> > On 20 June 2014 20:31, Michael Wuttke
> > <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     and the result of the networktesting:
> >
> >     Ping: start test...
> >     https://myurl:5443/openmeetings/networktest.upload?testType=ping
> >     Ping: load time = 99 ms
> >     Ping: load time = 39 ms
> >     Ping: load time = 30 ms
> >     Ping: load time = 37 ms
> >     Ping: load time = 35 ms
> >     Ping: load time = 36 ms
> >     Ping: load time = 29 ms
> >     Ping: load time = 40 ms
> >     Ping: load time = 28 ms
> >     Ping: load time = 30 ms
> >     Ping: report:
> >     Average ping time: 40.3 ms
> >     Packets received: 10
> >     Packets lost: 0
> >
> >     Port: : start test... rtmps://myurl:1935/openmeetings/hibernate
> >     Jitter: start test...
> >     https://myurl:5443/openmeetings/networktest.upload?testType=jitter
> >     Jitter: report:
> >     Average time: 34.02 ms
> >     Min time: 11 ms
> >     Max time: 102 ms
> >     Jitter: 67.97999999999999 ms and -23.020000000000003 ms
> >
> >     Download speed: start test...
> >     https://myurl:5443/openmeetings/networktest.upload?testType=download
> >     Download speed: report:
> >     Bytes downloaded: 1 Mb
> >     Download time: 0.078 s
> >     Download speed: 12.820512820512821 Mb/s
> >
> >     Upload speed: start test...
> >     https://myurl:5443/openmeetings/networktest.upload
> >     Upload speed: report:
> >     Bytes uploaded: 1 Mb
> >     Upload time: 0.089 s
> >     Upload speed: 11.235955056179776 Mb/s
> >
> >     Thnaks,
> >     Michael
> >
> >     Am 20.06.2014 12:41, schrieb Maxim Solodovnik:
> >     > I have created own self-signed CA and added it to all browsers :)
> >     >
> >     >
> >     > On 20 June 2014 17:35, Maxim Solodovnik <[email protected]
> >     <mailto:[email protected]>
> >     > <mailto:[email protected] <mailto:[email protected]>>>
> wrote:
> >     >
> >     >     Hello Michael,
> >     >
> >     >     I set it up on my server using
> >     >     this http://openmeetings.apache.org/RTMPSAndHTTPS.html guide
> >     >     keystore file need to be created as described in very
> beginning of
> >     >     the guide
> >     >     and path to it should be added to the config file.
> >     >
> >     >     you can split keystore to 2 files: keystore and truststore,
> >     can use
> >     >     only one file
> >     >
> >     >
> >     >     On 20 June 2014 17:00, Michael Wuttke
> >     >     <[email protected]
> >     <mailto:[email protected]>
> >     >     <mailto:[email protected]
> >     <mailto:[email protected]>>> wrote:
> >     >
> >     >         Hello Maxim,
> >     >
> >     >         I tested the build34. This version works for me with http
> as
> >     >         expected.
> >     >
> >     >         But if I try to use HTTPS/RTMPS, I've got the following
> error
> >     >         messages
> >     >         in the red5.log:
> >     >
> >     >         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/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
> >     >         [main] WARN  o.a.tomcat.util.net.NioEndpoint - configured
> >     >         file:[/usr/lib/red5/conf/keystore.jks] does not exist.
> >     >         [main] WARN  o.a.tomcat.util.net.NioEndpoint - configured
> >     >         file:[/usr/lib/red5/conf/truststore.jks] does not exist.
> >     >
> >     >         Please can you tell me which howto is the right/the newest
> >     one, to
> >     >         configure the OM server right?
> >     >         http://openmeetings.apache.org/RTMPSAndHTTPS.html
> >     >         &
> >     >
> >
> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing%20OM2.1.1%20on%20Debian64%20Wheezy.pdf?version=1&modificationDate=1380291632000&api=v2
> >     >         (site 28 and step 12ff)
> >     >
> >     >         My java version under debian wheezy is:
> >     >         java -version
> >     >         java version "1.7.0_55"
> >     >         OpenJDK Runtime Environment (IcedTea 2.4.7)
> >     (7u55-2.4.7-1~deb7u1)
> >     >         OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
> >     >
> >     >         And these are the java packages on the debian system:
> >     >         dpkg -l | grep jdk
> >     >         ii  openjdk-7-doc
> 7u55-2.4.7-1~deb7u1
> >     >            all          OpenJDK Development Kit (JDK) documentation
> >     >         ii  openjdk-7-jre:amd64
> 7u55-2.4.7-1~deb7u1
> >     >            amd64        OpenJDK Java runtime, using Hotspot JIT
> >     >         ii  openjdk-7-jre-headless:amd64
>  7u55-2.4.7-1~deb7u1
> >     >            amd64        OpenJDK Java runtime, using Hotspot JIT
> >     (headless)
> >     >         ii  openjdk-7-jre-lib
> 7u55-2.4.7-1~deb7u1
> >     >            all          OpenJDK Java runtime (architecture
> independent
> >     >         libraries)
> >     >
> >     >         Thank you for any help,
> >     >         Michael
> >     >
> >     >         Am 19.06.2014 17:48, schrieb Maxim Solodovnik:
> >     >         > Dear Openmeetings comunity,
> >     >         >
> >     >         > I would like to announce the OM version seems to work as
> >     >         expected in
> >     >         > secure
> >     >         > mode:
> >     >
> >
> https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.0.x/
> >     >         >
> >     >         > build #34
> >     >         >
> >     >         > please NOTE java required for OM is now java7
> >     >         >
> >     >         > I will really appreciate if you can test HTTPS/RTMPS and
> >     >         report back
> >     >         >
> >     >         > Thanks in advance
> >     >         >
> >     >         > --
> >     >         > WBR
> >     >         > Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to