Salesforce

UNIX and IBM i Troubleshooting (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UNIX and IBM i Troubleshooting (Magic xpa 3.x)

UNIX Troubleshooting

Q1

Why is the Timer event going into a loop when working with a Background server on UNIX/Linux?

A1

This occurs sometimes when the MAGIC.INI file's BatchPaintTime parameter is set to 0.

To solve this issue, open the MAGIC.INI file and check the value assigned to the BatchPaintTime parameter. If BatchPaintTime = 0, then change it to any suitable value, such as 1000.

Q2

Why is the FlwMtr() function not writing to the Activity message list when working with a Background server on Windows/UNIX/Linux?

A2

Open the MAGIC.INI file and in the [MAGIC_LOGGING] section, set the BackgroundMsg parameter to Y.

IBM i Troubleshooting

Q3

In a RIA application, while calling more than five subtasks on IBM i, why does the program not call the 6th subtask?

A3

In the PublishHtml.tpl file, change the HTTPCompressionLevel parameter to None.

The PublishHtml.tpl file is located in your [Magic xpa directory]\Add_On\Builders\Templates directory.

Q4

How can I overcome the "Failed to load driver" error that appears when running on Windows 7?

A4

The IBM i gateways (mgeac32.dll and mgdb2400.dll) fail to load on Windows 7.

The most likely cause of this error (not related to Windows 7 specifically) is a mistake in the path mentioned in the MAGIC_GATEWAYS section of the MAGIC.INI file.

If the .ini path is correct, and the error still occurs, you should check in the c:\windows\system32 folder for the existence of a file named msvcp71.dll.

This system file is mandatory for the loading of the IBM i gateways, but it is sometimes missing in some Windows 7 installations.

The file can be downloaded for free or copied from another machine.

Reference
Attachment 
Attachment