This content has been marked as final.
Show 2 replies
-
1. Re: Arquillian Testcases glassfish embedded change the default port
vineet.reynolds Mar 15, 2012 4:08 AM (in response to bjoice1)I'm not sure if you can get embedded GlassFish 3.0.1 to work (maybe 3.1 would be a better choice), but if you want to specify the HTTP port that embedded GlassFish should bind itself to, then specify this using the bindHttpPort property for your container configuration in arquillian.xml. You can't change this once the embedded server has started though if that's what you mean by the phrase "while running the testcases".
The complete list of properties for the embedded GlassFish container is in the Confluence docs - https://docs.jboss.org/author/display/ARQ/GlassFish+3.1+-+Embedded
-
2. Re: Arquillian Testcases glassfish embedded change the default port
bjoice1 Mar 15, 2012 5:13 AM (in response to vineet.reynolds)Thanks, it works with the port set with bindHttpPort .