Saturday, 30 April 2016

Error Not Found, while importing Blueprint using BBNA cmd

Error Not Found, while importing Blueprint using BBNA command:-


While importing the Blueprint (Pod or Container) using command prompt in BBNA, an error occurred saying “Error Not Found”

Above error is caused because of the following reasons.
1) While passing import.bat command in BBNA, BBNA url should be passed as “https”. In my case, I passed it as 'http' instead of ‘https’

2) If the error occurred while importing container, then elements in pod blueprint doesn’t match with the elements in container blueprint.

Review & validate the blueprint elements in pod and update the corresponding elements in container.

RPC Timeout Error -- Timeout during Database Update during Hub & Spoke Registration

Error – RPC Timeout , Timeout during Database Update during Hub & Spoke Registration

Verify the following AR Server Configurations on Hub Server while registration

1. Verify the Server-Plugin-Timeout and increase it to 600(if needed)

2. Verify the server configuration by looking into ar.cfg file for Dev Cache Mode. If Dev Cache mode is enabled, then disable the Dev Cache Mode by updating the ar.cfg file with
Cache Mode: 0

Now, Hub & Spoke Registration should work properly.

Saturday, 30 January 2016

How to Delete a Container in BBNA

BCAN Utility Command:-

container-util.bat -url <url of bbna> -user <username> -password <password> -operation deprovision_container -containerName <name of the container to be deleted> -deleteonFailureFlag true

How to generate keystore in Tomcat

Sometime back, i was working for a customer, wherein implementing ASSO for CLM. During that time, i found and recorded the below commands for generating certificate using keystore in Tomcat.

Below are the commands used to generate keystore and certificate.

Command to generate keystore :-

keytool -genkey -alias <aliasname> -keyalg RSA -sigalg SHA1withRSA -keysize <Keysize = 1024 or 2048> -keystore <KeystorePathwith.p12 extn> -storepass <storepassword> -ext SAN=URI:<https://<SSO1ofFQDN>,SAN=URI:<https://<SSO2ofFQDN> -storetype PKCS12 -providername JsafeJCE

here storetype & provider name differs based on the Java version present in the system

Export the certificate(.cer) from keystore :-

keytool -export -storepass <changeit > -file <Pathtocertificate>.cer -keystore <pathtokeystore>

Import the certificate in to keystore :-

keytool -importcert -alias <ASSOFQDN> -keystore <conf dirofTomcat> -storepass <changeit> -file <path2certificate> -storetype PKCS12 -providername JsafeJCE