Show TOC

Deploy Tool Connection ProblemsLocate this document in the navigation structure

Problem Description

Application deployment or any connection to the Web AS using the Deploy Tool fails with one of the following error messages:

  • ERROR: Cannot connect to Host [host] with Username [username] Check your Login info:

    This is the e xception:

    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext .

  • ERROR: Cannot connect to Host [host] with Username [username] Check your Login info:

    This is the e xception:

    com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials .

    Scenario Type:

    Error analysis

    SAP NetWeaver Component:

    J2EE

    Validity:

    SAP Web AS >= 6.30

Decision Roadmap

Prerequisites

-

Main Tools

Deploy Tool

Execution

First you may use the connect option from the menu or the toolbar button of the Deploy Tool to test the connection.

If the connect button changes to this button , a connection has been established to the server. If the connection fails, see below.

Analysis

Case 1

Noticing the problem in the Deploy Tool:

In the Deploy Tool you see one of the messages mentioned in the Problem Description section of this page.

Possible reasons:

  • Incorrect host and/or port

    Solution:

    Check the host and port in the Deploy Tool:

    1. Select the Deployer tab.
    2. Open the Deploy menu.
    3. Select Properties.

  • Network problems

    Solution:

    If the server is on a remote computer type in your browser: http://host:<host>:50000 or telnet <host> 50008

  • Different versions of the Deploy Tool and the J2EE Engine

    Solution:

    Make sure that the versions of Deploy Tool and the J2EE Engine are the same.

    In <Deploy Tool directory>\lib there is a file SapJ2eeEngineDeploy.jar. In this file there is a META-INF/manifest.mf file. Inside this file there is a property AppServer-Change-List: xxxxx where xxxxx are numbers and they must be the same as the first numbers on the server patch level. The patch level of the server can be checked via telnet:

    telnet host 50008command version.

Case 2

Noticing the problem in the Deploy Tool:

Possible reasons:

Wrong user name and/or password

Solution:

Check your user name and password in the Deploy Tool.

  1. Select the Deployer tab.
  2. Open the Deploy menu.
  3. Select Properties.