Discussion
1
Replies
346
Views
Posted: November 13, 2015
Last activity: November 19, 2015
How to move contents from prweb into ROOT folder Tomcat
Hi team,
i want to load my application from http://localhost:8080 rather than http://localhost:8080/prweb/PRServlet(Optional from 7.1.6) for that i need to move contents from webapps/prweb into webapps/ROOT folder if am not wrong, doing this did't help me. unable to run the application. can any one guide me in doing this.. do any configurations i need to ..? Thanks in advance
people i got the solution for this..
Step 1: Take backup of ROOT folder in /webapps directory.
Step 2: Rename prweb.war in /webapps to ROOT.war
Step 3: Open \webapps\ROOT\WEB-INF\weblogic.xml file and manipulate <context-root>prweb</context-root> tag to <context-root>ROOT</context-root>
Step 4: Restart your tomcat. :)
open http://localhost:8080 hope it works..
Additional..(if you want to bypass port 8080)
Step 5: Open \tomcat\conf\Server.xml file and change
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="9443" />
to
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="9443" />
Restart your tomcat and open http://localhost