0

I'm trying to fix some problems with a web app running on Weblogic 12c, and I've seen many users give advice to edit a file called weblogic.xml

This seems easy enough, except that there are multiple files called weblogic.xml in my directories. Which one am I supposed to edit? Specifically, I'm trying to do a fix like in this question.

Community
  • 1
  • 1
Barry McNamara
  • 689
  • 9
  • 18

2 Answers2

1

The weblogic.xml file is found under the WEB-INF directory along side the web.xml file.

Brian Ochs
  • 1,099
  • 1
  • 10
  • 21
  • There are about 20 WEB-INF directories. – Barry McNamara Aug 10 '15 at 14:43
  • Is this an EAR file with multiple web applications? If so you need to edit all of them. Depending on what you want to configure, there is an weblogic-application.xml file at the EAR level that applies to all web applications bunded in the EAR. – Brian Ochs Aug 10 '15 at 15:12
  • It's not. I was looking in the Weblogic folders when I should have been looking where my project was saved. That's why I was confused. – Barry McNamara Aug 10 '15 at 15:25
0

You want to change the one found with your web application. In my case, I accessed it through Eclipse (because that's where my project was saved) under /src/main/webapp/WEB-INF/weblogic.xml. I was confused because I thought I was supposed to look in the Weblogic server or domain folders, where there were over a dozen weblogic.xml files.

Barry McNamara
  • 689
  • 9
  • 18