I have been playing around with the Mobility Pack preview (Build r1.58) off an on for a number of days now. I seem to be able to get mobile devices to sync with the mobility connector, but no messages will come across. If I look at Connector Monitoring Information page for the mobility connector, it will show my user account and the device with a sync state of Failed.

Here are a some of the things that I tried already:

  • Switching from SP1 to the GA release of SLES.
  • Replacing the self-signed certificate with one signed by our CA.
  • Generating a new trusted application key.
  • Using admin for the LDAP connection, rather than a limited user.
  • Disabling the firewall on both the POA and the datasync servers.
  • Having another user setup their account to make sure the problem isn't unique to me.
  • Reinstalling either just the Mobility Pack or both the Mobility Pack and SLES about 10 times.


I am currently trying to run the datasync server on SLES 11 GA 64-Bit with all pre SP1 patches applied. I created a separate PO in our GroupWise system on its own server so that I could run the SP2 beta POA without moving our whole GroupWise system over to beta code. I have only my account and a couple others in the PO.

I am able to connect to the POA though SOAP using Evolution on a Linux box, so I know that it is accessible and generally works. Also, when I configure the Mobility Pack after installing, the configuration program doesn't have a problem connecting to the POA with the provided trusted application key.

So far, I have mostly been trying to connect an emulated Android 2.1 device to the mobility connector, though I have tried a Windows Mobile PDA as well.

I have some excepts from the default.pipeline1.groupwise.log and default.pipeline1.groupwise-AppInterface.log files:

Code:
2010-06-30 16:53:08.725 DEBUG [CP WSGIServer Thread-28] [sink:42] [userID:] [eventID:] [objectID:] [] about to send query, destID = default.pipel
ine1.groupwise, my ID = default.pipeline1.groupwise
2010-06-30 16:53:08.863 DEBUG [CP WSGIServer Thread-28] [sink:44] [userID:] [eventID:] [objectID:] [] direct query to AI, result = <event version
="1">
  <metadata>
    <type>query</type>
    <destination>default.pipeline1.groupwise</destination>
    <origin>default.pipeline1.mobility</origin>
    <originType>mobility</originType>
    <timestamp>Wed, 30 Jun 2010 16:53:08 CDT</timestamp>
    <id>default.pipeline1.mobility-source-soapbridge.dec905f6849111dfbeb8005056b25640</id>
  </metadata>
  <item>
    <query>
      <syncFolders>1</syncFolders>
      <createCursorParams>
        <filter>
          <element>
            <op>and</op>
            <element>
              <op>gt</op>
              <field>created</field>
              <value>2010-06-29T00:00:00Z</value>
            </element>
            <element>
              <op>isOf</op>
              <field>@type</field>
              <value>Mail</value>
            </element>
            <element>
              <op>isOf</op>
              <field>source</field>
              <value>received sent draft personal</value>
            </element>
          </element>
        </filter>
        <view>default message peek attachments recipients</view>
      </createCursorParams>
      <readCursorParams>
        <count>20</count>
      </readCursorParams>
    </query>
    <result>Failure Calling Sync Query Function: Error occurred during direct query function call for user: calvertc</result>
  </item>
</event>
 (type <class 'suds.sax.text.Text'>)


Code:
2010-06-30 16:53:08.729 DEBUG [CP WSGIServer Thread-3] [GenericApplicationInterface:116] [userID:] [eventID:] [objectID:] [] Direct query receive
d: <event version="1">
  <metadata>
    <type>query</type>
    <destination>default.pipeline1.groupwise</destination>
    <origin>default.pipeline1.mobility</origin>
    <originType>mobility</originType>
    <timestamp>Wed, 30 Jun 2010 16:53:08 CDT</timestamp>
    <id>default.pipeline1.mobility-source-soapbridge.dec905f6849111dfbeb8005056b25640</id>
  </metadata>
  <item>
    <query>
      <action>sync</action>
      <directQueryUsername>CalvertC</directQueryUsername>
      <syncFolders>1</syncFolders>
      <createCursorParams>
        <filter>
          <element>
            <op>and</op>
            <element>
              <op>gt</op>
              <field>created</field>
              <value>2010-06-29T00:00:00Z</value>
            </element>
            <element>
              <op>isOf</op>
              <field>@type</field>
              <value>Mail</value>
            </element>
            <element>
              <op>isOf</op>
              <field>source</field>
              <value>received sent draft personal</value>
            </element>
          </element>
        </filter>
        <view>default message peek attachments recipients</view>
      </createCursorParams>
      <readCursorParams>
        <count>20</count>
      </readCursorParams>
    </query>
  </item>
</event>

2010-06-30 16:53:08.729 INFO [CP WSGIServer Thread-3] [AppInterface:863] [userID:] [eventID:] [objectID:] [] Direct query received: CalvertC (syn
c)
2010-06-30 16:53:08.730 DEBUG [CP WSGIServer Thread-3] [gwsoap:383] [userID:] [eventID:] [objectID:] [] About to use soap client 21051088 for met
hod getFolderListRequest
2010-06-30 16:53:08.857 DEBUG [CP WSGIServer Thread-3] [gwsoap:438] [userID:] [eventID:] [objectID:] [] SOAP method getFolderListRequest returned
 0 for user calvertc
2010-06-30 16:53:08.857 DEBUG [CP WSGIServer Thread-3] [gwsoap:487] [userID:] [eventID:] [objectID:] [] Done with soap client 21051088 for method
 getFolderListRequest
2010-06-30 16:53:08.858 WARNING [CP WSGIServer Thread-3] [AppInterface:976] [userID:] [eventID:] [objectID:] [] Unable to retreive folders list f
or user calvertc
2010-06-30 16:53:08.858 DEBUG [CP WSGIServer Thread-3] [AppInterface:977] [userID:] [eventID:] [objectID:] [] Folder list XML was: <?xml version=
"1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema
-instance">&#xA;   <SOAP-ENV:Header>&#xA;      &#xA;   </SOAP-ENV:Header>&#xA;   <SOAP-ENV:Body>&#xA;      <gwm:getFolderListResponse xmlns:gwm="
http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"><gwm:status><gwt:code>59920</g
wt:code><gwt:description>Missing session string</gwt:description></gwm:status></gwm:getFolderListResponse>&#xA;   </SOAP-ENV:Body>&#xA;</SOAP-ENV
:Envelope>
2010-06-30 16:53:08.858 ERROR [CP WSGIServer Thread-3] [AppInterface:1026] [userID:] [eventID:] [objectID:] [] sync: Error occurred during direct
 query function call for user: calvertc. Error ApplicationInterface instance has no attribute 'looger'
2010-06-30 16:53:08.858 DEBUG [CP WSGIServer Thread-3] [util:248] [userID:] [eventID:] [objectID:] [] EXCEPTION: ********************
2010-06-30 16:53:08.858 DEBUG [CP WSGIServer Thread-3] [util:251] [userID:] [eventID:] [objectID:] [] EXCEPTION: Traceback (most recent call last
):
2010-06-30 16:53:08.859 DEBUG [CP WSGIServer Thread-3] [util:251] [userID:] [eventID:] [objectID:] [] EXCEPTION:   File "syncengine/connectors/gr
oupwise/bin/AppInterface.py", line 978, in sync
2010-06-30 16:53:08.859 DEBUG [CP WSGIServer Thread-3] [util:251] [userID:] [eventID:] [objectID:] [] EXCEPTION: AttributeError: ApplicationInter
face instance has no attribute 'looger'
2010-06-30 16:53:08.859 DEBUG [CP WSGIServer Thread-3] [util:252] [userID:] [eventID:] [objectID:] [] EXCEPTION: ********************

It looks like the GroupWise connector is trying to query an undefined attribute.

Any ideas?