2333906 - SUM Java fails in step DEPLOY-JAVACORE with java.lang.SecurityException: User not authorized com.sap.engine.services.file.FileDataImpl.checkPermission | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2333906 - SUM Java fails in step DEPLOY-JAVACORE with java.lang.SecurityException: User not authorized com.sap.engine.services.file.FileDataImpl.checkPermission

Symptom

SUM report below error during deployment in step DEPLOY-JAVACORE 

---Trouble Ticket Report----

An error occured during the execution of Deploy Java Core Components of action execute.
Service com.sap.sdt.j2ee.services.servicesimpl.SDMService failed with the following message:

Cannot execute Java process for deployList with parameters <Drive>:\usr\sap\<SID>\SUM\sdt\tmp\deploy_list.txt.

For more information, see the log file<Drive>:\usr\sap\<SID>\SUM\sdt\log\SUM\DEPLOY-JAVACORE_XX.LOG.

 

----\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-JAVACORE_35.LOG------

[Info ]: AS Java process ID 3 has been started.
[Info ]: Command line: <Drive>:\usr\sap\<SID>\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=<Drive>:\usr\sap\<SID>\DVEBMGS00/SDM/program/lib -cp . -jar <Drive>:\usr\sap\<SID>\SDM\program\bin\SDM.jar deploy onerror=skipdepending updateversions=all list=<Drive>:\usr\sap\<SID>\SUM\sdt\tmp\deploy_list.txt sdmHome=<Drive>:\usr\sap\<SID>\DVEBMGS00/SDM/program logfile=<Drive>:\usr\sap\<SID>\SUM\sdt\log\SUM\OperateSDM_XX.LOG
[Info ]: Standard out:<Drive>:\usr\sap\<SID>\SUM\sdt\log\SUM\OPERATESDM_102.OUT
[Info ]: Process ID 3 has been started.
[Info ]: Waiting for process ID 3, name java.exe to finish.
[Info ]: Process ID 3, name java.exe has been finished, exit code 4.
[Info ]: Process ID 3, name java.exe has been terminated.
[Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmprocess.SDMProcessException: Cannot execute Java process for deployList with parameters <Drive>:\usr\sap\<SID>\SUM\sdt\tmp\deploy_list.txt.
Return code condition success evaluated to false for process java.exe for action ACTION_DEPLOY_LIST.
.

 

-----SUM\sdt\log\SUM\OperateSDM_xx.LOG---------

 

Jun 16, 2016 4:58:36 PM Info: End of log messages of the target system.
Jun 16, 2016 4:58:36 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Jun 16, 2016 4:58:36 PM Error: Aborted: development component 'tc~sec~sso~app'/'sap.com'/'SAP AG'/'7.0216.20140407133546.0000'/'34', grouped by software component 'SAP_JTECHS'/'sap.com'/'SAP AG'/'1000.7.02.17.11.20160127161704''/'33':
Caught exception during application deployment from SAP J2EE Engine's deploy API:
com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT updated. The Deploy Service returned the following error: java.lang.SecurityException: User not authorized.
Exception is:
java.lang.SecurityException: User not authorized.
at com.sap.engine.services.file.FileDataImpl.checkPermission(FileDataImpl.java:181)
at com.sap.engine.services.file.FileDataImpl.openWrite(FileDataImpl.java:89)
at com.sap.engine.services.file.FileDataImplp4_Skel.dispatch(FileDataImplp4_Skel.java:69)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:337)


Read more...

Environment

Netweaver 7.0x

Product

SAP ERP 6.0 ; SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

SDM com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction com.sap.engine.deploy.manager.component.ServerComponentsManager.makeComponent com.sap.engine.deploy.manager.DeployManagerException ,"Caught exception during library deployment from SAP J2EE Engine's deploy service" , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CTS-SDM , Software Delivery Manager for Java , 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.