OSERL 3 Relesed

Help
2009-11-12
2013-05-21
  • Finally here.  Version 3 is now available, upgrading from previous versions is highly recommended.

    Includes major changes in gen_esme.erl and gen_mc.erl behaviours.  They are much more useful now.  Some of the major features added:

    - Priority queues (memory and disk, not distributed queues yet though… planned for next version).
    - Throttling control
    - Complete new APIs
    - Cleaner logs

    Documentation is currently available in man format only.

    erl -man doc/man/oserl.1
    erl -man doc/man/gen_esme.1

    and so on.

    Comments are always appreciated.  Enjoy.

    Quique

     
  • Robert Mircea
    Robert Mircea
    2009-11-15

    Quique,

    It seems I cannot run sample_esme example application:

    I keep receiving:

            2> sample_esme:start_link().
        ** exception exit: undef
        in function  cl_queue_srv:start_link/0
        called as cl_queue_srv:start_link()
        in call from gen_esme:init/1
        in call from gen_server:init_it/6
        in call from proc_lib:init_p_do_apply/3

    Can it be related to the fact that I am getting the following warnings while compiling oserl?

        erlc -Wall -I include -I .. -o ebin src/gen_esme.erl
        src/gen_esme.erl:31: Warning: behaviour gen_esme_session undefined
        erlc -Wall -I include -I .. -o ebin src/gen_esme_session.erl
        erlc -Wall -I include -I .. -o ebin src/gen_mc.erl
        src/gen_mc.erl:31: Warning: behaviour gen_mc_session undefined
        erlc -Wall -I include -I .. -o ebin src/gen_mc_session.erl
        …

     
  • Hi,

    Are you adding the common_lib to code path?   Please try this exact sequence and let me know the outcome:

        ~/lib/erlang/oserl/doc/examples$ erl -pa ../../../common_lib/ebin -pa ../../ebin
        Erlang R13B (erts-5.7.1)    
       
        Eshell V5.7.1  (abort with ^G)
        1> application:start(common_lib).
        ok
        2> l(sample_esme).
        {module,sample_esme}
        3> sample_esme:start_link().
        {ok,<0.41.0>}
        4>