I tested the last plugin with Openmeetings version 2.0 and SugarCRM
version 6.3.4 and 6.5.2. I could reproduce the issue partially only on
SugarCRM version 6.3.4. Here is a late configuration loading, after a
configuration update I needed to logout and login again to use the new
configuration data.  In  version 6.5.2 the plugin work fine.

You can try to debug this file:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/plugins/sugarcrm/SugarModules/modules/openmeetings/openmeetings_gateway/openmeetings_gateway.php?view=markup&pathrev=1373569

Line 70-71, to check that the correct userpass and username are used.

Which version of SugarCRM do you use.

Best Regards
Eugen

2012/8/16 Luke Ledgerd <[email protected]>:
> I think I'm using SVN for both.
>
> Definately the latest SVN version for the SugarCRM plugin.
>
> I'll double check that I'm running the latest SVN version to match for
> the openmeetings server.
> I recall I installed a nightly build version last week.
>
> Luke
>
>
> On 08/16/2012 03:07 AM, Eugen Schwert wrote:
>> Can you please tell which version of the plugin and what version of
>> OpenMeetngs you are using.
>> We use REST instead of SOAP in plugin version of Apache.
>>
>> Best Regards
>> Eugen
>>
>> 2012/8/15 Luke Ledgerd <[email protected]>:
>>> Re-installed the latest SVN updated module into SugarCRM.
>>> Flushed the openmeetings database and re-ran the installation wizard.
>>> Still no joy with the login. I don't think I can invest any more time
>>> without some help. I'm going to start testing the SOAP interface.
>>>
>>> Then of course quick repair and rebuild. Still no joy. Any pointers
>>> for debugging?
>>>
>>> The problem appears to be with session management.
>>>
>>>
>>> DEBUG 08-15 12:25:18.106 UserWebService.java 7099688 92
>>> org.openmeetings.axis.services.UserWebService [http-0.0.0.0-5080-1] -
>>> SPRING LOADED getSession --
>>> DEBUG 08-15 12:25:18.107 Sessionmanagement.java 7099689 72
>>> org.openmeetings.app.data.basic.Sessionmanagement
>>> [http-0.0.0.0-5080-1] - startsession :: startsession
>>> DEBUG 08-15 12:25:18.107 ManageCryptStyle.java 7099689 41
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> getInstanceOfCrypt:
>>> org.openmeetings.utils.crypt.ManageCryptStyle@31f30d47
>>> DEBUG 08-15 12:25:18.108 ManageCryptStyle.java 7099690 43
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> getInstanceOfCrypt:
>>> org.openmeetings.app.data.basic.Configurationmanagement@26bd90da
>>> DEBUG 08-15 12:25:18.108 ManageCryptStyle.java 7099690 50
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> configKeyCryptClassName:
>>> org.openmeetings.utils.crypt.MD5Implementation
>>> DEBUG 08-15 12:25:18.117 Usermanagement.java 7099699 262
>>> org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-5080-1] -
>>> Login user SID :  Stored Permanent :false
>>> DEBUG 08-15 12:25:18.122 Usermanagement.java 7099704 275
>>> org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-5080-1] -
>>> debug SIZE: 1
>>> DEBUG 08-15 12:25:18.123 ManageCryptStyle.java 7099705 41
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> getInstanceOfCrypt:
>>> org.openmeetings.utils.crypt.ManageCryptStyle@31f30d47
>>> DEBUG 08-15 12:25:18.123 ManageCryptStyle.java 7099705 43
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> getInstanceOfCrypt:
>>> org.openmeetings.app.data.basic.Configurationmanagement@26bd90da
>>> DEBUG 08-15 12:25:18.124 ManageCryptStyle.java 7099706 50
>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>> configKeyCryptClassName:
>>> org.openmeetings.utils.crypt.MD5Implementation
>>>  INFO 08-15 12:25:18.179 Usermanagement.java 7099761 287
>>> org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-5080-1] -
>>> chsum OK: 1
>>> DEBUG 08-15 12:25:18.180 Sessionmanagement.java 7099762 220
>>> org.openmeetings.app.data.basic.Sessionmanagement
>>> [http-0.0.0.0-5080-1] - updateUser User: 1 ||
>>> ERROR 08-15 12:25:18.183 Sessionmanagement.java 7099765 237
>>> org.openmeetings.app.data.basic.Sessionmanagement
>>> [http-0.0.0.0-5080-1] - Could not find session to Update
>>>
>>>
>>> On Wed, Aug 15, 2012 at 6:29 PM, Eugen Schwert <[email protected]> 
>>> wrote:
>>>> Hi Luke,
>>>>
>>>> try to *Repair->Quick Repair and Rebuild* in admin area.  Than logout
>>>> and login again in SugarCRM.
>>>>
>>>> Best Regards
>>>> Eugen
>>>>
>>>> 2012/8/15 Luke Ledgerd <[email protected]>:
>>>>>  I have been having trouble with the SugarCRM plugin from SVN.
>>>>>
>>>>>  It was failing earlier due to low memory but now I can't authenticate.
>>>>>
>>>>>  Here is the TCP traffic stream:
>>>>>
>>>>> "GET /openmeetings/services/UserService/getSession HTTP/1.1
>>>>>  Host: crm.hiled.biz:5080
>>>>>  Accept: */*
>>>>>
>>>>>  HTTP/1.1 200 OK
>>>>>  Server: Apache-Coyote/1.1
>>>>>  Content-Type: application/xml;charset=UTF-8
>>>>>  Transfer-Encoding: chunked
>>>>>  Date: Tue, 14 Aug 2012 10:56:27 GMT
>>>>>
>>>>>  391
>>>>>  <ns:getSessionResponse
>>>>> xmlns:ns="http://services.axis.openmeetings.org";><ns:return
>>>>> xmlns:ax29="http://domain.beans.persistence.app.openmeetings.org/xsd";
>>>>> mlns:ax25="http://user.beans.persistence.app.openmeetings.org/xsd";
>>>>> xmlns:ax26="http://adresses.beans.persistence.app.openmeetings.org/xsd";
>>>>> xmlns:ax23="http://basic.beans.data.app.openmeetings.org/xsd";
>>>>> mlns:ax21="http://basic.beans.persistence.app.openmeetings.org/xsd";
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>> xsi:type="ax21:Sessiondata"><ax21:id>66</ax21:id><ax21:language_id
>>>>> xsi:nil="true" <ax21:organization_id xsi:nil="true"
>>>>> /><ax21:refresh_time>2012-08-14</ax21:refresh_time><ax21:sessionXml
>>>>> xsi:nil="true" 
>>>>> /><ax21:session_id>0ad8472d7961bc501ff516b94d902f1a</ax21:session_id>ax21:starttermin_time>2012-08-14</ax21:starttermin_time><ax21:storePermanent
>>>>> xsi:nil="true" /><ax21:user_id xsi:nil="true"
>>>>> /></ns:return></ns:getSessionResponse>> 0
>>>>>  "> Then it borks.
>>>>>
>>>>>  Here is the sugarCRM and openmeetings logs
>>>>>
>>>>>
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] rebuilding cache for 
>>>>> openmeetings
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][INFO] Query:SELECT * FROM
>>>>> fields_meta_data WHERE  custom_module='openmeetings' AND  deleted = 0
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][INFO] Query Execution
>>>>> Time:0.00024509429931641
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Performing pre_action
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] SugarController::
>>>>> performing pre_save.
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEPRECATED] SugarBean.php:
>>>>> unformat_all_fields() is deprecated
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Performing action:
>>>>> action_save MODULE: openmeetings
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Hook called:
>>>>> openmeetings::before_save
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Including module specific
>>>>> hook file for custom/modules/openmeetings
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Creating new instance of
>>>>> hook class openmeetingsRoomManagament without parameters
>>>>>  DEBUG 08-14 11:23:16.550 UserWebService.java 2985056 92
>>>>> org.openmeetings.axis.services.UserWebService [http-0.0.0.0-5080-1] -
>>>>> SPRING LOADED getSession --
>>>>>  DEBUG 08-14 11:23:16.551 Sessionmanagement.java 2985057 72
>>>>> org.openmeetings.app.data.basic.Sessionmanagement
>>>>> [http-0.0.0.0-5080-1] - startsession :: startsession
>>>>>  DEBUG 08-14 11:23:16.552 ManageCryptStyle.java 2985058 41
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> getInstanceOfCrypt:
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle@56d9ec7f
>>>>>  DEBUG 08-14 11:23:16.552 ManageCryptStyle.java 2985058 43
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> getInstanceOfCrypt:
>>>>> rg.openmeetings.app.data.basic.Configurationmanagement@50530374
>>>>>  DEBUG 08-14 11:23:16.553 ManageCryptStyle.java 2985059 50
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> configKeyCryptClassName:
>>>>> org.openmeetings.utils.crypt.MD5Implementation
>>>>>  DEBUG 08-14 11:23:16.564 Usermanagement.java 2985070 262
>>>>> org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-5080-1] -
>>>>> Login user SID :  Stored Permanent :false
>>>>> DEBUG 08-14 11:23:16.573 Usermanagement.java 2985079 275
>>>>> org.openmeetings.app.data.user.Usermanagement [http-0.0.0.0-5080-1] -
>>>>> debug SIZE: 1
>>>>>  DEBUG 08-14 11:23:16.574 ManageCryptStyle.java 2985080 41
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> getInstanceOfCrypt:
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle@56d9ec7f
>>>>>  DEBUG 08-14 11:23:16.575 ManageCryptStyle.java 2985081 43
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> getInstanceOfCrypt:
>>>>> rg.openmeetings.app.data.basic.Configurationmanagement@50530374
>>>>>  DEBUG 08-14 11:23:16.575 ManageCryptStyle.java 2985081 50
>>>>> org.openmeetings.utils.crypt.ManageCryptStyle [http-0.0.0.0-5080-1] -
>>>>> configKeyCryptClassName:
>>>>> org.openmeetings.utils.crypt.MD5Implementation
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Hook called: 
>>>>> ::server_round_trip
>>>>>  Tue Aug 14 11:23:16 2012 [3560][1][DEBUG] Calling MySQLi::disconnect()
>>>>>
>>>>>  I'm going to debug this more tomorrow.
>>>>>
>>>>>  Any advice would be gratefully received.
>
>

Reply via email to