欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

程序员文章站 2022-05-26 09:47:18
...

Troubleshooting:

1. Error while installation of MySQL Installer.

Unable to update security settings:Acess denied for user 'root@localhost'

SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

Solution :

  • Run cmd. Go to bin folder of the MySQL installer
  • run this command: mysqladmin -u root -h localhost password

SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

  • After that manually start the MySQL56 service. (services.msc) and make sure its running.

SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

2. If you are trying to access MySQL server (machine) from other system, then make sure you change "Limit to Hosts Matching" to %. Click on 'Apply'

SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

3. If there is any issue for making MySQL jar file as OSGi enabled, you can download it from here .

And then can directly deploy to SMP 3.0 server(Part 2- step 8)

4. While installing the GWPA component, if you encounter with below error. (Assuming you are external resource through a proxy)

Cannot complete the install because one or more required items could not be found.

Software being installed: Toolkit for Integration Gateway (GWPA, Developer Edition) 1.1.1 (com.sap.odata.dt.framework.sap.smp.feature.feature.group 1.1.1)

Missing requirement: SAP Command Framework - HTTP communication (apache) 1.6.0 (com.sap.it.commons.command.http.apacheclient 1.6.0) requires 'package org.apache.http [4.1.0,5.0.0)' but it could not be found

Solution : Make you set the proxy details

    • Go to Window>Preferences in Mobile Workspace
    • Preferences box prompt out, choose " Network Connections "
    • Select " Manual " from Action Provider in the drop-down
    • Select " HTTP " >Click on " Edit "
    • Provide required proxy details with port number.
    • Restart eclipse.

    5. While testing the SMP server connection for Integration Gateway (Windows>Preferences>OData Development>Integration Gateway)

    SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

    Solution : Make sure you install the latest JDK (1.7) or JRE7 to avoid this kind of issue.

    6. Error during OData model deployment to SMP server,

    "Deployment cannot be completed for xxxsevice".

    Make sure you configure SMP server to use the same proxy settings that you must have entered in the eclipse. Refer this link. How to configure SMP 3.0 to use proxy to access external resource

    7. While opening service document, if you encounter with HTTP 403 - Requested URL is not valid message.

    SMP 3.0 : Integration Gateway with MySQL Datasource (Part 4)_MySQL

    Solution : Replacing localhost by system host/ipaddress worked for me.

    For more information and updates follow SAP Mobile Platform Developer Center ,SAP for Mobile