index.jsp not accessible after authetication
We have a setup wherein a policy agent is installed on sun one web server and we have a separate machine which has access manager and LDAP on sunone.
When user enter url with http://host:81 in the browser
then a login page is shown and the browser shows url as
https://host:4043/amserver/UI/Login?goto=https%3A//host%3A443/index.html
Now if user authetication is successful then index.html page is shown from docs folder.
My problem is if I try to use index.jsp instead of index.html then i get error 404.
Note: I have added index.jsp in the indexfile list and have removed index.html while testing for index.jsp
Can anybody help me out with this?
Thanks
Yaseer
[724 byte] By [
yazeea] at [2007-11-27 7:34:09]

# 1
The policy agent should only enforce authentication and policy so it should only return a 302 redirect to the login page, 403 access denied, or 500 if the there is a problem.
If you disable the policy agent do you still get the same error? I believe JSP's need to be inside a web application and I don't see any web application context URI in the URL you provided.
# 2
Correct there is no web application. We are directly accessing the index.html page inside the docs folder of sun one web server (the one on which policy agent is configured)
Lets take normal case, after sun one web server installation we run the instance. In the browser give url as http://host:81 we get the index.html displayed.
Note: This index.html is residing in C:\Sun\WebServer6.1\docs folder.
Now if replace this index.html with index.jsp and restart server instance . I then try accessing the same url http://host:81 I get my index.jsp displayed.
The problem starts after I configure Policy Agent 2.1 on my Sun one web server.
If I keep the index.html back in place then after authetication index.html is getting displayed but in case of index.jsp it fails giving an error....HTTP 404 - File not found
A small note here: at this moment my browser url displayed is
https://amhost/amserver/UI/Login
I have also checked the jsp java and class files they are pretty much there in the folder
C:\Sun\WebServer6.1\https-instancehost\ClassCache\https-instancehost\default-we bapp\_jsps
I tell you now why I need index.jsp working for me. I will redirect my request to websphere portal server in a way that I will attempt to log directlly into portal application (ie bypassing security check at websphere portal level)
yazeea at 2007-7-12 19:14:37 >
