Archive

Archive for the ‘VirtualBox’ Category

VirtualBox Appliance for WLS development with Eclipse, Maven, and Hudson

January 23rd, 2012 No comments

With the Oracle Technet Virtual Developer Day coming up a great VirtualBox appliance came available. The developer day focusses on developing Java EE6 applications and Oracle WebLogic Suite 12c.

WebLogic Server 12.1.1 VirtualBox Appliance

The virtual machine contains:

  • Oracle Linux 5, JDK 1.6 +
  • Oracle WebLogic Server 12.1.1
  • Oracle Coherence 3.7
  • Oracle TopLink 12.1.1
  • Hudson 2.2
  • Subversion 1.4.2
  • Apache Maven 3.0.1
  • NetBeans IDE 7.1 RC2
  • Oracle Enterprise Pack for Eclipse 12.1.1 / Eclipse 3.7
  • Easter Egg: Introductory Labs for Oracle Coherence 3.7

All details on download and importing the appliance can be found on the VirtualBox instructions page. No need to say that the appliance has been released for development and testing purposes.

Labs

The image contains four Labs:

  • Total Oracle WebLogic Server Development with Eclipse, Maven, and Hudson
  • Hands on with an end-to-end Java EE6 Application
  • A Step-By-Step Guide to Oracle Coherence
  • Running the Coherence Examples Project in Eclipse

These can be found in the /home/oracle/labs/ directory. Web links to these Labs can be found here.

Installing Windows8 in VirtualBox

September 19th, 2011 No comments

test drive Windows8 on VirtualBox Wanted to do a quick blog on installing Windows8 on VirtualBox. However work and stuff came in the way and of course now there are multiple sites describing it now like this quite short on Oracle blogs, Life Hacker Guide and How-To Geek. Since especially the first ones lack some screenshots, I’ll share mine:

More info on installing an OS like Ubuntu 11.04 on VirtualBox can give you some background on the general process of creating a new VirtualBox image.

Virtual PC (0×80004005) doesn’t tolerate VMWare or VirtualBox

August 22nd, 2011 No comments

Since I had to test some webpages with IE6 (please don’t ask), I wanted to use Windows XP Mode on my Windows 7 laptop (actually run it in VMWare as described here). Microsoft provides virtual machines (vhd files) to run in Microsoft Virtual PC.

KB958559 fails with 0x80004005

Rolling back the update

Windows Virtual PC for Windows 7 is released as an update for Windows 7, and has the Knowledge Base Article ID of KB958559. So I tried to install it. That went actually pretty well until I had to reboot my laptop. At about 98% of the update process during the reboot it gave an error and rolled back the update. The log showed:

Installation failure: Windows failed to install the following update with error 0×80004005: Update for Windows KB958559

Digging into the support forums and blog posts on the subject, the most common working solution I found to the problem was to uninstall VMWare and/or VirtualBox. After the uninstall you can install Virtual PC without the error and after that reinstall VMWare and/or VirtualBox.

VirtualBox Solved VBOX_E_FILE_ERROR 0x80BB0004

August 9th, 2011 No comments

Recently I wanted to share a VirtualBox Appliance with a colleague. So I tried to export the created appliance. Unfortunate this failed with a:

VBoxManage.exe: error: Code VBOX_E_FILE_ERROR (0x80BB0004) – File not accessible or erroneous file contents (extended info not available)

So I thought why not just copy it… Oh wait, first compact it to save some space and time using VBoxManage modifyvdi some.vdi compact:

>VBoxManage modifyvdi Windows7.vdi compact
0%...10%...20%...30%...40%...50%...60%...70%...80%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Code VBOX_E_FILE_ERROR (0x80BB0004) - File not accessible or erroneous file contents (extended info not available)

When I tried to copy or zip the file there were errors accessing it. Somehow the VirtualBox Appliance was still running fine. The files that make up the appliance weren’t locked.

Use CHKDSK

My laptop (the host of the appliance) is is running Windows7 and I decide to run chkdsk and found:

CHKDSK controleert de bestandsgegevens (stap 4 van 5)...
Leesfout met status 0xc0000185 op offset 0x17410c9000 voor 0x10000 bytes.
Leesfout met status 0xc0000185 op offset 0x17410d6000 voor 0x1000 bytes.
Er zijn beschadigde clusters in bestand 37907 met naam \Users\ppvdbeek\VIRTUA~2\Windows7\Windows7.vdi vervangen.

This is Dutch stating that there were bad sectors in the vdi file that had to be corrected. After that I could run the appliance, compact the disk and export the appliance successful.

On Linux you could use fsck (for “file system check”) in a similar case.