Topic
  • 2 replies
  • Latest Post - ‏2013-01-11T10:56:53Z by SystemAdmin
pandrbox
pandrbox
22 Posts

Pinned topic Can't deploy PushAdapter on Worklight Studio 5.0.5

‏2012-12-22T10:53:17Z |
PushAdapter can not be deployed by following message on Wokrlight console.

FWLSE0082W: Failed to deploy adapter from the database (archive: '/var/folders/_q/dfgybh1x0vz8dy6w6xcjxd200000gn/T/PushAdapter5717635528179428305.adapter').

I could identify that the following part in PushAdapter-impl.js causes the deployment error.

WL.Server.createEventSource({
  • name: 'PushEventSource',*
  • onDeviceSubscribe: 'deviceSubscribeFunc',*
  • onDeviceUnsubscribe: 'deviceUnsubscribeFunc',*
  • securityTest:'PushApplication-strong-mobile-securityTest'*
});

How can I modify it to solve the problem ?
  • pandrbox
    pandrbox
    22 Posts

    Re: Can't deploy PushAdapter on Worklight Studio 5.0.5

    ‏2012-12-22T11:26:34Z  
    I'v found missing 'PushApplication-strong-mobile-securityTest' on securityConfig.xml.
    It should be indicated on the error message.

    Thanks
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: Can't deploy PushAdapter on Worklight Studio 5.0.5

    ‏2013-01-11T10:56:53Z  
    • pandrbox
    • ‏2012-12-22T11:26:34Z
    I'v found missing 'PushApplication-strong-mobile-securityTest' on securityConfig.xml.
    It should be indicated on the error message.

    Thanks
    I had the same problem.I solved it by following procedure.

    1.Deploy "module_41_0_PushNotifications.war" on application server.

    Deploying a customization .war file to an application server
    http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m5/index.jsp

    2.reboot application server.

    Module_41_0_PushNotifications has server/conf folder(includes authenticationConfig.xml,SMSConfig.xml,worklight.properties).
    So I guess we need to update above files, before deploy its adapter.