Invalid source path error while starting managed servers | Weblogic
Facing the below exception and the manage server is not starting up
####<May 12, 2012 1:35:12 AM BST> <Error> <Deployer> <doingok> <manageserver12> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1338078912236> <BEA-149205> <Failed to initialize the application 'TpStatus' due to error weblogic.management.DeploymentException: Exception occured while downloading files. weblogic.management.DeploymentException: Exception occured while downloading files at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:43) at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56) at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97) at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:683) at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:725) at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:104) at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40) at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191) at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Error cause by(Continued):
Caused By: java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "0". Underlying error is: "[DeploymentService:290065]Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "0" from server "manageserver12". Exception is: "Invalid source path : /wls_domains/servers/admin_upload/TpStatus.war"."
Rest of exception Continued
at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86) at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153) at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39) at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:57) at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97) at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:683) at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:725) at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:104) at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40) at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191) at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
We tried below steps to make it work.
1- Stop all your servers
2- Remove the offending entry from the config.xml file, if it is still there. It could be something similar to this:
<app-deployment> <name>TpStatus</name> <target>Cluster1</target> <module-type>ear</module-type> <source-path>scratch\TpStatus-342557.ear</source-path> <plan-path>D:\app\user_projects\domains\apps\config\plan\Plan-TpStatus-342557.ear.xml</plan-path> <security-dd-model>DDOnly</security-dd-model> <staging-mode>stage</staging-mode> </app-deployment>
3- Restart all the servers(Clear cache and tmp folders)
4- copy your ear/war from its original location (to avoid the possibility of a trashed file)
5- deploy once again the app in the WLS console (activating the change, and then try to start the application in ACTIVE state)
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.
thanks very much!!!
glad it helped
Do we know why it happens??