Bug 873494
Summary: | [iis] Discovery of IIS VHost fails due to Win32Exception: MetaBaseInit: Can't CoCreateInstance from Sigar | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | |
Component: | Plugin -- Other | Assignee: | RHQ Project Maintainer <rhq-maint> | |
Status: | CLOSED WONTFIX | QA Contact: | Mike Foley <mfoley> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | JON 3.1.0 | CC: | ajuricic, myarboro | |
Target Milestone: | --- | |||
Target Release: | JON 3.1.2 | |||
Hardware: | All | |||
OS: | Windows | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 873495 (view as bug list) | Environment: |
Microsoft Windows [Version 6.0.6002] 64-bit (Windows Server 2008 R2 Standard
IIS 7.0.6000.16386
Oracle JVM 64-bit:
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Oracle JVM 32-bit:
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)
|
|
Last Closed: | 2012-11-20 20:59:57 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 873495 | |||
Bug Blocks: |
Description
Larry O'Leary
2012-11-06 02:10:34 UTC
I did some quick looking and came up empty so far. Looking at the API, the method being invoked which causes this failure is win32_MetaBase_MetaBaseInit. Specifically: pIMeta = new (CComPtr <IMSAdminBase>); hRes = CoCreateInstance(CLSID_MSAdminBase, NULL, CLSCTX_ALL, IID_IMSAdminBase, (void **)pIMeta); if (FAILED(hRes)) { jclass cls = env->FindClass(WIN32_PACKAGE "Win32Exception"); env->ThrowNew(cls, "MetaBaseInit: Can't CoCreateInstance"); return 0; } Perhaps this issue impacts only this version of IIS or this version of Windows? The steps I used to reproduce this used an IIS 7.0 server. The user who reported the error indicated they were using IIS 7.5. Perhaps we need to test this in another version of Windows too? As described by Jiri Kremser, a workaround exists. I have performed some tests and it worked. Basically you need to "install the IIS 6.0 Metabase Compatibility component from the IIS/Metabase Compatibility category in the Turn Windows Features On And Off page of Control Panel\Programs And Features on, or the IIS role in the Server Manager tool on Windows Server 2008." 1) Go to Control Panel on Windows 2) Click on Turn Windows features on or off 3) In Server manager click on Roles 4) Right-click on Web Server (IIS) 5) Choose Add Role Services option 6) Select IIS 6 Metabase Compatibility option and install Setting target back to 3.1.2 to see if we can get this into the next bug fix release. IIS 7.5 is not supported by plugin. |