Consultor Eletrônico



Kbase P178099: Getting Errors when shelling out to the unix prompt from a AppServer and webspeed session in order t
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/04/2011
Status: Unverified

SYMPTOM(s):

Getting Errors when shelling out to the unix prompt from a AppServer and webspeed session in order to print report using .

/usr/lib/dld.sl: Bad magic number for shared library: /DLC/jre/lib/PA_RISC2.0W/hotspot/libjvm.sl /usr/lib/dld.sl: Exec format error

Error does not happen when running from ABL character client

FACT(s) (Environment):

Did not experience this issue in 9.1E of Progress
PA-RISC 64-bit
OpenEdge 10.2B 64-bit
WebSpeed
OpenEdge Server Technology Category: AppServer

CHANGE:

Migrated from 9.1E 64-bit Progress to 10.2B02 64-bit OpenEdge

CAUSE:

The printing application is a 32 bit java application and needs to load 32 bit JVM shared library to execute. In 9.1E, the JVM shipped with Progress is a 32 bit JVM, therefore the webspeed agents' environment is pointing to 32 bit JVM. In OE 10.1C and above, the default JVM is 64 bit, SHLIB_PATH is pointing to 64 bit JVM shared library. Therefore it errors out with Bad Magic number.
The character client path does not contain any JVM library in its SHLIB_PATH, therefore the JVM of the printing application loads its own JVM, problem does not happen.

FIX:

In order to workaround this issue, setup the SHLIB_PATH environment variable on the broker environment section excluding the JVM library path, and restart the broker.