Oracle WebLogic Server 12c: Administration I — Question 29
You successfully deployed an application on WebLogic 12c but notice that its deployment name is different than what you expected.
After checking various places and making multiple deployment attempts, you decide to be on the safe side and just use the method that takes precedence over the others when setting the deployment name. Which method should you use to override the default deployment name?
Answer options
- A. Define the name in the library's manifest file
- B. Configure the <module-name> element in web.xml
- C. Run weblogic.Deployer with the ""name option
- D. Set a computed name based on the deployment source file
- E. Set the <application-name> element in application.xml
Correct answer: E
Explanation
The correct answer is E because the <application-name> element in application.xml specifically allows you to set the name used for the application deployment, which takes precedence. The other options either set names for specific modules or utilize methods that do not override the default deployment name effectively.