<div dir="ltr">Sorry to catch up so late but the possible reason why it was not working before was the file generated does not have the same format.<div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Dec 3, 2013 at 1:07 PM, Bogdan Daqui Herrera <span dir="ltr">&lt;<a href="mailto:bdaqui@simscale.de" target="_blank">bdaqui@simscale.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sebastian,<br>
<br>
I have switched to Apache-2.4.7 and used the second configuration, as<br>
you recommended. It works now exactly as expected.<br>
<br>
Thanks for the help!<br>
<div class="im">Bogdan<br>
<br>
On 03.12.2013 15:55, Sebastien Jourdain wrote:<br>
</div><div class="im">&gt; Are you using Apache 2.4+ ? There is 2 ways to do web socket forwarding<br>
&gt; with Apache.<br>
&gt;<br>
&gt; <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_setup" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/apache_setup</a><br>
&gt;<br>
&gt; and<br>
&gt;<br>
&gt; <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2</a><br>

&gt;<br>
&gt; But I would recommend the second one if you can choose.<br>
&gt;<br>
&gt; Seb<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Dec 3, 2013 at 7:26 AM, Bogdan Daqui Herrera &lt;<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi Seb,<br>
&gt;<br>
&gt;     A follow-up on this. The session map file is created and it is written<br>
&gt;     correctly, so I can say the original issue is solved. However I am still<br>
&gt;     having some problems with the rest of the setup for the following<br>
&gt;     scenario:<br>
&gt;<br>
&gt;     -Apache Front-end serving a page through an SSL secured connection on<br>
&gt;     port 443.<br>
&gt;     -Jetty session manager working on the server on ports 9000-9100 (which<br>
&gt;     are of course not encrypted, but are behind the apache front-end).<br>
&gt;     -The session url is specifiend in the default-config.properties file as:<br>
&gt;     pw.factory.session.url.generator.pattern=ws://mydomain:443/proxy?sessionId=SESSION_ID<br>
&gt;<br>
&gt;     This does not work, though. There is no reaction on the browser and no<br>
&gt;     visible error message in the server logs. Changing to wss, yields a<br>
&gt;     connection which is closed instantly.<br>
&gt;<br>
&gt;     If however generate the sessionURL on port 9000 (unencrypted) the remote<br>
&gt;     browser-based paraview session works with most browsers, except Firefox,<br>
&gt;     which gives a security error due to the https-ws(unsecured socket)<br>
&gt;     combination.<br>
&gt;<br>
&gt;     My assumption is that with the Apache front-end all traffic would be<br>
&gt;     channelled through port 443 and the session manager would interact only<br>
&gt;     with it, not with the browser directly.<br>
&gt;<br>
&gt;     Thanks again for the kind replies!<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     On 26.11.2013 17:31, Sebastien Jourdain wrote:<br>
&gt;     &gt; The answer is available in that online guide<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/paraviewweb_on_aws_ec2</a><br>

&gt;     &gt;<br>
&gt;     &gt; In this section:<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     |pw.factory.proxy.adapter=com.kitware.paraviewweb.external.ApacheModRewriteMapFileConnectionAdapter|<br>
&gt;     &gt;<br>
&gt;     &gt; |<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     |pw.factory.proxy.adapter.file=/opt/apache-2.4.6/pv-mapping-file/mapping.txt|<br>
&gt;     &gt;<br>
&gt;     &gt; |<br>
&gt;     &gt; Seb<br>
&gt;     &gt;<br>
&gt;     &gt; On Tue, Nov 26, 2013 at 9:22 AM, Bogdan Daqui Herrera<br>
&gt;     &gt; &lt;<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
</div></div><div><div class="h5">&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;     Hello all,<br>
&gt;     &gt;<br>
&gt;     &gt;     I am also testing a deployment of ParaviewWeb with the Apache<br>
&gt;     front-end<br>
&gt;     &gt;     and am encountering a problem with the configuration.<br>
&gt;     &gt;<br>
&gt;     &gt;     The guide describing the process makes reference to the file<br>
&gt;     &gt;     session.map, which should be generated by the session manager.<br>
&gt;     &gt;<br>
&gt;     &gt;     The session manager does not generate one by default and have been<br>
&gt;     &gt;     unable to find how and where in the settings its path can be<br>
&gt;     written or<br>
&gt;     &gt;     whether it has to be created.<br>
&gt;     &gt;<br>
&gt;     &gt;     Looking through the source code of the session manager, there<br>
&gt;     are two<br>
&gt;     &gt;     classes that should generate this file:<br>
&gt;     JsonFileProxyConnectionAdapter<br>
&gt;     &gt;     and ApacheModRewriteMapFileConnectionAdapter.<br>
&gt;     &gt;<br>
&gt;     &gt;     Could you please help me with a quick explanation of how to<br>
&gt;     configure<br>
&gt;     &gt;     the session manager so the session.map file is generated?<br>
&gt;     &gt;<br>
&gt;     &gt;     Kind regards,<br>
&gt;     &gt;     Bogdan Daqui<br>
&gt;     &gt;<br>
&gt;     &gt;     --<br>
&gt;     &gt;     Bogdan Daqui<br>
&gt;     &gt;     Software Development<br>
&gt;     &gt;<br>
&gt;     &gt;     SimScale GmbH<br>
&gt;     &gt;     Lichtenbergstraße 8<br>
&gt;     &gt;     85748 Garching bei München<br>
&gt;     &gt;<br>
&gt;     &gt;     Phone: <a href="tel:%2B49%20%280%2989%203398%204078" value="+498933984078">+49 (0)89 3398 4078</a><br>
&gt;     &lt;tel:%2B49%20%280%2989%203398%204078&gt;<br>
&gt;     &lt;tel:%2B49%20%280%2989%203398%204078&gt;<br>
&gt;     &gt;     Email: <a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;<br>
</div></div>&gt;     &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a> &lt;mailto:<a href="mailto:bdaqui@simscale.de">bdaqui@simscale.de</a>&gt;&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;     &gt;<br>
&gt;     &gt;     Amtsgericht München, HRB 201813<br>
&gt;     &gt;     Geschäftsführer: Vincenz Dölle &amp; David Heiny<br>
&gt;     &gt;<br>
&gt;     &gt;     <a href="http://www.simscale.de" target="_blank">http://www.simscale.de</a><br>
&gt;     &gt;     _______________________________________________<br>
&gt;     &gt;     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;     &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     Visit other Kitware open-source projects at<br>
&gt;     &gt;     <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;     &gt;<br>
&gt;     &gt;     Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;     &gt;     <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;     &gt;<br>
&gt;     &gt;     Follow this link to subscribe/unsubscribe:<br>
&gt;     &gt;     <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>