Ticket #8253 (closed defect: fixed)
Importing Pre-built VM for SOA amd BPM Suite 11g fails
|Reported by:||vitali||Owned by:|
|Version:||VirtualBox 4.0.2||Keywords:||import virtual machine fails medium cannot closed still attached|
Exactly followed the instructions at the link below to setup the "Pre-built Virtual Machine for SOA Suite and BPM Suite 11g": http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html
VirtualBox was successfully installed. Checked every downloaded VM image file with the md5sums utility, so the files are positively not corrupted. When running import of the ovf file (i.e. vbox-oel5u4-soabpm-11gr1ps2-bp1-otn.ovf), it runs for a few minutes, the progress bar briefly flashes 100% and then a popup error window is shown; the error messages reads: Failed to import applience <here-goes-pathname>\vbox-oel5u4-soabpm-11gr1ps2-bp1-otn.ovf.
Medium 'C:\VirtualBox VMs\vbox-oel5u4-soabpm-11gr1ps2-bp1-otn_1\vbox-oel5u4-soabpm-11gr1ps2bp1-root.vmdk' cannot be closed because it is still attached to 1 virtual machine.
Details: Result Code: VBOX_E_OBJECT_IN_USE (0x80BB000C) Component: Medium Interface: IMedium (9edda847-1279-4b0a-9af7-9d66251ccc18}
I also noted that during the import, the vbox-oel5u4-soabpm-11gr1ps2bp1-root.vmdk gets created in the specified Default Machine Folder and remains even after the error window is closed and the import operation cancelled. However, the 2nd file, vbox-oel5u4-soabpm-11gr1ps2bp1-oracle.vmdk, gets created and a second later after the error message pops up, it gets deleted.
Please see the attached screenshot showing the error messages. Unfortunately I was not able to locate VBox.log file. If you provide me where it might be located on a Windows 7 machine, I'll try to find it again.
I later found that the IMedium interface is defined in VirtualBox.xidl file. The error probably originates from the HRESULT Medium::close(GuidList *pllRegistriesThatNeedSaving, AutoCaller &autoCaller) method in the MediumImpl.cpp file.
Please let me know if I can be of any other assistance. Regards, Vitali Tchalov