Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to assign a context root for my application

 
Muhammad Ahmad Hussain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic