Forum OpenACS Development: Complete Jabber Package for Openacs

In the file storage you find an apm (Complet Jabber package jabber-0.3a.apm) , including everything you need to let the Jabber Package work , including all c-sources (Read the file discription ).
Read the file description and the package documentation for installation support.

Happy Eastern.
Bjoern

Collapse
Posted by Bjoern Kiesbye on
Here is the  Url to download the package.

https://openacs.org/storage/download/jabber-0.3a.apm?version_id=93092

Bjoern

Collapse
Posted by Ben Koot on
Bjorn,

We just installed Jabber. Here's the error message I get when trying to access. What did we miss?

Request Error
invalid command name "jb_start_conference_room_for_group_url"
    while executing
"jb_start_conference_room_for_group_url 15331"
    invoked from within
"set url_to_conference_group [jb_start_conference_room_for_group_url 15331]"
    ("uplevel" body line 33)
    invoked from within
"uplevel {
          ad_page_contract {


    @cvs-id index.tcl,
    @creation-date 25/8/02
    @author mailto:bkiesbye@sussdorff-roy.com
    @author lmostei..."
    (procedure "code::tcl::/web/snorri/packages/jabber/www/index" line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    $handler
      } ad_script_abort val {
    # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    rp_serve_abstract_file "$root/$path"
    set tcl_url2file([ad_conn url]) [ad_conn file]
    set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."

--------------------------------------------------------------------------------

Collapse
Posted by Ben Koot on
Do we understand it correctly we will have to recompile AOL server? Because that will mean our Virtual Hosting set-up will be be messed up or is there an alternative?
Thanks
Collapse
Posted by Malte Sussdorff on
AFAIR you only need to compile the jabber module from the same sources you compiled the AOLserver from. And then copy it over to your aolserver bin directory.
Collapse
Posted by Hans Gaasenbeek on
In the jabber/sql dir I only see an Oracle dir.
Collapse
Posted by Hans Gaasenbeek on
In the jabber/sql dir, only an "Oracle" dir is present.
Collapse
Posted by martin hebrank on
I'm working on porting it to postgres right now. . .It's getting close.
Collapse
Posted by Bjoern Kiesbye on
At the moment only oracle is supported.
Collapse
Posted by Bjoern Kiesbye on
Hi Ben,
incase that you don't have your aolserver sources anymore,
you can try to compile the nsjabber module in the aolserver instalation path  (/usr/local/aolserver).
Most aolserver instalation scripts copy the needed sources, to compiele modules, into the aolserver instalation path.

That would be:
<blockquote>cp nsjabber-x.x.x.tar.gz /usr/local/aolserver
tar -xzvf nsjabber-x.x.x.tar.gz
cd /usr/local/aolserver/nsjabber/bin
make install
</blockquote>

Good luck.

Collapse
Posted by Neophytos Demetriou on
Bjoern, I'm trying to load nsjabber into my aolserver installation but without any success. Here's the message I get in the server log (3.4.2 on RH 8.0):

[01/May/2003:12:02:43][3543.8192][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsjabber.so'
[01/May/2003:12:02:43][3543.8192][-main-] Warning: modload: failed to load '/usr/local/aolserver/bin/nsjabber.so': '/usr/local/aolserver/bin/nsjabber.so: undefined symbol: JABBER_Dbml_Direckt'
[01/May/2003:12:02:43][3543.8192][-main-] Fatal: modload: failed to load module
'/usr/local/aolserver/bin/nsjabber.so'

Any suggestions?

Collapse
Posted by Bjoern Kiesbye on
I uploaded a patch to fix this problem.

https://openacs.org/storage/download/nsjabber-patch-1.tar.gz?version_id=97881

Tomorrow I will uploaed a new JabberApplet (java 1.1 compliant) that will suport Conferencing.

Collapse
Posted by Neophytos Demetriou on
Bjoern, thank you very much. The patch works fine. I'm still having some trouble with my installation but that's due to the experiments I've been doing -- the package looks great. Thank you very much for releasing it.

The default jabber applet works for conferencing (I'm talking about some other jabber installation I have where's there's no connection with aolserver). All I had to do is use conferencing V2 rather than 0.4.

Collapse
Posted by Bjoern Kiesbye on
You should stick to conferencing 0.4 (from the jabber.apm file) for now, it has some slight changes wich are needed for the jabber package work properly.
(i.e. getting real jid's as well as room jid's , and preserving of prefixes for room names, wich can only be created by the aolserver or any other admin).

I'will soon let the jabber package use conference v2 , many client's now support it , and the conference v2 server becomes useable (when I statred the development on conferencing, their was only a conf. v2 protokol draft but no server supporting it ).

Collapse
Posted by Nima Mazloumi on
Hi Bjoern,
I tried to compile the ns_jabber module but got the following error message calling make in bin directory:

madura:/usr/local/src/aolserver40r2/nsjabber/bin # make
Makefile:70: ../../include/Makefile.module: File or Directory not found
make: *** No rule to create »../../include/Makefile.module«

Any idea what goes wrong?

Greetings,
Nima

Collapse
Posted by Bjoern Kiesbye on
Hi Nima,

the Makefile.module is created when you configure Aolserver  (%>./configure), it schould be in
madura:/usr/local/src/aolserver40r2/include/Makefile.module
.

If you have Aolserver already installed , you can modify the Makefile of the nsjabber module  to use this instalation instead.

in a shell type:

%>emacs /usr/local/src/aolserver40r2/nsjabber/bin/Makefile

Then replace the value of the NSHOME variable at the top of the Makefile, with the path to your Aolserver instalation.

repalce: NSHOME="../../"
with:    NSHOME="/path/to/your/aolserver/instalation"
examp.  NSHOME="/usr/local/aolserver"

Now save the Makfile (ctrl-x ctrl-f) , and try to run make as you did befor.

Good luck,
Bjoern

Collapse
Posted by Nima Mazloumi on
That's great. Maybe this thread helps:

https://openacs.org/forums/message-view?message_id=156852