Cannot deploy the web application

You cannot deploy the web application in the IBM Content Navigator Configuration and Deployment Tool.

Symptoms

For the Deploy the Web Application task in the IBM Content Navigator Configuration and Deployment Tool, you receive an error when you click Finish or Run.

Causes

This error can occur for the following reasons:
  • You are no longer connected to the web application server.
  • The IBM Content Navigator Configuration and Deployment Tool encounters an out of memory exception on WebSphere® Application Server Network Deployment.

Diagnosing the problem

If you can establish a connection to the web application server (see the steps for establishing a connection in "Resolving the problem") review the following log files:
  • Review the SystemOut.log file on the deployment manager.
  • Review the deployapplication.failed log file in the configure/tmp directory of the IBM Content Navigator installation directory. You should an entry similar to the following message:
    JVMDUMP010I System dump written to /opt/IBM/WebSphere/AppServer/profiles/
    Custom01/bin/core.20130522.125247.24366.0001.dmp
    JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemory
    Error"at 2013/05/22 12:53:15 - please wait.
    JVMDUMP032I JVM requested Heap dump using '/opt/IBM/WebSphere/AppServer/
    profiles/Custom01/bin/heapdump.20130522.125247.24366.0002.phd' in response 
    to an event
    JVMDUMP010I Heap dump written to /opt/IBM/WebSphere/AppServer/profiles/
    Custom01/bin/heapdump.20130522.125247.24366.0002.phd
    JVMDUMP032I JVM requested Heap dump using '/opt/IBM/WebSphere/AppServer/
    profiles/Custom01/bin/heapdump.20130522.125315.24366.0003.phd' in response
     to an event
    JVMDUMP010I Heap dump written to /opt/IBM/WebSphere/AppServer/profiles/
    Custom01/bin/heapdump.20130522.125315.24366.0003.phd
    JVMDUMP032I JVM requested Java dump using '/opt/IBM/WebSphere/AppServer/
    profiles/Custom01/bin/javacore.20130522.125247.24366.0004.txt' in response 
    to an event
    JVMDUMP010I Java dump written to /opt/IBM/WebSphere/AppServer/profiles/
    Custom01/bin/javacore.20130522.125247.24366.0004.txt
    JVMDUMP032I JVM requested Snap dump using '/opt/IBM/WebSphere/AppServer/
    profiles/Custom01/bin/Snap.20130522.125247.24366.0006.trc' in response 
    to an event
    JVMDUMP010I Snap dump written to /opt/IBM/WebSphere/AppServer/profiles/
    Custom01/bin/Snap.20130522.125247.24366.0006.trc
    JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemory
    Error". 

Resolving the problem

To establish a connection to the web application server, do the following steps:
  1. Restart the web application server.
  2. Close the IBM Content Navigator Configuration and Deployment Tool and start it again.
  3. Test the connection to the web application server:
    • On the Connect to WebSphere Application Server task, click Test Connection.
    • On the Connect to Oracle WebLogic Server task, click Test Connection.
Tip: After you establish a connection with the web application server, you can verify that the connection is successful by verifying that the following properties are populated with values:
  • For IBM WebSphere Application Server standard deployments:
    • Application server node
    • Application server name
  • For IBM WebSphere Application Server Network Deployment deployments that are not in a cluster:
    • Application server node
    • Application server name
  • For WebSphere Application Server Network Deployment highly available cluster deployments:
    • Application server cluster name

If the application cannot be deployed because the IBM Content Navigator Configuration and Deployment Tool encounters an out of memory exception on WebSphere Application Server Network Deployment increase the Java virtual machine (JVM) minimum heap size on the deployment manager to at least 1024 MB.

If increasing the JVM minimum heap size on the deployment manager server does not resolve the problem, you must modify the initial heap size and the maximum heap size in the wsadmin file. For more information, see Resolving out of memory exceptions when you deploy IBM Content Navigator on WebSphere Application Server.