Tuesday, July 24, 2018

[DeploymentService:290066]Error occurred while downloading files from admin server

Version
========

Weblogic 10.3.6
Enterprisse Linux 6

Error :
=======

While trying to deploy a file  and click save below given error was found



An error occurred during activation of changes, please see the log for details.
Message icon - Error Exception occured while downloading files
Message icon - Error [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "1,517,969,705,031". Underlying error is: "null"

Checking Admin Server Log
=====================

####<Feb 7, 2018 5:44:22 AM UTC> <Info> <Deployer> <mmvbaxaesgp0010.int.oracleindustry.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <85f6879dee15bd51:77664bc0:1616df7a653:-8000-000000000000008f> <1517982262166> <BEA-149038> <Initiating Task for Signal : [Deployer:149026]deploy application Signal on SignalServer.>
####<Feb 7, 2018 5:44:31 AM UTC> <Warning> <DeploymentService> <host1.oracle.com> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <85f6879dee15bd51:77664bc0:1616df7a653:-8000-0000000000000090> <1517982271238> <BEA-290065> <Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "1,517,982,262,115" from server "SignalServer". Exception is: "java.io.FileNotFoundException: /u01/app/Oracle/Install/App/relnotes/Release_Notes.pdf (Permission denied)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:120)

Also so messages in log like

####<Feb 7, 2018 5:44:31 AM UTC> <Warning> <Deployer> <mmvbaxaesgp0010.int.oracleindustry.com> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <85f6879dee15bd51:77664bc0:1616df7a653:-8000-0000000000000091> <1517982271450> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: Exception occured while downloading files

Reason
======
It was a case of improper permission settings at file level. While checking that particular file, it was identified that the ownership of the file was with root whereas the application owner was oracle.

Solution
======

Changed permission and solved

-rw-r-----. 1 root       root         188529 Nov 13 12:31 Release_Notes.pdf
 cd /u01/app/Oracle/Install/App/relnotes


Changed to
-rw-r-----. 1 oracle       oinstall        188529 Nov 13 12:31 Release_Notes.pdf



No comments:

Post a Comment