dev@glassfish.java.net

Re: build using port 8080

From: Jane Young <jane.young_at_oracle.com>
Date: Fri, 25 Mar 2011 17:19:24 -0700

This log is from the embedded unit test in
org.glassfish.distributions.test.EmbeddedTest(distributions/web/src/test/java/org/glassfish/distributions/test/EmbeddedTest.java
).

If port is occupied, then you can use "-DskipTests" option and continue
with the build.


On 3/25/11 5:06 PM, Shing Wai Chan wrote:
> From the build log, we have
>
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> Mar 25, 2011 4:55:14 PM com.sun.enterprise.web.WebContainer
> createHttpListener
> INFO: WEB0169: Created HTTP listener [embedded-listener-1] on
> host/port [0.0.0.0:8080]
> Mar 25, 2011 4:55:14 PM com.sun.enterprise.web.WebContainer
> createHttpListener
> INFO: WEB0169: Created HTTP listener [embedded-listener-1] on
> host/port [0.0.0.0:8080]
> Mar 25, 2011 4:55:15 PM com.sun.enterprise.web.WebContainer
> createHttpListener
> INFO: WEB0169: Created HTTP listener [embedded-listener-1] on
> host/port [0.0.0.0:8080]
> Mar 25, 2011 4:55:15 PM org.glassfish.web.embed.impl.WebContainerImpl
> addWebListener
> INFO: Added connector embedded-listener-1 port 8080 to virtual server
> server
> Network listener size after creation 1
> Network listener 8080
>
> So, it seems that we are using port 8080 in the build.
> If this is really the case, then it would be a good idea to switch to
> a different one as 8080 is too common.
> In other words, we cannot build and run GlassFish in the same machine
> at the same time.
>
> Shing Wai Chan
>