Solved

Application Context Root

Posted on 2008-06-09
7
638 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 9

Author Comment

by:yongsing
Comment Utility
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
Comment Utility
The tag should be the context-root tag.
0
 
LVL 9

Author Closing Comment

by:yongsing
Comment Utility
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
Comment Utility
Thanks for accepting, glad I was of help :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now