[OPEN-ILS-DEV] websockets testers needed

Warren A. Layton warren.layton at gmail.com
Wed Mar 12 06:42:20 EDT 2014


Hi Bill,

The OpenSRF install doesn't appear to be creating those symlinks, even with
an `autoreconf -i`. In fact, OpenSRF doesn't appear to create anything
under /openils/var/web. The web folder doesn't exist unless I also install
Evergreen, at which time symlinks are created for the other JS files, but
not for opensrf_ws_shared.js.

Warren




On Mon, Mar 10, 2014 at 8:50 AM, Bill Erickson <berick at esilibrary.com>wrote:

>
>
> On Sun, Mar 9, 2014 at 9:09 PM, Warren A. Layton <warren.layton at gmail.com>wrote:
>
>> Sorry -- I hit send too quickly. Here is the screenshot of Chrome's
>> Javascript console with the error displayed, as promised.
>>
>> As I said the added symlink resolves this.
>>
>> Cheers,
>>   Warren
>>
>>
>> On Sun, Mar 9, 2014 at 9:08 PM, Warren A. Layton <warren.layton at gmail.com
>> > wrote:
>>
>>> 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.
>>>
>>
> Good catch.  I've pushed your patch to the working branch.
>
>
>>
>>> 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`
>>>
>>
> Hmm, the OpenSRF install should be doing this for you.  I just confirmed
> on my test server. Maybe try an "autoreconf -i" before configure/make?
>
> Thanks, Warren!
>
> -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/20140312/e3cb6fd2/attachment.htm>


More information about the Open-ils-dev mailing list