This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upgrading from Weblogic 8.1 to 10.3

 
Johnathon Smith
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm in the process of trying to upgrade from Weblogic 8.1 to 10.3. I've installed the new server verson and made the necessary adjustments to my weblogic.xml file. When I run the application, however, I'm running into an unusual error. Upon access of the application I check the user who is trying to access my application by retrieving the remote user from the request header like so...

userID = jspRequest.getRemoteUser(); (where jspRequest is an object of type HttpServletRequest)

This statement is returning null even though when I stop the app in debug mode in eclipse and review the values in jspRequest I can see that "remoteUser" has a valid value in it. It's just not being returned by the get. Since this statement worked in Weblogic 8.1 and isn't working in 10.3 I'm only assuming there is something I missed.

Any ideas?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By saying "remote user has a valid value in it " do you mean that this is an internal object and you are able to see the user name ?

What is the realm under which weblogic is working ? From weblogic 9.2 the user name and the group name in weblogic.xml will not be mapped automatically. You will have to mention it. This can lead to authentication errors / user info not being retrieved from the system. It is required to map the role and principal name explicitly. Here is a link

http://monduke.com/2006/01/07/weblogic-91-authorization-gotcha/

Does that help ?

If possible, post a screen shot of the object graph and a few lines of code. That will help clear the problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic