Bonjour à tous,
J'ai installé Glassfish v4.1 sur Windows7 avec JDK 1.8_45. j'essaye alors de me connecter à la console d'administration du domaine par défaut avec l'url http://localhost:4848/. Mais quand j'essaye de m'authentifier avec les identifiant normalement par défaut, j'ai le message :
Authentication Failed
Re-enter your username and password
J'ai donc créé un autre domaine :
Je le lance :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 C:\Windows\system32>asadmin create-domain --adminport 4949 --savelogin=true --us er admin --savemasterpassword=true --instanceport 7070 mondomaine Enter the admin password [Enter to accept default of no password]> Enter the admin password again> Enter the master password [Enter to accept default password "changeit"]> Enter the master password again> Using port 4949 for Admin. Using port 7070 for HTTP Instance. Using default port 7676 for JMS. Using default port 3700 for IIOP. Using default port 8181 for HTTP_SSL. Using default port 3820 for IIOP_SSL. Using default port 3920 for IIOP_MUTUALAUTH. Using default port 8686 for JMX_ADMIN. Using default port 6666 for OSGI_SHELL. Using default port 9009 for JAVA_DEBUGGER. Distinguished Name of the self-signed X.509 Server Certificate is: [CN=ITEM-63450.dhcp.nior.fr.sopra,OU=GlassFish,O=Oracle Corporation,L=Santa Clar a,ST=California,C=US] Distinguished Name of the self-signed X.509 Server Certificate is: [CN=ITEM-63450.dhcp.nior.fr.sopra-instance,OU=GlassFish,O=Oracle Corporation,L=S anta Clara,ST=California,C=US] Domain mondomaine created. Domain mondomaine admin port is 4949. Domain mondomaine admin user is "admin". Login information relevant to admin user name [admin] for this domain [mondomaine] stored at [d:\Profiles\dlavaud\.gfclient\pass] successfully. Make sure that this file remains protected. Information stored in this file will be used by administration commands to manage this domain. Command create-domain executed successfully.
Tout semble s'être bien passé. Mais lorsque j'essaye de m'identifier avec l'user name admin et l'admin password, toujours le même message :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 C:\Windows\system32>asadmin start-domain mondomaine Enter master password (3) attempt(s) remain)> Waiting for mondomaine to start ......... Successfully started the domain : mondomaine domain Location: C:\glassfish-4.1\glassfish\domains\mondomaine Log File: C:\glassfish-4.1\glassfish\domains\mondomaine\logs\server.log Admin Port: 4949 Command start-domain executed successfully.
Authentication Failed
Re-enter your username and password
Finalement, j'en suis arrivé à ce point.
Donc ma question est simple : comment m'identifier sur la console d'administration ?
Si vous avez besoin de plus d'information, n'hésitez pas à me demander.
Merci d'avance pour votre aide.
Partager