File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes what is the role or need of weblogic.xml file inside weblogic server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "what is the role or need of weblogic.xml file inside weblogic server" Watch "what is the role or need of weblogic.xml file inside weblogic server" New topic
Author

what is the role or need of weblogic.xml file inside weblogic server

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Hi

Could anybody please let me help in knowing what is the role of weblogic.xml file inside the weblogic server ??

I could only see this inside the weblogic.xml file :



Please share your ideas .

Thanks in advance .


Save India From Corruption - Anna Hazare.
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webapp/weblogic_xml.html
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
I noticed that the weblogic.xml is generated automatically when you, lets say, create a new netbeans project and specify that you are going to use weblogic. it's specific to weblogic, and I have tried to take one of my Sun Java App Server 8.2 projects and deploy it on weblogic, but it doesn't work unless the project has weblogic.xml ahead of time. (not sure if this is the only difference between projects made for Weblogic and projects made for sun app server)
Ed Ward
Ranch Hand

Joined: Jan 30, 2006
Posts: 147
weblogic.xml is not required for an application to be deployed to WL. At least for WL10 and I think it was the same for WL7, I can't speak to any other versions. I have several apps deployed to WL, some use it some don't. It's for setting some WL specific configs and some other configs which are not necessarrily WL specific. Some of them can even be set by other means if I'm not mistaken. If you are trying to deploy to WL and it is complaining about not having a weblogic.xml then I suspect Netbeans is setting something in your project build archive which is in turn instructing WL to look for weblogic.xml on deployment. All JEE app-servers typically have some server specific config files which can be included in the app archive, though they are not necessarrily required.
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
I suppose in that case it never hurts to have a blank weblogic.xml file?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the role or need of weblogic.xml file inside weblogic server
 
Similar Threads
significance of weblogic.xml inside weblogic
How to test the load balancing in the weblogic cluster...
application.xml /context-root/weblogic.xml question
weblogic servlet error
I am getting this message : "Error 404--Not Found" while starting an app by Weblogic