Skip to main content

GlassFish Authentication Failed

2 replies [Last post]
halber
Offline
Joined: 2013-04-22
Points: 0

I need some help.
I'm new to GlassFish and I followed this tutorial (http://www.nabisoft.com/tutorials/glassfish/installing-glassfish-311-on-...) to install a GlassFish server on my ubuntu 10.04 server. But instead of GlassFish 3.1.1 I used GlassFish 3.1.2.2 and java 7 update 21.

No I'm facing the problem that I get always the message "Authentication Failed Re-enter your username and password" when I try to login to the admin console.

Log:

[#|2013-04-22T00:44:26.852+0200|INFO|glassfish3.1.2|
javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|
_ThreadID=85;_ThreadName=Thread-2;|
User [admin] from host localhost.localdomain does not have administration access|#]

[#|2013-04-22T00:44:26.855+0200|WARNING|glassfish3.1.2|
org.apache.catalina.connector.Request|_ThreadID=84;_ThreadName=Thread-2;|
PWC4011: Unable to set request character encoding to UTF-8 from context ,
because request parameters have already been read, or
ServletRequest.getReader() has already been called|#]

I tried to enalbe secure admin with
asadmin --host localhost --port 4848 enable-secure-admin
but without success.

Any ideas?
Thanks a lot!

AttachmentSize
Screen_Shot_2013-04-22_at_11.33.00.png22.7 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
halber
Offline
Joined: 2013-04-22
Points: 0

It's look like it is a problem with the java version. I tried java 7 update 9 and it works.
Does anyone know more about this issue?

Jeremy_Lv
Offline
Joined: 2012-02-14
Points: 0

halber wrote:
It's look like it is a problem with the java version. I tried java 7 update 9 and it works.
Does anyone know more about this issue?

Up+1

I think it will be fine if you use the glassfishv3.1.2 with the jdk1.6.0_43.