Quantcast
Channel: The Middleware Shop
Viewing all articles
Browse latest Browse all 156

CWWKF0001E A feature definition could not be found for Liberty Profile Addon

$
0
0

When a collective controller starts up, the following is seen in the console.log file

[ERROR ] CWWKF0001E: A feature definition could not be found for localconnectorconnector-1.0
 

When looking at the collective controller’s server.xml file, we can see that the local connector has been enabled to allow localized JMX connections.

<?xml version="1.0" encoding="UTF-8"?>

<server description="Collective Controller 1">


<!-- Enable features -->

<featureManager>

<feature>jsp-2.2</feature>

<feature>adminCenter-1.0</feature>

<feature>collectiveController-1.0</feature>

<feature>localconnectorConnector-1.0</feature>

<feature>restConnector-1.0</feature>

</featureManager>


<!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->

<httpEndpoint id="defaultHttpEndpoint"

         host="192.168.0.40"

httpPort="9080"

httpsPort="9443" />


<variable name="defaultHostName" value="node01.localdomain" />


<quickStartSecurity userName="wasadmin" userPassword="wasadmin" />


<!-- clientAuthenticationSupported set to enable bidirectional trust -->

<ssl id="defaultSSLConfig"

keyStoreRef="defaultKeyStore"

trustStoreRef="defaultTrustStore"

clientAuthenticationSupported="true" />


<!-- inbound (HTTPS) keystore -->

<keyStore id="defaultKeyStore" password="{xor}LDo8Ki06Mjo="

location="${server.config.dir}/resources/security/key.jks" />


<!-- inbound (HTTPS) truststore -->

<keyStore id="defaultTrustStore" password="{xor}LDo8Ki06Mjo="

location="${server.config.dir}/resources/security/trust.jks" />

 
<!-- server identity keystore -->

<keyStore id="serverIdentity" password="{xor}LDo8Ki06Mjo="

location="${server.config.dir}/resources/collective/serverIdentity.jks" />


<!-- collective trust keystore -->

<keyStore id="collectiveTrust" password="{xor}LDo8Ki06Mjo="

location="${server.config.dir}/resources/collective/collectiveTrust.jks" />


<!-- collective root signers keystore -->

<keyStore id="collectiveRootKeys" password="{xor}LDo8Ki06Mjo="

location="${server.config.dir}/resources/collective/rootKeys.jks" />


</server>

 

The problem is likely that the server.xml was copied and or generated, however the features has not yet been added to the collective.

The following command will allow the install of the local connector using a local features repository.

<instance_root>/bin/installUtility install localconnector-1.0 --from=/var/apps/installs/LibertyAddons8.5.5.7

 

 

Note a downloaded Liberty Add on repository exists at:

/var/apps/installs/LibertyAddons8.5.5.7

The problem can also arise from miss spellings for example:

<feature>localconnectorConnector-1.0</feature>

Should be

<feature>localConnector-1.0</feature>

 


 

You can get more information from my new Liberty Profile ND Course, for details on how to purchase this course, please send a ticket to http://support.themiddlwareshop.com detailing your interest in a course on Liberty Profile.

facebooktwittergoogle_plusredditpinterestlinkedinmail

Viewing all articles
Browse latest Browse all 156

Trending Articles