otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 6th, 2007, 15:40
Junior Member
 
Join Date: Jul 2007
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
nkrantz is on a distinguished road
Unhappy javax.security.auth.login.LoginException...

Hi,

I have just completed my first installation of OTM 5.5.x on our test server. Most of the installation steps went smoothly, even though a more comprehensive installation guide would be nice.


However, when I try to launch the application through my browser, I get the following:
Code:
javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: User: GUEST.ADMIN, failed to be authenticated.
 
javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: java.lang.SecurityException: User: GUEST.ADMIN, failed to be authenticated.
 at glog.database.security.jaas.ClientLoginModuleImpl.login(ClientLoginModuleImpl.java:50)
 at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
 at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
 at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
 at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
 at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
 at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
 at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
 at glog.database.security.jaas.AuthenticationContext.login(AuthenticationContext.java:95)
 at glog.util.remote.NamingDirectory.<init>(NamingDirectory.java:783)
 at glog.util.remote.NamingDirectory.get(NamingDirectory.java:199)
 at glog.util.remote.NamingDirectory.getForGuest(NamingDirectory.java:307)
 at glog.util.remote.NamingDirectory.get(NamingDirectory.java:115)
 at glog.util.remote.NamingDirectory.get(NamingDirectory.java:126)
 at glog.util.remote.SessionBeanHomeInvoker.<init>(SessionBeanHomeInvoker.java:26)
 at glog.util.remote.NamingDirectory.get(NamingDirectory.java:170)
 at glog.util.remote.NamingDirectory.get(NamingDirectory.java:225)
 at glog.util.remote.NamingDirectory.getForSystem(NamingDirectory.java:283)
 at glog.util.remote.NamingDirectory.getForSystem(NamingDirectory.java:316)
 at glog.util.remote.NamingDirectory.getForSystem(NamingDirectory.java:320)
 at glog.util.uom.UOMLoader.loadFromServer(UOMLoader.java:92)
 at glog.webserver.util.BaseServlet.service(BaseServlet.java:585)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:54)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
I have been searching this forum and googled for the same error. I have double checked so that the user actually exists and that the password is base64 encrypted as CHANGEME. Servers has been restarted. I have double checked the version of WebLogic also (saw some note about a common issue was the wrong version) and we're on SP4.

Any ideas?

Thanks,
Niclas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 9th, 2007, 13:09
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,156
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 137
Thanked 256 Times in 159 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: javax.security.auth.login.LoginException...

Niclas,

Okay - it sounds like you've covered the basics:
  • You're using WebLogic 8.1SP4
  • You haven't changed the default password of the GUEST.ADMIN user
Just to confirm on the second note - you shouldn't have had to change the password in your tomcat.conf, weblogic.conf or database as it should already be setup as the default of CHANGEME.

Were there any errors in your Install Log files - particularly on the OTM Web and App servers? You can find more info for verifying here:
http://www.otmfaq.com/forums/f23/how...d-no-errors-9/ (How do you verify your install had no errors?)
The next most common issue (which usually shows up in the log files) is that either the WebLogic jar files weren't able to be copied into the OTM installation, due to file permission issues. You can check this by ensuring that the following files exist on your OTM Web and App servers under <otm_home>/glog/gc3webapp/WEB-INF/lib/3rdparty/ :
  • weblogic.jar
  • webservices.jar
  • xmlx.jar
Another possibility is that the OTM java security jars weren't able to be copied into the WebLogic directory by the root.sh script on the OTM App server installation. In this case, you should have the following files in your <bea_home>/weblogic81/server/lib/mbeantypes/ directory:
  • gc3authenticator.jar
  • gc3authorizer.jar
Finally, did you download and install all of the 3rd party jar files into OTM? These are actually required for full functionality, though Oracle won't allow them to be distributed with OTM, due to licensing issues.

If you can check these and report back, I'll help further.

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to chrisplough For This Useful Post:
nkrantz (July 9th, 2007)
  #3 (permalink)  
Old July 9th, 2007, 13:23
Junior Member
 
Join Date: Jul 2007
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
nkrantz is on a distinguished road
Re: javax.security.auth.login.LoginException...

Chris,

Thanks for your notes. I will check them all in detail once I have access to our development server (Windows 2003 server)

I added the base64 encoded string of the password, as a just in case, as I got the identical error message as that issue caused.

I did download an install the required 3rd party things. But there might have been something I have missed.

Also thinking of re-doing the full implementation of OTM, just to make sure I get everything right, but will of course check your tips first!

Best regards,
Niclas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old July 9th, 2007, 13:43
Junior Member
 
Join Date: Jul 2007
Posts: 4
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
nkrantz is on a distinguished road
Re: javax.security.auth.login.LoginException...

Hi,

So, I couldn't wait.
Quote:
Were there any errors in your Install Log files - particularly on the OTM Web and App servers?
No errors at all, no warnings.

Quote:
The next most common issue (which usually shows up in the log files) is that either the WebLogic jar files weren't able to be copied into the OTM installation, due to file permission issues.
All files were there.

Quote:
Another possibility is that the OTM java security jars weren't able to be copied into the WebLogic directory by the root.sh script on the OTM App server installation.
Both files were present

Quote:
Finally, did you download and install all of the 3rd party jar files into OTM?
As mentioned, I believe I did this, but I am unsure how to validate.

I do remember that I got some messages during all database setup (importing table spaces and so on...) Any good tutorial on how to validate this?

Thanks,
Niclas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old December 7th, 2009, 22:32
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,156
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 137
Thanked 256 Times in 159 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: javax.security.auth.login.LoginException...

Just an update for OTM v6.x -- the security integration jars were merged into otmSecurityProviders.jar. It gets copied into the $BEA_HOME/bea/weblogic92/server/lib/mbeantypes directory by the root.sh script and is required to initialize OTM's security.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
DB Security Question Joe Patton Database Administration 4 September 29th, 2008 20:42
Login to OTM redirects back to OTM Login page sknmail@rediffmail.com Performance, Scalability and HA 2 June 17th, 2008 14:04
Dedicated Security pool exhausted sknmail@rediffmail.com Performance, Scalability and HA 3 November 14th, 2007 15:30
javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: j saptarshi Installation and Upgrades 4 October 12th, 2007 11:09
OTM-javax.naming.NameNotFoundException: SecuritySessionHome not found new_otm Installation and Upgrades 1 August 30th, 2007 19:10



All times are GMT. The time now is 14:23.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40