SAP Knowledge Base Article - Preview

2898533 - AS Java deployment fails - WebDeploymentException - FileNotFoundException - The system cannot find the path specified

Symptom

Deployment in SAP NetWeaver Application Server Java (AS Java) fails. deploy.<x>.trc in instance work directory "\usr\sap\<SID>\<instnr>\work" shows the following exception:

[...]
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception in operation [update] with application [<...>].
[...]
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception while [downloading files of application <...>].
[...]
Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot download the information about application [<...>] from the database.
[...]
Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot extract war file [temp_<...>.war] of application [<...>].
[...]
Caused by: java.io.FileNotFoundException: F:\\usr\\sap\\<SID>\\<instnr>\\j2ee\\cluster\\apps\\sap.com\\<...>\\<...>\\<...>.class (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
at java.io.FileOutputStream.<init>(FileOutputStream.java:151)
at com.sap.engine.services.servlets_jsp.server.deploy.ActionBase.extractFile(ActionBase.java:2916)
at com.sap.engine.services.servlets_jsp.server.deploy.ActionBase.extractJar(ActionBase.java:2841)
at com.sap.engine.services.servlets_jsp.server.deploy.ActionBase.extractWar(ActionBase.java:1459)
... 35 more

However, the folders incuding the files and its classes are present in the Operation System's (OS) filesystem.


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

Unable to create temporary directory for webservices needs, Unable to create temporary directory, The system cannot find the path specified , KBA , BC-JAS-DPL , Deployment , BC-OP-SUN , SUN Solaris , BC-OP-AIX , IBM AIX , BC-OP-AS4 , IBM AS/400 , BC-OP-HPX , HP-UX , BC-OP-LNX , Linux , BC-OP-NT , Windows , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.