Deploying the vSphere Data Protection 6.1.2 plug-in fails with the error: Type 'com.vmware.vim.binding.vim.dvs.PortConnection' not found
search cancel

Deploying the vSphere Data Protection 6.1.2 plug-in fails with the error: Type 'com.vmware.vim.binding.vim.dvs.PortConnection' not found

book

Article ID: 326942

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
When VMware vSphere Data Protection (VDP) 6.1.2 appliance is connected to a vSphere distributed switch in VMware vCenter Server 5.5 or 6.0, you experience these symptoms:
  • Deploying the VDP 6.1.2 plug-in fails.
  • Cannot connect to the VDP appliance.
  • In the virgo logs of the vSphere client, you see entries similar to:

    [ERROR] http-bio-9443-exec-9 Endpoint.AMF Cannot create class of type 'com.vmware.vim.binding.vim.dvs.PortConnection'.
    flex.messaging.MessageException: Cannot create class of type 'com.vmware.vim.binding.vim.dvs.PortConnection'. Type 'com.vmware.vim.binding.vim.dvs.PortConnection' not found

     

    Note:



Environment

VMware vSphere Data Protection 6.1.x

Cause

This issue occurs due to the com.vmware.vim.binding.vim.dvs package in the MANIFEST.MF file.

Resolution

This issue is resolved in vSphere Data Protection 6.1.3 available at VMware Downloads.
 
To work around this issue if you do not want to upgrade, apply a hotfix to your VDP appliance and to the VDP plug-in in your vCenter Server.
 

Apply hotfix on vSphere data protection

  1. Download the 2145686_vdp-hotfix.tar.gz file attached to this Knowledge Base article to the /tmp directory in your VDP appliance.
  2. Extract the 2145686_vdp-hotfix.tar.gz.zip file by running these commands:

    unzip 2145686_vdp-hotfix.tar.gz.zip
    tar -zxvf vdp-hotfix.tar.gz
     
  3. Change directory to the script folder:

    cd vdp-hotfix
     
  4. Run this command to install the hotfix:

    sh VDPHotfix.sh
     
  5. Restart the VDP appliance.

After the successful application of the hotfix to the VDP appliance, apply the applicable hotfix for your vCenter Server installation.
 

Apply hotfix on vCenter Server (Windows)

To apply the hotfix to your Windows vCenter Server:
  1. Download the 2145686_Hotfix-dvs-windows-vc.zip file attached to this Knowledge Base article to any directory, such as C:\, in Windows vCenter Server.
  2. Extract the 2145686_Hotfix-dvs-windows-vc.zip file.
  3. Open the command prompt and navigate inside the directory where zip file is extracted.

    For example, C:\Hotfix-dvs-windows
     
  4. Run the VDPvCenterHotfix.bat file to install the hotfix.
  5. Select yes(y) to restart vSphere Web Client service.
 

Apply hotfix on vCenter Server Appliance ( Linux)

To apply the hotfix to your vCenter Server Appliance:
  1. Download the 2145686_Hotfix-dvs-linux-vc.zip file attached to this Knowledge Base article to /tmp directory in vCenter Server Appliance.
  2. Extract the 2145686_Hotfix-dvs-linux-vc.zip file by running these commands:

    unzip 2145686_Hotfix-dvs-linux-vc.tar.gz.zip
    tar -zxvf Hotfix-dvs-linux-vc.tar.gz
     
  3. Change directory to the script folder:

    cd Hotfix-dvs-linux-vc
     
  4. Run the hotfix script:

    sh VDPvCenterHotfix.sh
     
  5. Select yes(y) to restart vSphere Web Client service.
 
The hotfix deploys the VDP Plugin when a VMware vSphere distributed switch is used.


Additional Information

Location of VMware vCenter Server 6.0 log files
部署 vSphere Data Protection 6.1.2 插件失败并出现以下错误:找不到类型“com.vmware.vim.binding.vim.dvs.PortConnection”(Type 'com.vmware.vim.binding.vim.dvs.PortConnection' not found)
vSphere Data Protection 6.1.2 プラグインのデプロイが次のエラーで失敗する:タイプ「com.vmware.vim.binding.vim.dvs.PortConnection」が見つかりません(Type 'com.vmware.vim.binding.vim.dvs.PortConnection' not found)

Attachments

2145686_Hotfix-dvs-windows-vc.zip get_app
2145686_Hotfix-dvs-linux-vc.tar.gz.zip get_app
2145686_vdp-hotfix.tar.gz.zip get_app