Most java application servers have their own configuration files that they support. Basically, an xml file that employs descriptors that provide information to the server about the particular web application that is being deployed. For Java web apps, these files are stored in the WEB-INF directory.
Not knowing much about WebLogic I played around unsuccessfully with the file known as weblogic.xml, and even blew it off, stating, “I don’t need no stinkin’ weblogic config file.”
After a hundred or so failed deployments where my internal class files weren’t being recognized I ran into a lil’ diddy that stated that using the weblogic.xml and putting in this configuration would solved my deployment woes.
Here is the weblogic.xml code that save the day.
<?xml version="1.0" encoding="UTF-8"?>
I think it is very interesting how each Java web server has these different config files. Are we to master them all? Well, i’ll get going on some of the rest in future posts and then we won’t have to fear when a client comes around and says, “Well, we love your app, but does it work on JBoss?”