Skip to main content

maven configure-runtime: Port 8080 is in use.

2 replies [Last post]
agyepong
Offline
Joined: 2005-08-11

I get the error below when I run "maven configure-runtime". I am following the steps to build glassfish at: http://www.netbeans.org/kb/41/glassfish.html

Is there a way to get maven to use a different port number since port 8080 is being used by another application on my system? I changed the instance.port=8080 to 8089 in C:\GlassFish\Work\glassfish\bootstrap\project.properties but this doesnt fix the error.

I am running on Windows XP SP2.

Thanks a bunch.

Stephen

C:\GlassFish\Work\glassfish\bootstrap>maven configure-runtime
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2

Attempting to download glassfish-image-SNAPSHOT.jar.
build:start:

configure-runtime:
[exec] WARNING: The --adminpassword option is insecure and should not be us
d since it can compromise your password. Please use either the command prompt
r the --passwordfile option.
[exec] Port 8080 is in use.
[exec] CLI130 Could not create domain, domain1
BUILD SUCCESSFUL
Total time: 37 seconds
Finished at: Wed Aug 17 00:14:52 EDT 2005

C:\GlassFish\Work\glassfish\bootstrap>

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
agyepong
Offline
Joined: 2005-08-11

It works!!!

Thanks a bunch.

Stephen

vijaysr
Offline
Joined: 2003-06-11

set httpPort (line 160 in glassfish/bootstrap/maven.xml) to the the value you want - that should work