Layer7 API Management

Expand all | Collapse all

Solution Kit Problem · MAG 3.1 · Software

Jump to Best Answer
  • 1.  Solution Kit Problem · MAG 3.1 · Software

    Posted 04-18-2016 08:09 AM

    Hi CA Community,

     

    I am trying to install a Mobile API Gateway on a DMZ server whose associated database is on a different server in LAN.

    When installing the .sskar file, I get this error :

     

    "This Solution Kit does not allow overriding of this mapping.

      This mapping requires the property “SK_AllowMappingOverride” be set to true by the .skar file author."

     

    What does it mean ?

     

    Thank you very much for your answers !



  • 2.  Re: Solution Kit Problem

    Broadcom Employee
    Posted 04-20-2016 01:25 PM

    Hi Chovine,

     

    I have seen this issue resulting from an upgrade of a Solution Kit. It would normally be seen when a resource associated with the prior version was deleted.

    A few questions to help get a better idea of what is going on:

     

    1. Is this an upgrade or fresh install?

    2. What are the versions of MAG/OTK and Gateway being used?

    3. What Database are you using? (Oracle, MySQL, Cassandra)

    4. In the DMZ, what JDBC connection are you using?

     

    The DMZ needs it's own JDBC connection, a dummy (empty) JDBC connection, that points to no real database.



  • 3.  Re: Solution Kit Problem

    Posted 04-21-2016 03:34 AM

    Hello dasjo02,

     

    Thank you for the interest you have had for my question. Here are some additional details :

     

    1. It is a fresh install.

    2. The versions I am using are :

    • Gateway : 9.0.00
    • MAG Solution Kit : 3.0.00
    • OTK : 3.3.01

    3. The database I am using is : MySQL

    4. In the DMZ, I point to "mag_db" the database I created and filled with the file mag_db_schema.sql

     

    So you say that I have to create an empty database and use it for the JDBC connection only in the DMZ ?

     

    Thank you for your help !



  • 4.  Re: Solution Kit Problem

    Broadcom Employee
    Posted 04-22-2016 01:28 PM

    Hello,

    It looks like your site has opened a support case with our team to properly investigate this. I will work with the assigned tech to have this addressed.

    Based on my findings it seems there is a lingering policy fragment or encapsulated assertion on the system. Once we resolve the issue I will post our findings here for reference.

     

    To address the question about the database, please refer to the below:

    https://docops.ca.com/ca-mobile-api-gateway/3-1/installation-and-upgrade-workflow/install-mag-solution-kit/configure-multiple-mags

     

    MAG-A is installed in the DMZ. Although this MAG does not connect to a database, the solution kit installer still expects a defined connection. You therefore, use a dummy (empty) JDBC connection that points to no real database. Import the certificate of MAG-B.



  • 5.  Re: Solution Kit Problem

    Posted 05-03-2016 07:41 AM

    Hello,

    Thank you for your answer and your help.

    However, I am not trying to install multiple MAG, only one in the DMZ but the database is Internal so I think the link that you gave to me is not exactly my situation.

    I just had a conversation with the support team and it seems like I have a problem with the Server Modules files that are not correctly installed.

    I will post the solution as soon as I find which files are missing.

     

    Best regards



  • 6.  Re: Solution Kit Problem

    Posted 05-13-2016 05:23 AM

    Hi CA Community,

     

    I almost resolve my problem. I have install :

    - Gateway 9.1

    - OTK 3.4

     

    And I am trying to install MAG 3.1.

    During the installation of the Solution Kit, I just have a problem with the "Apple Push Notification".

    I install the file ApplePushNotificationAssertion-8.2.00-1.aar but it didn't add a line in Tasks > Extensions and Add-Ons > Manage Server Module Files and I can't find the file .saar to upload.

     

    When I click on the error :

     

    Does anyone know how I can install the Server Module ?

     

    Thank you for your help !



  • 7.  Re: Solution Kit Problem · MAG 3.1 · Software

    Posted 06-02-2016 02:17 PM

    Hi Clotilde - Are you still looking to resolve this?



  • 8.  Re: Solution Kit Problem · MAG 3.1 · Software
    Best Answer

    Posted 06-14-2016 03:53 AM

    Hi CA Community,

     

    The problem is finally resolved ! The solution is below :

     

    We can overcome this by logging into mysql from a prompt and executing the following command :

     

    SET GLOBAL max_allowed_packet = 3145728;

     

    If you restart the gateway and try and install the MAG Solution Kit again the problem will not occur. The set command will change the value for all new connections to mysql until it restarts. If you want to make the change permanent you need to add the following to the MySQL options file, my.cnf:-

     

    [mysql]

    max_allowed_packet=3145728

     

    Refer to MySQL documentation for background info:-

     

    http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_max_allowed_packet

     

    Thank you for all your help !



  • 9.  Re: Solution Kit Problem · MAG 3.1 · Software

    Posted 06-14-2016 09:40 AM

    Thanks for sharing the solution, Clotilde!