Forum Stats

  • 3,708,902 Users
  • 2,241,153 Discussions
  • 7,840,697 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Enterprise Manager Cloud Control Weblogic Server Signature Rule Test Fails with Error: Invalid signa

Creating a Compliance Standard Rule in Enterprise Manager (EM) 12c Cloud Control fails to validate the Signature Definition on the Check Definition page, failing with the error:

Invalid signature definition. Please provide a valid signature definition

The Signature Definition is taken from the Oracle Documentation:

For EM 13c:http://docs.oracle.com/cd/E73210_01/EMLCM/GUID-3C08F285-AC70-4E0D-B770-757D281CA907.htm#EMLCM10891

Enterprise Manager Lifecycle Management Administrator's Guide
Release 13.2
Chapter 46 Managing Compliance
46.1 Overview of Compliance
46.1.3 Roles and Privileges Needed to Use the Compliance Features

46.4.7.2 Creating a WebLogic Server Signature Compliance Standard Rule

<SignatureDefinition>
   <MBeanList>
      <MBean scoreBase="true" mBeanType="ServerRuntime">
         <AttributeName>Name</AttributeName>
         <AttributeName>WeblogicVersion</AttributeName>
      </MBean>
   </MBeanList>
   <XQueryLogic>declare function local:getServerRuntimesEqualToVersionWithPatch

For EM 12c:

Enterprise Manager Lifecycle Management Administrator's Guide
12c Release 5
Chapter 45 Managing Compliance
45.1 Overview of Compliance
45.1.3 Roles and Privileges Needed to Use the Compliance Features
45.4.7.2 Creating a WebLogic Server Signature Compliance Standard Rule

<SignatureDefinition>
     <MBeanList>
         <MBean scoreBase="true" mBeanType="ServerRuntime">
             <AttributeName>Name</AttributeName>
             <AttributeName>WeblogicVersion</AttributeName>
         </MBean>
     </MBeanList>
     <XQueryLogic>declare function local:getServerRuntimesEqualToVersionWithPatch

To fix this issue,

We have to add the string "xmlns="http://www.oracle.com/DataCenter/ConfigStd"" in the Signature Definition to avoid this issue.

This is how it should look like:

<SignatureDefinition xmlns="http://www.oracle.com/DataCenter/ConfigStd">
   <MBeanList>
      <MBean scoreBase="true" mBeanType="ServerRuntime">
         <AttributeName>Name</AttributeName>
         <AttributeName>WeblogicVersion</AttributeName>
      </MBean>
   </MBeanList>
   <XQueryLogic>declare function local:getServerRuntimesEqualToVersionWithPatch

Reference Document:

Doc ID 2227682.1 : EM12c, EM13c: Enterprise Manager Cloud Control Weblogic Server Signature Rule Test Fails with Error: Invalid signature definition

Sign In or Register to comment.