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
Another example:
[...]
com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 Operation [deploy] of [<name of the application>] failed
[...]
Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: <...>
[...]
Caused by: com.sap.engine.services.deploy.container.rtgen.GenerationException: Cannot detect persistence unit modules in 'client.jar' under '/usr/sap/<SID>/<instnr>/j2ee/cluster/server<x>/temp/deploy/<...>.sda<...>'
[...]
Caused by: java.io.FileNotFoundException: /usr/sap/<SID>/<instnr>/j2ee/cluster/server<x>/temp/deploy/<...>.sda<...>/client.jar (No such file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:244)
at java.util.zip.ZipFile.<init>(ZipFile.java:171)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
[...]
Another example:
[...]
Caused by: com.sap.engine.services.dbcontainer.DBContainerException: [ERROR CODE DPL.DBC.102] failed to deploy com.sap.aii.af.uds.dbc.sda, caused by java.io.FileNotFoundException: sap.com~com.sap.aii.af.uds_imp.log (Access is denied).
[...]
Caused by: java.io.FileNotFoundException: sap.com~com.sap.aii.af.uds_imp.log (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at java.io.FileWriter.<init>(FileWriter.java:78)
at com.sap.sl.util.dbaccess.impl.DBTaskLogger.<init>(DBTaskLogger.java:36)
at com.sap.sl.util.dbaccess.impl.DBTask.dbImport(DBTask.java:323)
at com.sap.engine.services.dbcontainer.lib.DBDeployLibImpl.updateDbContent(DBDeployLibImpl.java:82)
at com.sap.engine.services.dbcontainer.DBContentContainer.deliverDBSC(DBContentContainer.java:256)
... 29 more
However, the folders including 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
Keywords
Unable to create temporary directory for webservices needs, Unable to create temporary directory, The system cannot find the path specified, Access is denied , KBA , BC-JAS-DPL , Deployment , BC-OP-AS4 , IBM AS/400 , BC-OP-NT , Windows , BC-OP-LNX , Linux , BC-OP-AIX , IBM AIX , BC-OP-HPX , HP-UX , BC-OP-SUN , SUN Solaris , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.