aspose file tools
The moose likes BEA/Weblogic and the fly likes Need to assign a context root for my application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Need to assign a context root for my application" Watch "Need to assign a context root for my application" New topic
Author

Need to assign a context root for my application

Muhammad Ahmad Hussain
Greenhorn

Joined: May 05, 2010
Posts: 2
Hi ,
I am facing some issue regarding to assign a context-root for my web application which i want to deploy on Weblogic 10.0 MP1. Could any budy please help me out how we can assign this task. As i have to deployed an application which required for a specific context root but i can't do it any way in weblogic. I could't find context-root option in weblogic console. If console not actually facilitate this then where to change context-root in which of XML file.
Please help

My Regards,
Ahmad
Renjan Thomas
Ranch Hand

Joined: Jan 09, 2009
Posts: 49


You can set your context-root of your application in weblogic.xml file under context-root element.

And the other way is if you dont have your context-root set in application ie in weblogic.xml , the name of the war file you deploy from console will become the context root of your application.

Hope this helps !!!
Muhammad Ahmad Hussain
Greenhorn

Joined: May 05, 2010
Posts: 2
Hi Renjan ,
I have already tried the second option but it's not working. The first option is a valid as I have searched more than 10 places and revived the same reply as you suggest but problem is that i could't find the exact weblogic.xml. i will be back after exploring it again.
Thanks so very much
My Regards,
Ahmad


Renjan Thomas wrote:

You can set your context-root of your application in weblogic.xml file under context-root element.

And the other way is if you dont have your context-root set in application ie in weblogic.xml , the name of the war file you deploy from console will become the context root of your application.

Hope this helps !!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need to assign a context root for my application