Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE 12c: Deploy bicustom.ear using WLST

Received Response
41
Views
6
Comments
OracleUser_MUC6U
OracleUser_MUC6U Rank 5 - Community Champion

Hi,

We have created custom styling for our application and I want to deploy the bicustom.ear file to the target Weblogic server using WLST rather than via the console.  Anyone know of any documentation on thiss or have examples of WLST scripts to do this?

Thanks

Adrian

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    Out of curiosity: why the .ear approach rather than the "old" analyticsRes deployment approach?

  • Hi Adrian,

    What you look for is the command "deploy".

    Super simple to use:

    1) you connect

    2) you call deploy giving it the name of the app, the path of the EAR and the target (server or cluster) (for example: deploy(appName='bicustom',path='path_to_your_file/bicustom.ear',targets='bi_cluster')   )

    3) disconnect

    Done !

    https://docs.oracle.com/middleware/12212/lcm/WLSTG/config_wls.htm#WLSTG221

  • OracleUser_MUC6U
    OracleUser_MUC6U Rank 5 - Community Champion

    The "old" analyticsRes deployment approach is good in development environment styling changes take effect immediately, however to move the styling changes across environments (QA/Production)  the packaging into an .ear means its a simple deploy to the weblogic server as a application.

  • OracleUser_MUC6U
    OracleUser_MUC6U Rank 5 - Community Champion

    Hi Gianni,

    Yes I just found some docs on the app deploy. Thank you for the summary steps :-)

    https://docs.oracle.com/middleware/12212/lcm/WLSTG/config_wls.htm#WLSTG222

    Thanks

    Adrian

  • You found the doc posted 5h ago, as it's the official one...

    Can you please close the thread? For now it's still This question is Not Answered.

    And for the EAR vs /analyticsRes I would say it's as simple as EAR to deploy /analyticsRes in the various environment, mainly if you (and I hope you do) version the content in GIT or another versioning system. So the deployment is just a checkout of a branch / tag.

  • OracleUser_MUC6U
    OracleUser_MUC6U Rank 5 - Community Champion

    Bit extra configuration with /analyticsRes i.e. entry in instanceconfig.xml and then creation of the AnalyticsRes application.

    whereas

    only need to do deployment of app bicustom.ear, no editing of instanceconfig.xml which is one less task for production env.

    Thanks for your help

    appreciate it!

    Adrian