1

I am new to Websphere and I found many answers for *.ear file deployment. Most of them use format similar to "

./wsadmin.sh -host vmllkb056933n.myspace.com -port 5000 -c '$AdminApp> install /apps/test-app.ear'

I am always getting errors like:

WASX8011W: AdminTask object is not available. WASX7015E: Exception running command: "$AdminApp install /apps/cdm-fi.ear"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.

I am in a RHEL 6 Environment and runing IBM Websphere 8.5.5.3

What is the easiest way to deploy ear file to IBM Websphere 8.5.5

ᄂ ᄀ
  • 5,669
  • 6
  • 43
  • 57
Balualways
  • 4,250
  • 10
  • 38
  • 51
  • Is the deployment manager started? `./startManager.sh` See this link for more details: https://www-304.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.admin.doc/tasks/tsrwasaixsolaris.htm%23tsrwasaixsolaris – Andy Guibert Jul 19 '15 at 15:23

2 Answers2

0

Make sure your are using the deployment manager wsadmin.sh and that the dmgr process is running. Also the port you reference should be the SOAP_CONNECTOR_ADDRESS of the dmgr. Referencing the cluster or server name in a federated environment tells the dmgr where to put the code, as in the two examples below.

$AdminApp install "myapp.ear" {-cluster clusterName}

or

$AdminApp install app_server_root/installableApps/DynaCacheEsi.ear
{-appname MyApp -cell myCell -node myNode -server server1
-filepermission .*\\.jsp=777#.*\\.xml=755}

Don't forget to save and syncnodes. As in the jython below.

AdminConfig.save()

AdminNodeManagement.syncActiveNodes()
T_Man
  • 76
  • 7
0

Try this.

Syntax :

installApp $earFile $appName $destinationDir $serverName $nodeName $cellName $wasprofile
Rajeesh Menoth
  • 1,704
  • 3
  • 17
  • 33
Tuyenpx
  • 1
  • 1