Two Laptop Bag
The moose likes BEA/Weblogic and the fly likes Upgrading from Weblogic 8.1 to 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Upgrading from Weblogic 8.1 to 10.3" Watch "Upgrading from Weblogic 8.1 to 10.3" New topic

Upgrading from Weblogic 8.1 to 10.3

Johnathon Smith

Joined: Jul 28, 2009
Posts: 3
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

Joined: Feb 24, 2006
Posts: 6662

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

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

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link:
subject: Upgrading from Weblogic 8.1 to 10.3
It's not a secret anymore!