Authentication Failure with Glassfish V2 on Netbeans 6.7.1

View: New views
3 Messages — Rating Filter:   Alert me  

Authentication Failure with Glassfish V2 on Netbeans 6.7.1

by brak3000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Every time I try to run my project, I'm prompted with a username and password for the Glassfish v2 server. I originally tried the default, user=admin pw=adminadmin, but this didn't work. So I went to Tools->Servers and changed the username and password for Glassfish, and those don't work either. Every time, I get the same error message:



SEC5046: Audit: Authentication refused for [admin].

Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.



along with 3 identical popup messages all saying, "username and password failed. If these are incorrect, change them in Tools|Servers" or something similar.



I'm stuck, because I don't know how to get past this, and my project won't run. Any help would be greatly appreciated. Thank you.





Re: Authentication Failure with Glassfish V2 on Netbeans 6.7.1

by Haulyn R. Jason :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, you should try to delete the auth file under your home folder then
generate another new .

On Sun, Nov 1, 2009 at 2:53 AM, brak3000 <brak3000@...> wrote:

> Every time I try to run my project, I'm prompted with a username and password for the Glassfish v2 server. I originally tried the default, user=admin pw=adminadmin, but this didn't work. So I went to Tools->Servers and changed the username and password for Glassfish, and those don't work either. Every time, I get the same error message:
>
>
>
> SEC5046: Audit: Authentication refused for [admin].
>
> Web login failed: Login failed: javax.security.auth.login.LoginException: Failed file login for admin.
>
>
>
> along with 3 identical popup messages all saying, "username and password failed. If these are incorrect, change them in Tools|Servers" or something similar.
>
>
>
> I'm stuck, because I don't know how to get past this, and my project won't run. Any help would be greatly appreciated. Thank you.
>
>
>
>
>



--
Many thanks!

Haulyn Microproduction

You can access me with the following ways:
Location: Shandong Jinan Shumagang 6H-8, 250000
Mobile: +086-15864011231
email: saharabear@..., hmp.haulyn@...
website: http://haulynjason.net
gtalk: saharabear@...
skype: saharabear
QQ: 378606292
persional Twitter: http://twitter.com/saharabear
persional Linkedin: http://www.linkedin.com/in/haulyn
Haulyn Microproduction Twitter: http://twitter.com/haulynmp


Haulyn Jason

Authentication Failure with Glassfish V2 on Netbeans 6.7.1

by brak3000 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That worked perfectly. Thank you so much!