FIX: Error message when you use BizTalk Adapter for JD Edwards EnterpriseOne in BizTalk Server: "Error occurred during initialization of VM"

Article ID: 974617
Expand all | Collapse all

On This Page

SYMPTOMS

You have a computer that is running Microsoft BizTalk Server 2006 R2. You use the BizTalk Adapter for JD Edwards EnterpriseOne to connect to a system that is running JD Edwards EnterpriseOne from Oracle. However, the adapter may not initialize the Java Virtual Machine (JVM). Therefore, you cannot use BizTalk Server to exchange messageswith the JD Edwards EnterpriseOne system. When this problem occurs, eventsthat resemble the following may be logged in the Application log:
Event 1: 
 
Event Type:     Warning
Event Source:   Microsoft Biztalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0

Description:
The event tracing cannot be activated: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).
 
Event 2:
 
Event Type:     Error
Event Source:   Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0
Description:
E-JNI0001: Java virtual machine message:
Error occurred during initialization of VM
 
Event 3:
 
Event Type:     Error
Event Source:   Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0
Description:
E-JNI0001: Java virtual machine message:
Could not reserve enough space for object heap
 

Event 4:
 
Event Type:     Error
Event Source:   Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0
Description:
E-JNI0003: Could not initialize Java

Event 5:
 
Event Type:     Error
Event Source:   Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0
Description:
E-JDE0036: Failed to start Java virtual machine.  Missing or invalid JRE.
 
Event 6:
 
Event Type:     Error
Event Source:   Microsoft BizTalk Adapters for Enterprise Applications
Event Category: None
Event ID:       0
Description:
E-JDE0027: Unable to acquire J.D.Edwards connection object.   Please check the settings of the port.

RESOLUTION

Registry changes

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply the hotfix, the following registry change is required. For x86-based computer: Follow these steps, and then quit Registry Editor:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BizTalkAdapters\Config\Global\Adapters
  3. On the Edit menu, point to New, and then click DWORD.
  4. Type JVMMemory, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type 900, and then click OK.

Note The value for the JVMMemory registry key needs to be tuned after the Java VM is initialized successfully but that can only be done through testing on your end . The minimum value for JVMMemory is: 1, the maximum value is: 3072.For x64-based computer:
Follow these steps, and then quit Registry Editor:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\BizTalkAdapters\Config\Global\Adapters
  3. On the Edit menu, point to New, and then click DWORD.
  4. Type JVMMemory, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Type 1000, and then click OK.

Note The value for the JVMMemory registry key needs to be tuned after the Java VM is initialized successfully but that can only be done through testing on your end . The minimum value for JVMMemory is: 1, the maximum value is: 3072.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: -
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have BizTalk Server 2006 R2 and the BizTalk Adapters for Enterprise Applications installed to apply this hotfix.

Note BizTalk Adapters for Enterprise Applications are also known as BizTalk LOB Adapters.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Btcore.dll1.0.5020.102,129,23212-Oct-200913:48x86
Microsoft.biztalk.adapters.bizutil.dll1.0.5020.10162,68012-Oct-200913:48x86

Note: This hotfix includes the hotfix that is described in KB 942419.

Installation notes

The Microsoft.BizTalk.Adapters.BizUtil.dll file is updated when you install this hotfix. To make sure it works correctly, you need refresh Microsoft.BizTalk.Adapters.BizUtil.dll assembly in the Global Assembly Cache (GAC). To do this, follow these steps:
  1. Double-click the hotfix package to extract it.
  2. In the extracted folder, run Setup.exe to install the hotfix Package on the machine.
  3. After the installation completes, execute the GAC.bat file.
  4. In the prompt window, type a full path of “Microsoft.BizTalk.Adapters.BizUtil.dll” file on the machine, for example: "C:\Program Files\Common Files\Microsoft BizTalk Adapters for Enterprise Applications\Bin\Microsoft.BizTalk.Adapters.BizUtil.dll"
  5. Press Enter to GAC Microsoft.BizTalk.Adapters.BizUtil.dll mentioned in path.
  6. Type N to exit or Y to continue GAC another DLL.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
For more information about the Microsoft BizTalk Adapters for JD Edwards EnterpriseOne, visit the following Microsoft Developer Network Web sites:
http://msdn.microsoft.com/en-us/library/bb820914%28BTS.10%29.aspx
http://msdn.microsoft.com/en-us/library/aa546817%28BTS.10%29.aspx
http://technet.microsoft.com/en-us/library/cc135394%28BTS.10%29.aspx

Properties

Article ID: 974617 - Last Review: October 7, 2011 - Revision: 3.0
Keywords: 
kbbtsadapters kbexpertiseadvanced kbbiztalk2006r2sp1fix kbsurveynew kbqfe kbbug kbfix KB974617

Give Feedback