[jitsi-dev] Re: tried openmeetings plug-in - please help to decide on specific use case


#1

Thanks Alexei.

1.
Let me understand... In my Jitsi "buddy" contact list I have a jabber contact with uri user2@jabber.server.org (only 1 occurrence). My jabber uri is user1@jabber.server.org (and user1 isn't in my Jitsi contact list, obviously). If I right-click user2 on my contact list and "invite to conference", I understand that user1 will be the conference owner and user2 will receive a notification with the openmeetings url. So if I'm user1 then I'm expecting no notification at all but the web browser should open a conference room in openmeetings (this is what happens). On the other hand, user2 should receive 1 and only 1 notification with the openmeetings URL. If so, this is where I'm having trouble because user2 is receiving a duplicate jabber message.

2.
Just to make sure I don't complicate things I renamed everything to defaults (meetings is now 'openmeetings').
And if I manually open the page /openmeetings/services/UserService?wsdl in a web browser I get a full xml file as expected. I'm attaching the diff file (left: my server, right: dataved.ru).

Thanks,

Vieri

Openmeetings.xml.diff (7.81 KB)

···

--- On Thu, 7/12/12, Alexei Fedotov <alexei.fedotov@gmail.com> wrote:

Vieri, thanks for thorough testing.
1.There are two messages actually - one comes to the conferfence owner, and one comes to the invited person. You can get two messages if both the owner and the other guy are in your account list.

2.Just check if your server returns something when requestedhttp://myserver.org:5080/meetings/services/UserService?wsdl (taken from the log)

Usually meetings should be replaced with openmeetings in openmeetings plugin config.
I have checked that - it works here, and this is an independent trunk snapshot:
http://demo.dataved.ru/openmeetings/services/UserService?wsdl
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Thu, Jul 12, 2012 at 12:07 PM, Vieri <rentorbuy@yahoo.com> wrote:

Hi,

Your latest fix makes it work and now my contact receives an invitation URL to the openmeetings conference server.

However, the contact receives 2 identical jabber messages, not 1...

This was tested with your server at http://edro.dataved.ru/openmeetings/

On the other hand, if I use my own openmeetings server (recent 2.0 snapshot) I get the following error:

plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129 java.lang.NullPointerException

The log file contains:

09:57:06.747 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.747 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.748 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl

09:57:06.748 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().84 getting invitation for myuser
09:57:06.772 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationHash().131 myuser:mypassword:myuser

09:57:06.779 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.getSID().54
Soap request to http://myserver.org:5080/meetings/services/UserService?wsdl

09:57:06.779 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.logMessage().86 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelop/"
xmlns:openmeetings="http://services.axis.openmeetings.org" xmlns:rooms="http://rooms.beans.persistence.app.openmeetings.org/xsd" xmlns:xsd="http://basic.beans.persistence.app.openmeetings.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><openmeetings:getSession/></SOAP-ENV:Body></SOAP-ENV:Envelope>

09:57:06.812 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.getSID().59
Soap response:

09:57:07.029 SEVERE: plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129 java.lang.NullPointerException

09:57:07.030 INFO: plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().92 Can't get invitation URL

Thanks,

vieri

--- On Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com> wrote:

I've committed a fix today.
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,

http://dataved.ru/
+7 916 562 8095

On Wed, Jul 11, 2012 at 7:13 PM, Vieri <rentorbuy@yahoo.com> wrote:

Hi Alexei,

--- On Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com> wrote:

4) the hash is sent via jabber to other participant;

In my case, the jabber contact doesn't receive any message at all. I'm using ejabberd.

Vieri


#2

Vieri,
Sorry for delay.

1. I believe you wrote things correctly. Still both users get invitation
hash because chat history is common for both of them.

2. The log file says it cannot get that xml at all. this usually happens
when openmeetings tab in the configuration is filled with incorrect URL. I
will improve logging a bit to be completely sure of it.

BTW, folks.
I returned to code. I wonder if there is any way to keep language resource
files local for plugin.

···

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Thu, Jul 12, 2012 at 4:09 PM, Vieri <rentorbuy@yahoo.com> wrote:

Thanks Alexei.

1.
Let me understand... In my Jitsi "buddy" contact list I have a jabber
contact with uri user2@jabber.server.org (only 1 occurrence). My jabber
uri is user1@jabber.server.org (and user1 isn't in my Jitsi contact list,
obviously). If I right-click user2 on my contact list and "invite to
conference", I understand that user1 will be the conference owner and user2
will receive a notification with the openmeetings url. So if I'm user1 then
I'm expecting no notification at all but the web browser should open a
conference room in openmeetings (this is what happens). On the other hand,
user2 should receive 1 and only 1 notification with the openmeetings URL.
If so, this is where I'm having trouble because user2 is receiving a
duplicate jabber message.

2.
Just to make sure I don't complicate things I renamed everything to
defaults (meetings is now 'openmeetings').
And if I manually open the page /openmeetings/services/UserService?wsdl in
a web browser I get a full xml file as expected. I'm attaching the diff
file (left: my server, right: dataved.ru).

Thanks,

Vieri

--- On *Thu, 7/12/12, Alexei Fedotov <alexei.fedotov@gmail.com>* wrote:

Vieri, thanks for thorough testing.

1.
There are two messages actually - one comes to the conferfence owner, and
one comes to the invited person. You can get two messages if both the owner
and the other guy are in your account list.

2.
Just check if your server returns something when requested
http://myserver.org:5080/meetings/services/UserService?wsdl (taken from
the log)

Usually meetings should be replaced with openmeetings in openmeetings
plugin config.

I have checked that - it works here, and this is an independent trunk
snapshot:
http://demo.dataved.ru/openmeetings/services/UserService?wsdl

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Thu, Jul 12, 2012 at 12:07 PM, Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com> > > wrote:

Hi,

Your latest fix makes it work and now my contact receives an invitation
URL to the openmeetings conference server.
However, the contact receives 2 identical jabber messages, not 1...

This was tested with your server at http://edro.dataved.ru/openmeetings/

On the other hand, if I use my own openmeetings server (recent 2.0
snapshot) I get the following error:

plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129
java.lang.NullPointerException

The log file contains:

09:57:06.747 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.747 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.748 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
09:57:06.748 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().84
getting invitation for myuser
09:57:06.772 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationHash().131
myuser:mypassword:myuser
09:57:06.779 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getSID().54
Soap request to
http://myserver.org:5080/meetings/services/UserService?wsdl

09:57:06.779 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.logMessage().86
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="
http://schemas.xmlsoap.org/soap/envelop/" xmlns:openmeetings="
http://services.axis.openmeetings.org" xmlns:rooms="
http://rooms.beans.persistence.app.openmeetings.org/xsd" xmlns:xsd="
http://basic.beans.persistence.app.openmeetings.org/xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"><SOAP-ENV:Header/><SOAP-ENV:Body><openmeetings:getSession/></SOAP-ENV:Body></SOAP-ENV:Envelope>

09:57:06.812 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getSID().59
Soap response:

09:57:07.029 SEVERE:
plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129
java.lang.NullPointerException
09:57:07.030 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().92 Can't
get invitation URL

Thanks,

vieri

--- On *Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com<http://mc/compose?to=alexei.fedotov@gmail.com> > >* wrote:

I've committed a fix today.
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Wed, Jul 11, 2012 at 7:13 PM, Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com> > > wrote:

Hi Alexei,

--- On Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com<http://mc/compose?to=alexei.fedotov@gmail.com>> > wrote:

> 4) the hash is sent via jabber to other participant;

In my case, the jabber contact doesn't receive any message at all. I'm
using ejabberd.

Vieri


#3

Vieri,
I improved logging to check that your jitsi actually gets a reply from
UserService by printing Soap responce.

···

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Wed, Jul 18, 2012 at 12:53 PM, Alexei Fedotov <alexei.fedotov@gmail.com>wrote:

Vieri,
Sorry for delay.

1. I believe you wrote things correctly. Still both users get invitation
hash because chat history is common for both of them.

2. The log file says it cannot get that xml at all. this usually happens
when openmeetings tab in the configuration is filled with incorrect URL. I
will improve logging a bit to be completely sure of it.

BTW, folks.
I returned to code. I wonder if there is any way to keep language resource
files local for plugin.

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Thu, Jul 12, 2012 at 4:09 PM, Vieri <rentorbuy@yahoo.com> wrote:

Thanks Alexei.

1.
Let me understand... In my Jitsi "buddy" contact list I have a jabber
contact with uri user2@jabber.server.org (only 1 occurrence). My jabber
uri is user1@jabber.server.org (and user1 isn't in my Jitsi contact
list, obviously). If I right-click user2 on my contact list and "invite to
conference", I understand that user1 will be the conference owner and user2
will receive a notification with the openmeetings url. So if I'm user1 then
I'm expecting no notification at all but the web browser should open a
conference room in openmeetings (this is what happens). On the other hand,
user2 should receive 1 and only 1 notification with the openmeetings URL.
If so, this is where I'm having trouble because user2 is receiving a
duplicate jabber message.

2.
Just to make sure I don't complicate things I renamed everything to
defaults (meetings is now 'openmeetings').
And if I manually open the page /openmeetings/services/UserService?wsdl
in a web browser I get a full xml file as expected. I'm attaching the diff
file (left: my server, right: dataved.ru).

Thanks,

Vieri

--- On *Thu, 7/12/12, Alexei Fedotov <alexei.fedotov@gmail.com>* wrote:

Vieri, thanks for thorough testing.

1.
There are two messages actually - one comes to the conferfence owner, and
one comes to the invited person. You can get two messages if both the owner
and the other guy are in your account list.

2.
Just check if your server returns something when requested
http://myserver.org:5080/meetings/services/UserService?wsdl (taken from
the log)

Usually meetings should be replaced with openmeetings in openmeetings
plugin config.

I have checked that - it works here, and this is an independent trunk
snapshot:
http://demo.dataved.ru/openmeetings/services/UserService?wsdl

--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Thu, Jul 12, 2012 at 12:07 PM, Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com> >> > wrote:

Hi,

Your latest fix makes it work and now my contact receives an invitation
URL to the openmeetings conference server.
However, the contact receives 2 identical jabber messages, not 1...

This was tested with your server at http://edro.dataved.ru/openmeetings/

On the other hand, if I use my own openmeetings server (recent 2.0
snapshot) I get the following error:

plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129
java.lang.NullPointerException

The log file contains:

09:57:06.747 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.747 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl
09:57:06.748 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().69 found
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl
09:57:06.748 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().84
getting invitation for myuser
09:57:06.772 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationHash().131
myuser:mypassword:myuser
09:57:06.779 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getSID().54
Soap request to
http://myserver.org:5080/meetings/services/UserService?wsdl

09:57:06.779 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.logMessage().86
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="
http://schemas.xmlsoap.org/soap/envelop/" xmlns:openmeetings="
http://services.axis.openmeetings.org" xmlns:rooms="
http://rooms.beans.persistence.app.openmeetings.org/xsd" xmlns:xsd="
http://basic.beans.persistence.app.openmeetings.org/xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/
"><SOAP-ENV:Header/><SOAP-ENV:Body><openmeetings:getSession/></SOAP-ENV:Body></SOAP-ENV:Envelope>

09:57:06.812 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.getSID().59
Soap response:

09:57:07.029 SEVERE:
plugin.openmeetings.OpenmeetingsPluginActivator.getInvitationUrl().129
java.lang.NullPointerException
09:57:07.030 INFO:
plugin.openmeetings.OpenmeetingsPluginActivator.actionPerformed().92 Can't
get invitation URL

Thanks,

vieri

--- On *Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com<http://mc/compose?to=alexei.fedotov@gmail.com> >> >* wrote:

I've committed a fix today.
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095

On Wed, Jul 11, 2012 at 7:13 PM, Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com> >> > wrote:

Hi Alexei,

--- On Wed, 7/11/12, Alexei Fedotov <alexei.fedotov@gmail.com<http://mc/compose?to=alexei.fedotov@gmail.com>> >> wrote:

> 4) the hash is sent via jabber to other participant;

In my case, the jabber contact doesn't receive any message at all. I'm
using ejabberd.

Vieri