wood burning stoves 2.0*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Author

Upgrading from Weblogic 8.1 to 10.3

Johnathon Smith
Greenhorn

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
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    5

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


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upgrading from Weblogic 8.1 to 10.3
 
Similar Threads
Error 404 - Not found -on accessing JSP- Weblogic 10.3
oracle weblogic server 10 (no build tool found)
Issue with request from IE 8.0 via IIS web server to ISAPI plugin for Weblogic 8.1 app server
Could not find weblogic.appc. Make sure you have it in your classpath
Error 404 - Not found -on accessing JSP- Weblogic 10.3