users@glassfish.java.net

Re: Glassfish, Netbeans 6.0 and port 8080....

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 13 Feb 2008 14:30:23 -0500

Hi,

glassfish_at_javadesktop.org wrote:
> I'm trying to run a webapp in Netbeans 6.0 via Glassfish. When I run the app, Glassfish starts up correctly but then fails because 'port 8080 is in use'. I changed all of the port 8080 references in Glassfish's config to 9090 (as I've also done in Tomcat, which runs correctly). OracleXE is installed using 8080. I shut down Oracle and it still happens. Oracle needs the port and I need Oracle. How can I set Glassfish to run on port 9090 for HTTP requests within Netbeans?
> [Message sent by forum member 'ddog' (ddog)]

Can you add in domain.xml:

<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>

and see if that makes a difference? It should not, but just in case.
Which platform are you using? Can you do a netstat -an | grep 8080 when
GlasFish fail?

Thanks

-- Jeanfrancois


>
> http://forums.java.net/jive/thread.jspa?messageID=258814
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>