<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ronald<div><br></div><div>It looks like the webserver started successfully.</div><div><br></div><div>I suspect you require to configure the out of the box setup to listen for webadmin and webclient connections on different host configure the following:</div><li><blockquote><p>Configure the following in <code>~/Desktop/omero/etc/grid/templates.xml</code> by adding after --noreload:</p></blockquote><pre><code><server-template id="WebTemplate">
<parameter name="act" default="on-demand"/>
<server id="Web" exe="python" activation="${act}" pwd="${OMEROPY_HOME}omeroweb">
<option>manage.py</option>
<option>runserver</option>
<option>--noreload</option>
<option>0.0.0.0:8000</option><!-- your ip & port here -->
<env>${PYTHONPATH}</env>
<adapter name="WebAdapter" register-process="true" endpoints="tcp" server-lifetime="false"/>
</server>
</server-template>
</code></pre><blockquote><p>In your <code>~/Desktop/omero/lib/python/omero/plugins/</code> directory configure the following in <code>server.py</code>:</p></blockquote><pre><code>django = ["python","manage.py","runserver","0.0.0.0:8000","--noreload"]+list(args)</code></pre></li><div>Thanks</div><div>Ola</div><div><br></div><div><br></div><div><div>On 12 May 2010, at 00:00, Taylor, Ronald C wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><font face="Tahoma, sans-serif" size="3"><div style="padding-left: 72pt; text-indent: -72pt; "> </div><div> </div><div><font face="Arial, sans-serif" size="2">Hello,</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Arial, sans-serif" size="2">In addition to my problem about the Omero Java client not coming up (see separate, earlier email), I also cannot get the Omero web server to come up on port 8000 on my desktop (sidney.pnl.gov). So I could also use some help with that.</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Arial, sans-serif" size="2">Omero web settings were set like so - which appeared to work fine:</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Courier New, monospace">sidney85% omero web settings</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please enter the domain you want to run OMERO.web on (<a href="http://www.domain.com:8000/):http://sidney.pnl.gov:8000"><font color="#0000FF"><u>http://www.domain.com:8000/):http://sidney.pnl.gov:8000</u></font></a></font></div><div><font face="Courier New, monospace">Please enter the Email address you want to send from (<a href="mailto:omero_admin@example.com">omero_admin@example.com</a>):<span class="Apple-converted-space"> </span><a href="mailto:ronald.taylor@pnl.gov">ronald.taylor@pnl.gov</a><span class="Apple-converted-space"> </span>Please enter the SMTP server host you want to send from (smtp.example.com): mailhost.emsl.pnl.gov</font></div><div><font face="Courier New, monospace">Optional: please enter the SMTP server port (default 25):</font></div><div><font face="Courier New, monospace">Optional: Please enter the SMTP server username:</font></div><div><font face="Courier New, monospace">Optional: Password:</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Optional: TSL? (yes/no):</font></div><div><font face="Courier New, monospace">Saved to /sid/Omero/Omero_install/omero_dist/lib/python/omeroweb/custom_settings.py</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please enter Username for OMERO.web administrator: rtaylor Please enter Email address:<span class="Apple-converted-space"> </span><a href="mailto:ronald.taylor@pnl.gov">ronald.taylor@pnl.gov</a><span class="Apple-converted-space"> </span>Please enter password for OMERO.web administrator: r*****9</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please re-enter password for OMERO.web administrator: r*****9</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"><string>:36: DeprecationWarning: the sha module is deprecated; use the hashlib module instead Saved to /sid/Omero/Omero_install/omero_dist/lib/python/omeroweb/initial_data.json</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Database synchronization...</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Creating table django_admin_log</font></div><div><font face="Courier New, monospace">Creating table auth_permission</font></div><div><font face="Courier New, monospace">Creating table auth_group</font></div><div><font face="Courier New, monospace">Creating table auth_user</font></div><div><font face="Courier New, monospace">Creating table auth_message</font></div><div><font face="Courier New, monospace">Creating table django_content_type</font></div><div><font face="Courier New, monospace">Creating table django_session</font></div><div><font face="Courier New, monospace">Creating table django_site</font></div><div><font face="Courier New, monospace">Creating table feedback_emailtemplate</font></div><div><font face="Courier New, monospace">Creating table webadmin_gateway</font></div><div><font face="Courier New, monospace">Installing index for admin.LogEntry model Installing index for auth.Permission model Installing index for auth.Message model Installing json fixture 'initial_data' from absolute path.</font></div><div><font face="Courier New, monospace">Installed 2 object(s) from 1 fixture(s)</font></div><div><font face="Courier New, monospace">OMERO.web was configured successful. Please start the application.</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">sidney86%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">I next invoked ICE and started the OMERO web server, like so:</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">sidney294% omero admin ice</font></div><div><font face="Courier New, monospace">Ice 3.4.0 Copyright 2003-2010 ZeroC, Inc.</font></div><div><font face="Courier New, monospace">>>> server enable web</font></div><div><font face="Courier New, monospace">error: couldn't find server `web'</font></div><div><font face="Courier New, monospace">>>></font></div><div><font face="Courier New, monospace">>>> server enable Web</font></div><div><font face="Courier New, monospace">>>></font></div><div><font face="Courier New, monospace">>>> server start Web</font></div><div><font face="Courier New, monospace">>>></font></div><div><font face="Courier New, monospace">>>> server state Web</font></div><div><font face="Courier New, monospace">active (pid = 7269, enabled)</font></div><div><font face="Courier New, monospace">>>></font></div><div><font face="Courier New, monospace">>>> exit</font></div><div><font face="Courier New, monospace">sidney295%</font></div><div><font face="Courier New, monospace">sidney295%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Arial, sans-serif" size="2">That appeared to work OK, too. I also checked on port 8000 - it is open.</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Arial, sans-serif" size="2">However, when I point my browser to</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Arial, sans-serif" size="2"> <span class="Apple-converted-space"> </span><a href="http://sidney.pnl.gov:8000"><font color="#0000FF"><u>http://sidney.pnl.gov:8000</u></font></a></font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> </font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF">My browser says that it connot connect. What is going wrong?</font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> </font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> - Ron Taylor</font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> </font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF">PS -<span class="Apple-converted-space"> </span><font color="#000000">Though I gave the results of a "omero adimin diagnostics" run in the earlier email, I repeat it here at bottom for easy reference.</font></font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> </font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF"> </font></div><div><font face="Arial, sans-serif" size="2" color="#0000FF">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Arial, sans-serif" size="2">Diagnostic run:</font></div><div><font face="Arial, sans-serif" size="2"> </font></div><div><font face="Courier New, monospace">sidney87% omero admin diagnostics</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">================================================================================</font></div><div><font face="Courier New, monospace">OMERO Diagnostics Beta-4.1.1-r5927-b91</font></div><div><font face="Courier New, monospace">================================================================================</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Commands: java -version 1.6.0 (/msrc/apps/jdk_1.6/bin/java -- 2 others)</font></div><div><font face="Courier New, monospace">Commands: python -V 2.6.5 (/sid/Omero/Python/bin/python -- 2 others)</font></div><div><font face="Courier New, monospace">Commands: icegridnode --version 3.4.0 (/sid/Omero/Ice/Ice-3.4.0/bin/icegridnode)</font></div><div><font face="Courier New, monospace">Commands: icegridadmin --version 3.4.0 (/sid/Omero/Ice/Ice-3.4.0/bin/icegridadmin)</font></div><div><font face="Courier New, monospace">Commands: psql --version 8.3.10 (/sid/Omero/Postgres/8.3/bin/psql)</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Server: icegridnode running</font></div><div><font face="Courier New, monospace">Server: Blitz-0 active (pid = 7016, enabled)</font></div><div><font face="Courier New, monospace">Server: DropBox inactive (disabled)</font></div><div><font face="Courier New, monospace">Server: FSServer active (pid = 7029, enabled)</font></div><div><font face="Courier New, monospace">Server: Indexer-0 active (pid = 7031, enabled)</font></div><div><font face="Courier New, monospace">Server: OMERO.Glacier2 active (pid = 7034, enabled)</font></div><div><font face="Courier New, monospace">Server: OMERO.IceStorm inactive (disabled)</font></div><div><font face="Courier New, monospace">Server: Processor-0 inactive (disabled)</font></div><div><font face="Courier New, monospace">Server: Tables-0 inactive (disabled)</font></div><div><font face="Courier New, monospace">Server: TestDropBox inactive (enabled)</font></div><div><font face="Courier New, monospace">Server: Web active (pid = 7774, enabled)</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Log dir: /sid/Omero/Omero_install/omero_dist/var/log exists</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Log files: Blitz-0.log 44.0 KB errors=2 warnings=34 </font></div><div><font face="Courier New, monospace">Log files: DropBox.log n/a</font></div><div><font face="Courier New, monospace">Log files: FSServer.log 2.0 KB errors=0 warnings=12 </font></div><div><font face="Courier New, monospace">Log files: Indexer-0.log 3.0 KB errors=0 warnings=2 </font></div><div><font face="Courier New, monospace">Log files: OMEROweb.log 0.0 KB </font></div><div><font face="Courier New, monospace">Log files: OMEROweb.log.2010-05-11 0.0 KB </font></div><div><font face="Courier New, monospace">Log files: Processor-0.log n/a</font></div><div><font face="Courier New, monospace">Log files: Tables-0.log n/a</font></div><div><font face="Courier New, monospace">Log files: TestDropBox.log n/a</font></div><div><font face="Courier New, monospace">Log files: master.err 6.0 KB errors=0 warnings=4 </font></div><div><font face="Courier New, monospace">Log files: master.out 0.0 KB </font></div><div><font face="Courier New, monospace">Log files: Total size 0.06 MB</font></div><div><font face="Courier New, monospace">sidney88%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">I<span class="Apple-converted-space"> </span><font face="Arial, sans-serif" size="2" color="#0000FF">also<span class="Apple-converted-space"> </span></font>set the<font face="Arial, sans-serif" size="2" color="#0000FF"><span class="Apple-converted-space"> </span>Omero web parameters,<span class="Apple-converted-space"> </span></font>like so:</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">sidney85% omero web settings</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please enter the domain you want to run OMERO.web on (<a href="http://www.domain.com:8000/):http://sidney.pnl.gov:8000"><font color="#0000FF"><u>http://www.domain.com:8000/):http://sidney.pnl.gov:8000</u></font></a></font></div><div><font face="Courier New, monospace">Please enter the Email address you want to send from (<a href="mailto:omero_admin@example.com">omero_admin@example.com</a>):<span class="Apple-converted-space"> </span><a href="mailto:ronald.taylor@pnl.gov">ronald.taylor@pnl.gov</a><span class="Apple-converted-space"> </span>Please enter the SMTP server host you want to send from (smtp.example.com): mailhost.emsl.pnl.gov</font></div><div><font face="Courier New, monospace">Optional: please enter the SMTP server port (default 25):</font></div><div><font face="Courier New, monospace">Optional: Please enter the SMTP server username:</font></div><div><font face="Courier New, monospace">Optional: Password:</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Optional: TSL? (yes/no):</font></div><div><font face="Courier New, monospace">Saved to /sid/Omero/Omero_install/omero_dist/lib/python/omeroweb/custom_settings.py</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please enter Username for OMERO.web administrator: rtaylor</font></div><div><font face="Courier New, monospace">Please enter Email address:<span class="Apple-converted-space"> </span><a href="mailto:ronald.taylor@pnl.gov">ronald.taylor@pnl.gov</a></font></div><div><font face="Courier New, monospace">Please enter password for OMERO.web administrator: r*****9</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Please re-enter password for OMERO.web administrator: r*****9</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"><string>:36: DeprecationWarning: the sha module is deprecated; use the hashlib module instead</font></div><div><font face="Courier New, monospace">Saved to /sid/Omero/Omero_install/omero_dist/lib/python/omeroweb/initial_data.json</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Database synchronization...</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">Creating table django_admin_log</font></div><div><font face="Courier New, monospace">Creating table auth_permission</font></div><div><font face="Courier New, monospace">Creating table auth_group</font></div><div><font face="Courier New, monospace">Creating table auth_user</font></div><div><font face="Courier New, monospace">Creating table auth_message</font></div><div><font face="Courier New, monospace">Creating table django_content_type</font></div><div><font face="Courier New, monospace">Creating table django_session</font></div><div><font face="Courier New, monospace">Creating table django_site</font></div><div><font face="Courier New, monospace">Creating table feedback_emailtemplate</font></div><div><font face="Courier New, monospace">Creating table webadmin_gateway</font></div><div><font face="Courier New, monospace">Installing index for admin.LogEntry model Installing index for auth.Permission model Installing index for auth.Message model Installing json fixture 'initial_data' from absolute path.</font></div><div><font face="Courier New, monospace">Installed 2 object(s) from 1 fixture(s)</font></div><div><font face="Courier New, monospace">OMERO.web was configured successful. Please start the application.</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">sidney86%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Courier New, monospace">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</font></div><div><font face="Courier New, monospace"> </font></div><div><font face="Arial, sans-serif" size="2" color="#D47500">___________________________________________</font></div><div><font face="Verdana, sans-serif" size="2">Ronald Taylor, Ph.D.</font></div><div><font face="Verdana, sans-serif" size="2">Computational Biology & Bioinformatics Group</font></div><div><font face="Verdana, sans-serif" size="2">Pacific Northwest National Laboratory</font></div><div><font face="Verdana, sans-serif" size="2">902 Battelle Boulevard</font></div><div><font face="Verdana, sans-serif" size="2">P.O. Box 999, Mail Stop J4-33</font></div><div><font face="Verdana, sans-serif" size="2">Richland, WA 99352 USA</font></div><div><font face="Verdana, sans-serif" size="2">Office: 509-372-6568</font></div><div><font face="Verdana, sans-serif" size="2">Email:<span class="Apple-converted-space"> </span><a href="mailto:ronald.taylor@pnl.gov">ronald.taylor@pnl.gov</a></font></div><div><font face="Verdana, sans-serif" size="2"> </font></div><div><font face="Courier New, monospace"> </font></div></font>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br></div></span></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks</div><div>Ola</div></div></span> </div><br></body></html>