!--a11y-->
Deploy
Tool Connection Problems 
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 exception:
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 exception:
com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials.
|
Scenario Type: |
Error analysis |
|
NetWeaver Component: |
J2EE |
|
Validity: |
SAP Web AS >= 6.30 |
-
Deploy Tool
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.

● Incorrect host and/or port
Solution:
Check the host and port in the Deploy Tool:
...
a. Select the Deployer tab.
b. Open the Deploy menu.
c. 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 50008 command version.


Wrong user name and/or password
Check your user name and password in the Deploy Tool.
1. Select the Deployer tab.
2. Open the Deploy menu.
3. Select Properties.

