Wildfly 9.x commence avec des erreurs: Adresse déjà en cours d'utilisation
Je suis nouveau dans Eclipse, JSF, Wildfly et ainsi de suite. Je reçois ce stacktrace:
22:03:42,430 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service
at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:269)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use: bind
at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:160)
at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:235)
... 5 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:182)
at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
at org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:147)
... 6 more
22:03:42,431 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
22:03:42,551 INFO [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final
22:03:43,287 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 61) Mojarra 2.2.11-jbossorg-1 20150505-1501 für Kontext '/JSF Hello World' wird initialisiert.
22:03:43,721 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0021: Registered web context: /JSF Hello World
22:03:43,727 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("management-interface" => "http-interface")
]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.serverManagement.controller.management.http" => "org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service
Caused by: java.lang.RuntimeException: java.net.BindException: Address already in use: bind
Caused by: java.net.BindException: Address already in use: bind"}}
22:03:43,758 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "JSF Hello World.war" (runtime-name : "JSF Hello World.war")
22:03:43,786 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service
22:03:43,884 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0063: Http management interface is not enabled
22:03:43,884 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
22:03:43,884 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started (with errors) in 12675ms - Started 270 of 455 services (2 services failed or missing dependencies, 221 services are lazy, passive or on-demand)
Comment puis-je résoudre ce problème?
Il y a quelques connexions sur le port 80. Dois-je vérifier toutes les adresses ip avec le whois afin d'identifier une application sur mon ordinateur qui utilise déjà le port 80?
C:\Users\me7D-User>netstat -aon | findstr "80"
TCP 0.0.0.0:8092 0.0.0.0:0 ABHÖREN 4
TCP 127.0.0.1:8080 0.0.0.0:0 ABHÖREN 8868
TCP 127.0.0.1:8080 127.0.0.1:59241 HERGESTELLT 8868
TCP 127.0.0.1:59177 127.0.0.1:8080 WARTEND 0
TCP 127.0.0.1:59180 127.0.0.1:59181 HERGESTELLT 8868
TCP 127.0.0.1:59181 127.0.0.1:59180 HERGESTELLT 8868
TCP 127.0.0.1:59230 127.0.0.1:8080 WARTEND 0
TCP 127.0.0.1:59241 127.0.0.1:8080 HERGESTELLT 11024
TCP 192.168.0.100:59166 173.194.113.41:80 WARTEND 0
TCP 192.168.0.100:59249 104.16.102.85:80 HERGESTELLT 8392
TCP 192.168.0.100:59250 216.58.211.42:80 HERGESTELLT 8392
TCP 192.168.0.100:59252 103.31.7.34:80 HERGESTELLT 8392
TCP 192.168.0.100:59253 216.58.211.42:80 WARTEND 0
TCP 192.168.0.100:59254 190.93.247.58:80 HERGESTELLT 8392
TCP 192.168.0.100:59255 190.93.247.58:80 HERGESTELLT 8392
TCP 192.168.0.100:59256 190.93.247.58:80 WARTEND 0
TCP 192.168.0.100:59257 190.93.247.58:80 HERGESTELLT 8392
TCP 192.168.0.100:59258 190.93.247.58:80 HERGESTELLT 8392
TCP 192.168.0.100:59259 190.93.247.58:80 HERGESTELLT 8392
TCP 192.168.0.100:59264 104.16.12.8:80 HERGESTELLT 8392
TCP 192.168.0.100:59265 88.221.92.32:80 HERGESTELLT 8392
TCP 192.168.0.100:59266 88.221.92.176:80 HERGESTELLT 8392
TCP 192.168.0.100:59267 173.194.113.36:80 HERGESTELLT 8392
TCP 192.168.0.100:59268 104.16.12.8:80 WARTEND 0
TCP 192.168.0.100:59269 88.221.92.32:80 WARTEND 0
TCP 192.168.0.100:59270 88.221.92.176:80 WARTEND 0
TCP 192.168.0.100:59271 54.204.10.55:80 HERGESTELLT 8392
TCP 192.168.0.100:59272 54.204.10.55:80 WARTEND 0
TCP 192.168.0.100:59273 95.172.94.34:80 WARTEND 0
TCP 192.168.0.100:63749 216.34.181.97:80 SCHLIESSEN_WARTEN 1680
TCP 192.168.0.100:63812 216.34.181.97:80 SCHLIESSEN_WARTEN 1680
TCP [::]:8092 [::]:0 ABHÖREN 4
UDP 127.0.0.1:49880 *:* 3272
UDP [fe80::100:7f:fffe%11]:54045 *:* 49
56
UDP [fe80::5efe:192.168.0.100%15]:54045 *:*
4956
UDP [fe80::5efe:192.168.137.1%14]:54045 *:*
4956
UDP [fe80::a9:d477:68a9:2472%10]:1900 *:*
3364
UDP [fe80::a9:d477:68a9:2472%10]:54045 *:*
4956
UDP [fe80::a9:d477:68a9:2472%10]:56718 *:*
3364
UDP [fe80::3d9d:1f6f:e25:35b%13]:53 *:*
1292
UDP [fe80::3d9d:1f6f:e25:35b%13]:546 *:*
1100
UDP [fe80::3d9d:1f6f:e25:35b%13]:1900 *:*
3364
UDP [fe80::3d9d:1f6f:e25:35b%13]:54045 *:*
4956
UDP [fe80::3d9d:1f6f:e25:35b%13]:56719 *:*
3364
Cette erreur est toujours présente, même si j'ai redémarré mon ordinateur.
Edit:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Users\me7D-User>netstat -aon | findstr "8080"
TCP 127.0.0.1:8080 0.0.0.0:0 ABHÖREN 7500
TCP 127.0.0.1:8080 127.0.0.1:60095 HERGESTELLT 7500
TCP 127.0.0.1:8080 127.0.0.1:60096 HERGESTELLT 7500
TCP 127.0.0.1:60035 127.0.0.1:8080 WARTEND 0
TCP 127.0.0.1:60095 127.0.0.1:8080 HERGESTELLT 11024
TCP 127.0.0.1:60096 127.0.0.1:8080 HERGESTELLT 11024
La visite de localhost:8080 dit:"Votre WildFly 9 est en cours d'exécution."
Vous avez donc deux? Ou, vous avez installé manuellement WildFly en tant que Service Windows aussi?
Pas de. J'ai juste ajouté WildFly comme serveur dans Eclipse sous Windows. J'ai décompressé le fichier rar en C avant:.
Vous avez donc deux? Ou, vous avez installé manuellement WildFly en tant que Service Windows aussi?
Pas de. J'ai juste ajouté WildFly comme serveur dans Eclipse sous Windows. J'ai décompressé le fichier rar en C avant:.
OriginalL'auteur cy221 | 2015-08-14
Vous devez vous connecter pour publier un commentaire.
Vérifier si vous avez le service appelé NVIDIA Service Réseau cours d'exécution sur votre ordinateur.
Par coïncidence, ce NVIDIA Service est en cours d'exécution à la port 9990, utilisé pour la la console d'administration de Wildfly.
Dans mon cas, c'était seulement d'arrêter ce Service et redémarrez le Wildfly serveur.
Je voudrais savoir comment NVidia décider pour tel port. Il est le plus commun de port utilisé, surtout si vous êtes un développeur (comme moi). Je tiens à réaffecter...peut-être il y a une config de nvidia service....
Salut Marc, bonne question, je ne sais pas pourquoi l'utilisation d'une telle sorte communs utilisés port de! Donc, oui, je... je suis développeur que vous aussi, mais... en fait je n'ai pas d'enquête pas sur la configuration de NVIDIA (fichiers) pour vérifier s'il est possible de modifier ce port.
OriginalL'auteur Ualter Jr.
WildFly est d'essayer d'utiliser un port de votre PC est déjà en cours d'utilisation. Vérifiez dans vos journaux: “Causés par: java.net.BindException: Adresse est déjà en cours d'utilisation: lier”
Vérifier le port WildFly est l'aide et puis vous pouvez vérifier si ce port est en cours d'utilisation pour tout autre demande, il pourrait être un autre exemple de WildFly, mais peut être n'importe quelle autre application. Par exemple, le port 80 pourrait être apache/IIS ou tout autre serveur web qui tourne sur votre PC.
Normalement WildFly (et JBOSS) utilisation 8080 par défaut et on dirait que vous avez une application écouter dans ce port, aussi WildFly utiliser peu plus de ports pour d'autres protocoles de gestion et que le serveur d'applications besoins. À l'aide de la commande netstat vous pouvez vérifier quelle autre application est l'utilisation de ces ports, par exemple (pour le port 8080), vous pouvez utiliser la commande:
netstat -aon | findstr :8080
Si vous voulez faire un test rapide, vous pouvez passer ce paramètre à WildFly “-Djboss.socket.de liaison.port-offset=2000” cela va augmenter tous les ports de JBOSS/WildFly utiliser en 2000 (ou toute autre valeur), alors par exemple, si votre WildFly était en cours d'exécution dans "localhost:8080/votre-contexte" maintenant sera "localhost:10080/votre-contexte".
Si votre JBOSS/WildFly est en cours d'exécution dans le port 80 vous pouvez jouer avec ce paramètre pour tester avec un autre port, par exemple, “- Djboss.socket.de liaison.port-offset=10000” vous apportera également avec le port 10080.
Bonne chance 😉
OriginalL'auteur Rigre Garciandía
Wildfly est déjà en cours d'exécution lorsque vous essayez de le démarrer. Vérifiez votre visionneuse de processus, il peut apparaître comme wildfly il peut apparaître comme "java".
Vous pourriez être en cours d'exécution en tant que service, vous pourriez être en cours d'exécution à partir de la ligne de commande, il est possible que l'Éclipse a commencé et n'est pas conscient de cela plus longtemps.
OriginalL'auteur teacurran
Juste vérifier ma (par défaut) port dans un navigateur via http://localhost:8080 il était évident que c'était un service/application que j'ai installé/testé appelé Intrexx (btw. utilise le serveur d'application Tomcat).
Après la désinstallation, tout allait bien à nouveau.
OriginalL'auteur Andreas Dietrich