Date Created: Sat 07-May-2011

Related Document Categories:


    Problem when installing an application using property based installation on Webshere 8

    wsadmin>AdminTask.applyConfigProperties(['-propertiesFileName /root/was8book/props/hrlister_install.props -reportFileName /root/was8book/props/install_report.txt '])
    WASX7015E: Exception running command: "AdminTask.applyConfigProperties(['-propertiesFileName /root/was8book/props/hrlister_install.props -reportFileName /root/was8book/props/install_report.txt '])"; exception information:
    com.ibm.ws.management.wasresource.common.WASResourceException: com.ibm.ws.management.wasresource.common.WASResourceException: com.ibm.ws.management.wasresource.common.WASResourceOperationException: java.lang.Exception: Application install/uninstall failedADMA5014E: The installation of application HRListerEAR failed.

    Change the property file used in props based deployment from :


    #AdminTask.applyConfigProperties(['-propertiesFileName /root/was8book/props/hrlister_install.props -reportFileName /root/was8book/props/install_report.txt '])
    #
    # Header
    #
    ResourceType=Application
    ImplementingResourceType=Application
    CreateDeleteCommandProperties=true
    ResourceId=Deployment=

    # Properties
    Name=HRListerEAR
    TargetServer=!{serverName}
    TargetNode=!{nodeName}
    EarFileLocation=/root/was8book/deploy/
    #
    EnvironmentVariablesSection
    #
    #
    #Environment Variables
    applicationName=HRListerEAR
    cellName=s15418557Node01Cell
    serverName=server01
    nodeName=node01

    to


    #AdminTask.applyConfigProperties(['-propertiesFileName /root/was8book/props/hrlister_install.props -reportFileName /root/was8book/props/install_report.txt '])
    #
    # Header
    #
    ResourceType=Application
    ImplementingResourceType=Application
    CreateDeleteCommandProperties=true
    ResourceId=Deployment=

    # Properties
    Name=HRListerEAR
    TargetServer=!{serverName}
    TargetNode=!{nodeName}
    EarFileLocation=/root/was8book/deploy/HRListerEAR.ear
    #
    EnvironmentVariablesSection
    #
    #
    #Environment Variables
    applicationName=HRListerEAR
    cellName=s15418557Node01Cell
    serverName=server01
    nodeName=node01

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories