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

Article translations Article translations
Article ID: 976943
Expand all | Collapse all

On This Page

SYMPTOMS

On a computer that is running Microsoft BizTalk Server 2009, 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 messages that have the JD Edwards EnterpriseOne system. When this problem occurs, events that 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 computers

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 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 computers

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 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 Microsoft BizTalk Server 2009 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. However, you must restart the BizTalk host instance 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.5101.22,143,55222-Oct-200917:03x86

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 Microsoft BizTalk Adapters for JD Edwards EnterpriseOne, visit the following Microsoft Developer Network (MSDN) 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
If you encounter this issue in BizTalk Server 2006 R2, apply the hotfix package that is described in the following Microsoft Knowledge Base (KB) article:
974617 FIX: Error message when you use BizTalk Adapter for JD Edwards EnterpriseOne in BizTalk Server: "Error occurred during initialization of VM"
For more information about the BizTalk Server hot fixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information on BizTalk Server hot fixes

Properties

Article ID: 976943 - Last Review: October 6, 2011 - Revision: 2.0
Keywords: 
kbbtsadapters kbexpertiseadvanced kbautohotfix kbbiztalk2009presp1fix kbsurveynew kbqfe KB976943

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com