koppcha
asked on
Default Web Application
In the link below
http://e-docs.bea.com/wls/docs81/ConsoleHelp/web_applications.html#1108437
they are saying how to create a default web application.(changing weblogic.xml for .war file).But i could not do that.
It is in .war format i do not want to unpack it and change the weblogic.xml(context-root) .I tried from console going to that particular webapplication after that configuration-->Descriptor --> i can find web.xml and weblogic.xml.I clicked on it but it just shows me the file.It does not allow me to edit it .Any of the experts know how to do this and give me the format of context-root that i have to add to make that particular application as default web application.
Thanks
koppcha
http://e-docs.bea.com/wls/docs81/ConsoleHelp/web_applications.html#1108437
they are saying how to create a default web application.(changing weblogic.xml for .war file).But i could not do that.
It is in .war format i do not want to unpack it and change the weblogic.xml(context-root)
Thanks
koppcha
The above solution will override all configuration in each Web Application.
I think that you can do that after you configure weblogic.xml because there is already another web application that set to be default web application and deployed on server.
I think that you can do that after you configure weblogic.xml because there is already another web application that set to be default web application and deployed on server.
You can not edit the configuration files when you deploy a packed format (war files). YOu can however use the WebLogic BUilder tool to edit the WAR file, so it will include the default context /.
I don't know of a way to do it through the administration console directly.
I don't know of a way to do it through the administration console directly.
Hi,
The default Web Application is presented to clients who do not specify a URI (or specify "/" as the URI). To deploy a Web Application as a default Web Application, set the value of the context-root element to "/" in its deployment descriptor.
You can specify the context-root element in the weblogic.xml deployment descriptor for Web Applications that are packaged as a .war archive or exploded .war directory. If you package the Web Application as part of an Enterprise Application (.ear archive or exploded .ear), specify the context-root in application.xml. Note that the application.xml context-root takes precedent over the weblogic.xml value.
For more info. refer here..it is providing valuable information about administrating the server....i hope it may help you
http://www.itcourseware.com/Webpdfs/webjt-wls8a.pdf
R.K
The default Web Application is presented to clients who do not specify a URI (or specify "/" as the URI). To deploy a Web Application as a default Web Application, set the value of the context-root element to "/" in its deployment descriptor.
You can specify the context-root element in the weblogic.xml deployment descriptor for Web Applications that are packaged as a .war archive or exploded .war directory. If you package the Web Application as part of an Enterprise Application (.ear archive or exploded .ear), specify the context-root in application.xml. Note that the application.xml context-root takes precedent over the weblogic.xml value.
For more info. refer here..it is providing valuable information about administrating the server....i hope it may help you
http://www.itcourseware.com/Webpdfs/webjt-wls8a.pdf
R.K
ASKER
This is one of the ways to make any application as default webapplication.Using the Webserver element in config.xml.
<WebServer AuthCookieEnabled="true"
DefaultWebApp="defaultweba pp"
LogFileName="./logs/access .log" Name="portalServer"/>
<WebServer AuthCookieEnabled="true"
DefaultWebApp="defaultweba
LogFileName="./logs/access
ASKER
Hi
I am the author of the question figured out the answer my self and that is what i have given in my earlier comment.Tell me what i need to do.
I am the author of the question figured out the answer my self and that is what i have given in my earlier comment.Tell me what i need to do.
Post a question here:
https://www.experts-exchange.com/Community_Support/
With title:
"Please PAQ and refund"
and text:
"Please PAQ and refund https://www.experts-exchange.com/questions/21220408/Default-Web-Application.html as I solved it myself - the answer is posted"
It won't ask you for points :)
Venabili
https://www.experts-exchange.com/Community_Support/
With title:
"Please PAQ and refund"
and text:
"Please PAQ and refund https://www.experts-exchange.com/questions/21220408/Default-Web-Application.html as I solved it myself - the answer is posted"
It won't ask you for points :)
Venabili
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On the left side pane go to Server and then browse throgh the tab on the right side and look for something like "Default Web Application" or "Default Context Root" There will be drop down list of web application you deployed on that server. Select your application to be default. I am not sure for the menu. I will try to find it for you later.
Note. You can enter admin console by http://xxx.xxx.xxx.xxx:port/console and then put username/password to logon.
SoMpOL