Consultor Eletrônico



Kbase 21141: SONICMQ: Cannot Insert SonicMQ ActiveX Control in Appbuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/07/2001
SUMMARY:

This Solution applies to the SonicMQ ActiveX version 3.5 on a non-English Windows machine.

When inserting the SonicMQ ActiveX control in the AppBuilder, the session is shut down (on Windows 9x) or a Dr.Watson message appears (on Windows NT).

From a DOS prompt the following error message occurs when asking for the Java's version:

c:\>java -version
Error occurred during initialization of VM
java/lang/ClassNotFoundException: sun/io/ByteToCharCpXXXX

c:>

EXPLANATION:

When the JVM starts, it looks for the character decoder for the default encoding (CpXXXX) of the non-English Windows.
If it cannot find it because of a language-specific version of the JVM, this generates the above message.

For instance if an English version of JRE is installed on a Turkish Windows machine the following error message appears:

Error occurred during initialization of VM
java/lang/ClassNotFoundException: sun/io/ByteToCharCp1254

SOLUTION:

Installing the international version of JRE solves the problem.