[OPEN-ILS-DEV] websockets testers needed

Warren A. Layton warren.layton at gmail.com
Sun Mar 9 21:08:00 EDT 2014


Hi Bill,

Just starting to go through the README.websockets file and noticed a small
typo. After copying the apache2.conf file to /etc/apache2-websockets/,
there are the following commented lines:

# OPTIONAL: add these configuration variables to
# /etc/init.d/apache2-websockets/envvars and adjust as needed.

I believe that the path in second line should be
"/etc/apache2-websockets/envvars" instead of
"/etc/init.d/apache2-websockets/envvars".

I made one other little change in the description of the last step, too. A
diff is attached.

I actually managed to see the alerts but I had to overcome one small
obstacle. Although the static content was displayed, the
opensrf_ws_shared.js file wasn't found (see attached screenshot).

Simply adding a symlink with the following command did the trick:
 `ln -s /openils/lib/javascript/opensrf_ws_shared.js
/openils/var/web/js/dojo/opensrf/opensrf_ws_shared.js`

With that in place, the alerts were displayed as advertized.

If there's anything that I can test, please let me know.

Cheers,
  Warren



On Fri, Mar 7, 2014 at 3:39 PM, Bill Erickson <berick at esilibrary.com> wrote:

>
> Hi all,
>
> https://bugs.launchpad.net/opensrf/+bug/1268619 has reached a fairly
> stable state and I'd like for someone who != me to install and test the
> Apache gateway.  I've boiled the apache setup down to just a few steps and
> I've included a sample test in the LP notes (see last two entries).
>
> Thanks in advance to any brave souls.  Holler at me if you have any issues.
>
> -b
>
> --
> Bill Erickson
> | Senior Software Developer
> | phone: 877-OPEN-ILS (673-6457)
> | email: berick at esilibrary.com
> | web: http://esilibrary.com
> | Equinox Software, Inc. / The Open Source Experts
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20140309/995442b1/attachment.htm>
-------------- next part --------------
diff --git a/README.websockets b/README.websockets
index 639e080..69a56c0 100644
--- a/README.websockets
+++ b/README.websockets
@@ -22,7 +22,7 @@ Websockets installation instructions for Debian
 % cp /path/to/OpenSRF/examples/apache2/websockets/apache2.conf /etc/apache2-websockets/
 
 # OPTIONAL: add these configuration variables to
-# /etc/init.d/apache2-websockets/envvars and adjust as needed.
+# /etc/apache2-websockets/envvars and adjust as needed.
 # export OSRF_WEBSOCKET_IDLE_TIMEOUT=60
 # export OSRF_WEBSOCKET_IDLE_CHECK_INTERVAL=5
 # export OSRF_WEBSOCKET_CONFIG_FILE=/openils/conf/opensrf_core.xml
@@ -41,6 +41,6 @@ Websockets installation instructions for Debian
 # CONFIG_FILE / CTXT are the standard opensrf core config options.
 
 # After OpenSRF is up and running (or after any re-install),
-# fire up the secondary Apache instance errors will appear in
+# fire up the secondary Apache instance. Errors will appear in
 # /var/log/apache2-websockets/error.log
 % /etc/init.d/apache2-websockets start


More information about the Open-ils-dev mailing list