Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Application Context Root

Posted on 2008-06-09
7
Medium Priority
?
659 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
  • 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 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses

824 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