WebLogic Server - Upgrade / Install / Environment / Migration
Deployment error on solaris for MS1 and MS2
Hello, I have set up weblogic server on solaris and installed Application development runtime on top of it. I have one admin server and 2 managed servers . I have created an upload folder at location where i upload my war files for the applications I deploy => /d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer But when i try to deploy these apps manually through the admin console on my managed servers MS1 and MS2 i always get this error => weblogic.management.DeploymentException: [Deployer:149003]Unable to access application source information in '/d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/MS1/stage/deletionApp/deletionApp.war' for application 'deletionApp'. The specific error is: [Deployer:149158]No application files exist at '/d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/MS1/stage/deletionApp/deletionApp.war'.. What is the reason for the error? Is this a permissions issue? Any help will be appreciated! Thanks in advance for taking time to reply!
Hi, The deployment used is Stage mode, so make sure the location /d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer has all the permissions as the copy of the application would be downloaded by the managed servers for the access. Regards, Rohit Jaiswal
Hello, Are you trying to deploy the application via Upload function in Admin Console? And was this application deployed first time when you got this error? I came across similar issue and i was not able to see the application in the console and I landed in editing config.xml to remove the <application ...> tag for that particular application and restarting the admin server. If you are able to see the application in the deployment list in the console then try deleting it first and re-deploying it again. As a work-around you can always copy the war/ear in /d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/MS1/stage/deletionApp location and try starting the application. Let me know if this was helpful. Thanks, Sunil N
Hi Sunil, I keep getting this error when I try to deploy my app to MS1 or MS2 on solaris ....I have logged in as a sudo user and gave 777 access so it shows owner as me and not a root (dont know if that could be one of the potential causes)=> weblogic.management.DeploymentException: [Deployer:149003]Unable to access application source information in '/d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/MS1/stage/STUsageApp/STUsageApp.ear' for application 'STUsageApp'. The specific error is: [Deployer:149158]No application files exist at '/d/apps/Oracle/Middleware/user_projects/domains/base_domain/servers/MS1/stage/STUsageApp/STUsageApp.ear'.. Message icon - Warning Errors were encountered while performing this operation. As you mentioned I copied the files to the stage directory too but when I try to start serving requests for this war file the war file disappears from the stage folder...I am deploying this manually from the admin console Edited by: user9021545 on Jun 14, 2011 10:06 AM Edited by: user9021545 on Jun 14, 2011 10:06 AM
Hello, Also, Try deleting the current [problematic] application from admin console by taking Lock & Edit and activate the changes once deleted and then do the deployment. Thanks, Sunil N
Yes, I did that and deleted and tried redeploying but did not work....Is this an access issue? Why cant the stage folder see the war file? when i deploy the war file .....is it okay if i deploy it in a random folder outside with 777 privilege and under my name?