users@glassfish.java.net

Re: how to install glassfish into netbeans

From: Serge Fonville <serge.fonville_at_gmail.com>
Date: Thu, 10 Sep 2009 13:50:23 +0200

Hi,

On Thu, Sep 10, 2009 at 1:45 PM, <glassfish_at_javadesktop.org> wrote:
> Glassfish had already been into Netbeans. But i forgot the password and username. (it wasn't admin, adminadmin) So i reinstall to desktop. I followed glassfish configuration After that i tried to associate Netbeans and glassfish. first i create Netbeans 6.7.1 Tools/ servers / add Server / glassfish v2.1
> server location is choosen where i download and configured the glassfish file. register local domain was choosen. And clicked next.
>
> Domain folder was choosen c:\Sun\AppSer\Domains\domain1 and then clicked next. Admin:admin password:adminadmin and clicked finish.
>
> But it doesn't work. When i run a project, it gives 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: ***
This is the error you should look in to

netstat -anb
That way you see the corresponding executables with all the ports.

HTH

Regards,

Serge Fonville

> 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
>
> How can i get rid of exceptions?
> [Message sent by forum member 'devatate' (ugurguler20_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=363506
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>