Skip to Content
Author's profile photo Manoj Venkata Aditya Vempati

Troubleshooting: Unable to add SAP AS Java in NWDS

Problem Faced:


Unable to add SAP AS Java in NWDS.
/wp-content/uploads/2014/09/1_546258.png


I had a scenario wherein I have to deploy a custom adapter module. Traditional way of doing it is by registering the SAP instance and then deploying the EAR file on the desired server.


But, when I tried to register the SAP instance by giving Instance host name and instance number and clicking OK, nothing happened. When I entered a wrong host instance name or a wrong instance number the NWDS showed me an error message. Otherwise, if everything is correct, it just closes the popup window and returns to the SAP AS Java initial screen with no system on it.


When I tried deploying the module without registering the SAP Instance, NWDS showed NullPointerException.


/wp-content/uploads/2014/09/2_546259.png


Resolution:

1. Stop the server

2. Open DEAFULT.PLF file in “/usr/sap/(SID)/SYS/profile”

3. Set the parameter “service/protectedwebmethods” to DEFAULT

       /wp-content/uploads/2014/09/3_546278.png  

4. Restart the server

In most of the projects, BASIS team will have the access to above mentioned directory. Asking BASIS team to perform the above activity is recommended.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      I have same issue, hope it is work, thanks.