Glassfish avait déjà été installé dans Netbeans. Mais j'ai oublié le mot de passe et le nom d'utilisateur. (Ce n'était pas admin
, adminadmin
) Donc j'ai réinstallé au bureau. J'ai suivi glassfish configuration Après cela, j'ai essayé d'associer Netbeans et glassfish. Tout d'abord, j'ai créé Netbeans 6.7.1 Outils/serveurs/ajouter Server/glassfish v2.1
emplacement du serveur est choisi où je télécharger et configuré le fichier glassfish. Enregistrer le domaine local a été choisi. Et puis j'ai cliqué sur suivant.Comment installer glassfish dans netbeans
Le dossier de domaine a été choisi c: \ Sun \ AppSer \ Domains \ domain1, puis j'ai cliqué sur suivant. Admin: admin
mot de passe: adminadmin
et cliquez sur la finition.
Mais cela ne fonctionne pas. Quand je lance un projet, il donne des exceptions
Domain domain1 failed to startup. Please check the server log for more details.
Caused by: java.lang.RuntimeException: java.rmi.server.ExportException: Port already in use: 8686; nested exception is:
Caused by: java.rmi.server.ExportException: Port already in use: 8686; nested exception is:
Caused by: java.net.BindException: Address already in use: JVM_Bind
CORE5061: Exception :
com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
Caused by: LifecycleException: WEB0103: This web container has not yet been started
at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:912)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)
... 10 more
CORE5051: Shutting down all J2EE applications ...
CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...
CORE 5061 : Resource adapters Stop() Complete
CORE5052: Application shutdown complete.
CORE5061: Exception :
java.lang.NullPointerException
Comment puis-je me débarrasser de ces exceptions?