aspose file tools*
The moose likes BEA/Weblogic and the fly likes config file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "config file" Watch "config file" New topic
Author

config file

Rajiv Chelsea
Ranch Hand

Joined: Jun 15, 2010
Posts: 88
Hi All
I want to understand the application start up process on weblogic 10.3
How does weblogic know where to look for EAr ?

When does it load config.xml file?

And do we have to create config.xml ourselves or its created
automatically when we modify the settings using the weblogic console?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
So many questions. Sounds like you need to study the oracle documentation.

How does it know where to look for an ear? Either you told it where to look by configuring a new application in the console or in development mode only, you dropped ear in autodeploy directory and it knows to look for ears etc there.

config.xml is created when the domain is created. It is loaded when the server starts up.

Do not edit it (unless you know what you are doing and have shut down the server and backed everything up; even then it is rarely necessary). Changes to config.xml are made when changes are made in the console.
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

Agreed, reading the documentation is one of the best ideas and of course the best practice!

Here is the link to the documentation to what you are looking for:

http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/index.html

Hope this helps.


Regards, Sud.
SCJP 5 ScjpFAQ JLS
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: config file