Hello Susheel,

3.1.0 uses config setting "application.base.url" to set "codebase=" URL
you can check the docs here:
http://openmeetings.apache.org/GeneralConfiguration.html

please send more detailed reverse proxy configuration if changing this URL
will not help

On Sat, Feb 20, 2016 at 2:31 AM, Susheel Jalali <[email protected]>
wrote:

> Dear OpenMeetings Developers,
>
> We would appreciate your insights into our screensharing tests in OM
> 3.1.0.  When we run the downloaded public_#.jnlp file (see below), we get
> the following test results where first two succeed, and third one fails
> (Exception Log included below). Application.base.url settings were changed
> suitably for each test case:
>
>    (1)Within LAN (using local DNS URL):  works fine.
>
>    (2)From WAN (using <FQDN:5080> in URL):  works fine.
>
>    (3)From WAN (using <FQDN> with reverse proxy):  it gives “*Unable
>    *to launch openmeetings screensharing applet” in the dialog popup.
>
> OM 3.0.6 works fine in the same environment.
>
> OM 3.0.7 worked fine.  But while downloading screensharing applet it used
> to expose the port number <FQDN:5080> even in reverse proxy scenario.
>
> -------------
>
> Current environment:
>
> OM 3.1.0
> Server 1: CentOS 6.5, MySQL
> Server 2: CentOS 7, MariaDB
> Java 7 patch 76
>
> == == ==
>
> JNLP Screensharing error.txt
> ++++++++++++++++++++++
>
> <?xml version='1.0' encoding='utf-8'?>
> <!------- Omitting the standard Apache  license text, which please
> consider implied ----- -->
>
> <jnlp spec="1.0+" codebase="https://<Our
> FQDN>/<Reverse_Proxy_sub-domain>/screenshare">
>     <information>
>         <title>Openmeetings Screen Sharing applet</title>
>         <vendor>OpenMeetings</vendor>
>         <homepage>http://apache.org</homepage>
>         <icon href="icon.jpg" />
>         <icon kind="splash" href="splashicon.jpg" />
>         <description>Openmeetings Screen Sharing applet</description>
>         <description kind="short">A File to grab a screen and send it to a
> Server</description>
>         <offline-allowed/>
>     </information>
>     <security>
>         <all-permissions/>
>     </security>
>     <resources>
>         <j2se version='1.7+'/>
>
>     <jar href="openmeetings-screenshare-3.1.0-SNAPSHOT.jar" main="true"/>
>     <jar href="red5-client-1.0.6-RELEASE.jar"/>
>     <jar href="red5-server-common-1.0.6-RELEASE.jar"/>
>     <jar href="commons-collections-3.2.1.jar"/>
>     <jar href="quartz-2.2.1.jar"/>
>     <jar href="red5-io-1.0.6-RELEASE.jar"/>
>     <jar href="slf4j-api-1.7.9.jar"/>
>     <jar href="logback-core-1.1.2.jar"/>
>     <jar href="logback-classic-1.1.2.jar"/>
>     <jar href="bcprov-jdk15on-1.52.jar"/>
>     <jar href="commons-beanutils-1.9.2.jar"/>
>     <jar href="commons-codec-1.9.jar"/>
>     <jar href="httpcore-4.4.jar"/>
>     <jar href="httpclient-4.4.jar"/>
>     <jar href="commons-lang3-3.3.2.jar"/>
>     <jar href="jcl-over-slf4j-1.7.9.jar"/>
>     <jar href="spring-beans-4.1.7.RELEASE.jar"/>
>     <jar href="spring-context-4.1.7.RELEASE.jar"/>
>     <jar href="ehcache-core-2.5.0.jar"/>
>     <jar href="mina-core-2.0.8.jar"/>
>     <jar href="spring-core-4.1.7.RELEASE.jar"/>
>
>     </resources>
>     <application-desc
> main-class='org.apache.openmeetings.screen.webstart.CoreScreenShare'>
>         <argument>rtmp://https://<Our
> FQDN:1935>/<Reverse_Proxy_sub-domain>/5</argument>
>         <argument>1</argument>
> <argument>416d2ecdf0380423b86e4b183c26a5b5</argument>
>         <argument><![CDATA[Desktop sharer;Click Start to publish your
> screen;Start sharing;Pause sharing;Select your screen area:;Change
> width;Change height;X-Offset;Y-Offset;Width:;Height:;Connection was closed
> by server;Show mouse position to viewers;Recording;You may record and share
> your screen at the same time. To enable others to see your screen just hit
> the start button on the top.;Start recording;Stop recording;Close;Quality
> of the screen share:;Very high quality;High quality;Medium quality;Low
> quality;Publish;Start Publish;Stop Publish;Host;Publish App;Publish
> Id;Reduce the width of the SharingScreen before you try to move it
> left;Reduce the height of the SharingScreen before you try to move it
> bottom;Reduce the x of the SharingScreen before you try to make it
> wider;Reduce the y of the SharingScreen before you try to make it
> higher;Fill these settings stream your screen data to 3th party providers
> like justin.tv;Please start Screen sharing to be able to publish
> it;Moderator permission required to start recording;Notify on
> disconnect;Security;Allow Remote Control (during screen
> sharing)]]></argument>
>         <argument>1</argument>
>         <argument>10</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>--dummy--</argument>
>         <argument>--dummy--</argument>
>     </application-desc>
> </jnlp>
>
> Exception
> com.sun.deploy.net.FailedDownloadException: Unable to load resource:
> https://<Our
> FQDN>/<Reverse_Proxy_sub-domain>/screenshare/openmeetings-screenshare-3.1.0-SNAPSHOT.jar
>     at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
>     at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
>     at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown
> Source)
>     at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown
> Source)
>     at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
>     at java.util.concurrent.FutureTask.run(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
>
>
> Wrapped Exception
> java.io.IOException: Server returned HTTP response code: 503 for URL:
> https://<Our
> FQDN>/<Reverse_Proxy_sub-domain>/screenshare/openmeetings-screenshare-3.1.0-SNAPSHOT.jar
>     at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown
> Source)
>     at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown
> Source)
>     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
>     at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.security.AccessController.doPrivilegedWithCombiner(Unknown
> Source)
>     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
>     at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown
> Source)
>     at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
>     at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
>     at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
>     at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
>     at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
>     at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
>     at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown
> Source)
>     at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown
> Source)
>     at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
>     at java.util.concurrent.FutureTask.run(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
> == == == ==
>
> public_5.jnlp
> +++++++++
>
> <?xml version='1.0' encoding='utf-8'?>
> <!------- Omitting the standard Apache license text, which please consider
> implied ----- -->
>
> <jnlp spec="1.0+" codebase="https://<Our
> FQDN>/<Reverse_Proxy_sub-domain>/screenshare">
>     <information>
>         <title>Openmeetings Screen Sharing applet</title>
>         <vendor>OpenMeetings</vendor>
> <homepage>http://apache.org</homepage>
>         <icon href="icon.jpg" />
>         <icon kind="splash" href="splashicon.jpg" />
>         <description>Openmeetings Screen Sharing applet</description>
>         <description kind="short">A File to grab a screen and send it to a
> Server</description>
>         <offline-allowed/>
>     </information>
>     <security>
>         <all-permissions/>
>     </security>
>     <resources>
>         <j2se version='1.7+'/>
>
>     <jar href="openmeetings-screenshare-3.1.0-SNAPSHOT.jar" main="true"/>
>     <jar href="red5-client-1.0.6-RELEASE.jar"/>
>     <jar href="red5-server-common-1.0.6-RELEASE.jar"/>
>     <jar href="commons-collections-3.2.1.jar"/>
>     <jar href="quartz-2.2.1.jar"/>
>     <jar href="red5-io-1.0.6-RELEASE.jar"/>
>     <jar href="slf4j-api-1.7.9.jar"/>
>     <jar href="logback-core-1.1.2.jar"/>
>     <jar href="logback-classic-1.1.2.jar"/>
>     <jar href="bcprov-jdk15on-1.52.jar"/>
>     <jar href="commons-beanutils-1.9.2.jar"/>
>     <jar href="commons-codec-1.9.jar"/>
>     <jar href="httpcore-4.4.jar"/>
>     <jar href="httpclient-4.4.jar"/>
>     <jar href="commons-lang3-3.3.2.jar"/>
>     <jar href="jcl-over-slf4j-1.7.9.jar"/>
>     <jar href="spring-beans-4.1.7.RELEASE.jar"/>
>     <jar href="spring-context-4.1.7.RELEASE.jar"/>
>     <jar href="ehcache-core-2.5.0.jar"/>
>     <jar href="mina-core-2.0.8.jar"/>
>     <jar href="spring-core-4.1.7.RELEASE.jar"/>
>
>     </resources>
>     <application-desc
> main-class='org.apache.openmeetings.screen.webstart.CoreScreenShare'>
>         <argument>rtmp://https://<Our
> FQDN:1935>/<Reverse_Proxy_sub-domain>/5</argument>
>         <argument>1</argument>
> <argument>ef0088e7866cdc9bac53ac294eb6d2e1</argument>
>         <argument><![CDATA[Desktop sharer;Click Start to publish your
> screen;Start sharing;Pause sharing;Select your screen area:;Change
> width;Change height;X-Offset;Y-Offset;Width:;Height:;Connection was closed
> by server;Show mouse position to viewers;Recording;You may record and share
> your screen at the same time. To enable others to see your screen just hit
> the start button on the top.;Start recording;Stop recording;Close;Quality
> of the screen share:;Very high quality;High quality;Medium quality;Low
> quality;Publish;Start Publish;Stop Publish;Host;Publish App;Publish
> Id;Reduce the width of the SharingScreen before you try to move it
> left;Reduce the height of the SharingScreen before you try to move it
> bottom;Reduce the x of the SharingScreen before you try to make it
> wider;Reduce the y of the SharingScreen before you try to make it
> higher;Fill these settings stream your screen data to 3th party providers
> like justin.tv;Please start Screen sharing to be able to publish
> it;Moderator permission required to start recording;Notify on
> disconnect;Security;Allow Remote Control (during screen
> sharing)]]></argument>
>         <argument>1</argument>
>         <argument>10</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>true</argument>
>         <argument>--dummy--</argument>
>         <argument>--dummy--</argument>
>     </application-desc>
> </jnlp>
>
> == == == ==
>
>
> Thank you.
>
> Sincerely,
>
> Susheel Jalali
> Coscend Communications Solutions
> www.Coscend.com
> ----------------------------------------------------------------
>
> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
> Messages from Coscend Communications Solutions' posted at:
> http://www.Coscend.com/Terms_and_Conditions.html
>
>
>
>


-- 
WBR
Maxim aka solomax

Reply via email to