Solved

Application Context Root

Posted on 2008-06-09
7
645 Views
Last Modified: 2013-12-10
I am using WebLogic 10. My application context path is at C:\workspace\ple\public_html. I have chosen to name the application as "ple". After deploying, I found that I need to access the application this way:

http://localhost:7001/public_html/login.jsp

I thought that since the application name is "ple", I should be able to access it as:

http://localhost:7001/ple/login.jsp

But the above is actually invalid. So how do I configure it so that I can access it as http://localhost:7001/ple/login.jsp ?
0
Comment
Question by:yongsing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 21768366
How did you name your war file? WebLogic takes the context root from the name of the war file.
0
 
LVL 9

Author Comment

by:yongsing
ID: 21776638
I did not use a war file. I just put my stuff in C:\workspace\ple\public_html, and in WebLogic's console, under Deployment, I just specify the path of the application as "C:\workspace\ple\public_html".
0
 
LVL 35

Expert Comment

by:girionis
ID: 21783114
Can you not change it from the console? Can you try changing it fromthe weblogic.xml file? There should be a context-root element.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Author Comment

by:yongsing
ID: 21784640
Yes, I can certainly change it from weblogic.xml. Do you know exactly what is the tag to change? I can't seem to find the description for weblogic.xml for WebLogic 10.
0
 
LVL 35

Accepted Solution

by:
girionis earned 50 total points
ID: 21784666
The tag should be the context-root tag.
0
 
LVL 9

Author Closing Comment

by:yongsing
ID: 31465614
Thanks girionis!

I added the following in weblogic.xml:

ple

and now I can access the application as:

http://localhost:7001/ple/login.jsp 
0
 
LVL 35

Expert Comment

by:girionis
ID: 21784924
Thanks for accepting, glad I was of help :)
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question