Solved

Application Context Root

Posted on 2008-06-09
7
639 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to enable gc.log for tomcat? 3 40
Java Uncaught Exception 5 232
difference between member and local variables. 29 126
application cannot connect to database server for query 13 89
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

914 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

21 Experts available now in Live!

Get 1:1 Help Now