http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt
Port numbers are assigned in various ways, based on three ranges: System Ports (0-1023), User Ports (1024-49151), and the Dynamic and/or Private Ports (49152-65535); the difference uses of these ranges is described in [RFC6335]. System Ports are assigned by IETF process for standards-track protocols, as per [RFC6335]. User Ports are assigned by IANA using the "IETF Review" process, the "IESG Approval" process, or the "Expert Review" process, as per [RFC6335]. Dynamic Ports are not assigned. Possibly in the range should be ok 49152-65535 ?? Cheers Greg On 7 October 2013 11:48, Glen Mazza <glen.ma...@gmail.com> wrote: > The 3223 port presently used is exactly the one that the pre-innodb plugin > solution used. Do you need digivote on your machine? It doesn't sound > like a particularly useful service. > > Otherwise, I think we can switch to another port that doesn't conflict > with digivote. Can you inform us of 5 port numbers that will work with > your machine and switch the plugin pom.xml to one of them? If it conflicts > with anyone else, we'll switch to another of the remaining four instead > until we find a port that works for everyone. Important: whatever port you > choose has to work also with command-line mvn clean install. Also, it > should ideally be a rare enough port that most downloaders won't have > trouble running mvn clean install with. > > Glen > > On 10/07/2013 03:06 AM, Greg Huber wrote: > >> Glen, >> >> Checking the port, it is in use by digivote. What it is used for on my >> standard centos install I will check as there is no service, but it is on >> the list of well known port numbers as digivote. >> >> cat /etc/services | grep 3223 >> >> digivote 3223/tcp # DIGIVOTE (R) Vote-Server >> digivote 3223/udp # DIGIVOTE (R) Vote-Server >> >> [INFO] --- inmemdb-maven-plugin:1.3.0:run (run) @ roller-webapp >> --- >> >> [INFO] Configured database port: >> 3223 >> >> [INFO] Configured database username: >> APP >> >> [INFO] Configured database password: >> APP >> >> [INFO] Configured database name: >> rollerdb >> >> [INFO] >> >> [INFO] --- maven-surefire-plugin:2.16:**test (default-test) @ >> roller-webapp >> --- >> [ERROR] Error starting or stopping the >> monitor >> >> java.net.BindException: Cannot assign requested >> address >> >> at java.net.PlainSocketImpl.**socketBind(Native >> Method) >> >> at >> java.net.**AbstractPlainSocketImpl.bind(**AbstractPlainSocketImpl.java:** >> 376) >> >> at >> java.net.ServerSocket.bind(**ServerSocket.java:376) >> >> at >> java.net.ServerSocket.<init>(**ServerSocket.java:237) >> >> at >> com.btmatthews.utils.monitor.**Monitor.runMonitor(Monitor.**java:82) >> >> at >> com.btmatthews.utils.monitor.**Monitor$1.run(Monitor.java:**108) >> >> at >> java.lang.Thread.run(Thread.**java:722) >> >> [INFO] Tests are skipped. >> >> >> >> >> >> On 6 October 2013 14:42, Glen Mazza <glen.ma...@gmail.com> wrote: >> >> Actually, it uses a 2nd port to drive the whole process, defined in the >>> base pom.xml. But, as always, the build works fine from a command-line >>> window, and IIRC it works fine when building and debugging within >>> IntelliJ >>> as well. >>> >>> Glen >>> >>> On 10/06/2013 09:36 AM, Dave wrote: >>> >>> Based on the app/pom.xml (search for com.btmatthews.maven.plugins.**** >>>> inmemdb) >>>> I believe the port is 3223. >>>> >>>> - Dave >>>> >>>> >>>> >>>> On Sun, Oct 6, 2013 at 6:46 AM, Greg Huber <gregh3...@gmail.com> wrote: >>>> >>>> Dave, >>>> >>>>> I am using centos 6.4. Maybe its a port already in use, do we know >>>>> what >>>>> port its wanting? : >>>>> >>>>> >>>>> java.net.BindException: Cannot assign requested address >>>>> I can look more into this tomorrow.. >>>>> >>>>> Cheers Greg. >>>>> >>>>> >>>>> On 5 October 2013 14:17, Dave <snoopd...@gmail.com> wrote: >>>>> >>>>> Hi Greg, >>>>> >>>>>> I just updated to the latest trunk and tried mvn -DskipTests=true >>>>>> clean >>>>>> install. I tried running several times and get the same result and no >>>>>> errors like the ones you posted. >>>>>> >>>>>> [INFO] Installing >>>>>> /Users/dave/src/roller_trunk/****app/target/roller-classes.jar to >>>>>> >>>>>> >>>>>> /Users/dave/.m2/repository/****org/apache/roller/roller-** >>>>>> >>>>> webapp/5.1.0-SNAPSHOT/roller-****webapp-5.1.0-SNAPSHOT-**classes.**jar >>>>> >>>>> [INFO] >>>>>> ------------------------------****----------------------------**--** >>>>>> ------------ >>>>>> [INFO] Reactor Summary: >>>>>> [INFO] >>>>>> [INFO] Roller project ..............................****...... >>>>>> SUCCESS >>>>>> >>>>>> [0.586s] >>>>> >>>>> [INFO] Roller app ..............................****.......... >>>>>> SUCCESS >>>>>> [25.918s] >>>>>> [INFO] >>>>>> ------------------------------****----------------------------**--** >>>>>> ------------ >>>>>> [INFO] BUILD SUCCESS >>>>>> [INFO] >>>>>> ------------------------------****----------------------------**--** >>>>>> ------------ >>>>>> [INFO] Total time: 26.716s >>>>>> [INFO] Finished at: Sat Oct 05 09:13:16 EDT 2013 >>>>>> [INFO] Final Memory: 39M/1237M >>>>>> [INFO] >>>>>> ------------------------------****----------------------------**--** >>>>>> ------------ >>>>>> >>>>>> >>>>>> What platform are you running? I'm on Mac OS 10.8.5, JDK 1.7.0_17-b02 >>>>>> and >>>>>> Maven 3.0.5. >>>>>> >>>>>> - Dave >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Oct 2, 2013 at 1:59 AM, Greg Huber <gregh3...@gmail.com> >>>>>> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>>> Also running >>>>>>> >>>>>>> mvn clean install -Dmaven.test.skip=true >>>>>>> >>>>>>> gives these errors? >>>>>>> >>>>>>> [INFO] Executed >>>>>>> tasks >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-resources-plugin:2.6:****resources >>>>>>> (default-resources) >>>>>>> @ >>>>>>> roller-webapp --- >>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered >>>>>>> resources. >>>>>>> >>>>>>> [INFO] Copying 105 >>>>>>> resources >>>>>>> >>>>>>> [INFO] Copying 1 >>>>>>> resource >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-resources-plugin:2.6:****copy-resources >>>>>>> (copy-resources) @ >>>>>>> roller-webapp --- >>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered >>>>>>> resources. >>>>>>> >>>>>>> [INFO] Copying 29 >>>>>>> resources >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-compiler-plugin:3.0:****compile (default-compile) @ >>>>>>> roller-webapp >>>>>>> --- >>>>>>> [INFO] Changes detected - recompiling the >>>>>>> module! >>>>>>> >>>>>>> [INFO] Compiling 544 source files to >>>>>>> >>>>>>> /home/ghuber/eclipse43roller/****workspace/roller-project/app/**** >>>>>>> >>>>>> target/classes >>>>> >>>>> [INFO] >>>>>> >>>>>>> [INFO] --- maven-resources-plugin:2.6:****testResources >>>>>>> >>>>>>> (default-testResources) >>>>>> >>>>>> @ roller-webapp --- >>>>>>> [INFO] Not copying test >>>>>>> resources >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-compiler-plugin:3.0:****testCompile >>>>>>> (default-testCompile) >>>>>>> >>>>>>> @ >>>>>> roller-webapp --- >>>>>> >>>>>>> [INFO] Not compiling test >>>>>>> sources >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- inmemdb-maven-plugin:1.3.0:run (run) @ roller-webapp >>>>>>> --- >>>>>>> >>>>>>> [INFO] Configured database port: >>>>>>> 3223 >>>>>>> >>>>>>> [INFO] Configured database username: >>>>>>> APP >>>>>>> >>>>>>> [INFO] Configured database password: >>>>>>> APP >>>>>>> >>>>>>> [INFO] Configured database name: >>>>>>> rollerdb >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-surefire-plugin:2.16:****test (default-test) @ >>>>>>> >>>>>>> roller-webapp >>>>>> --- >>>>>> >>>>>>> [ERROR] Error starting or stopping the >>>>>>> monitor >>>>>>> >>>>>>> java.net.BindException: Cannot assign requested >>>>>>> address >>>>>>> >>>>>>> at java.net.PlainSocketImpl.****socketBind(Native >>>>>>> Method) >>>>>>> >>>>>>> at >>>>>>> java.net.****AbstractPlainSocketImpl.bind(**** >>>>>>> AbstractPlainSocketImpl.java:****376) >>>>>>> >>>>>>> at >>>>>>> java.net.ServerSocket.bind(****ServerSocket.java:376) >>>>>>> >>>>>>> at >>>>>>> java.net.ServerSocket.<init>(****ServerSocket.java:237) >>>>>>> >>>>>>> at >>>>>>> com.btmatthews.utils.monitor.****Monitor.runMonitor(Monitor.**** >>>>>>> java:82) >>>>>>> >>>>>>> at >>>>>>> com.btmatthews.utils.monitor.****Monitor$1.run(Monitor.java:****108) >>>>>>> >>>>>>> at >>>>>>> java.lang.Thread.run(Thread.****java:722) >>>>>>> >>>>>>> [INFO] Tests are >>>>>>> skipped. >>>>>>> >>>>>>> [INFO] >>>>>>> >>>>>>> [INFO] --- maven-war-plugin:2.3:war (default-war) @ roller-webapp >>>>>>> --- >>>>>>> >>>>>>> [INFO] Packaging >>>>>>> webapp >>>>>>> >>>>>>> [INFO] Assembling webapp [roller-webapp] in >>>>>>> >>>>>>> [/home/ghuber/eclipse43roller/****workspace/roller-project/** >>>>>>> app/** >>>>>>> >>>>>> target/roller] >>>>> >>>>> [INFO] Processing war >>>>>> >>>>>>> project >>>>>>> >>>>>>> [INFO] Copying webapp resources >>>>>>> >>>>>>> [/home/ghuber/eclipse43roller/****workspace/roller-project/** >>>>>>> app/** >>>>>>> >>>>>> src/main/webapp] >>>>> >>>>> [INFO] Webapp assembled in [4567 >>>>>> >>>>>>> msecs] >>>>>>> >>>>>>> [INFO] Building war: >>>>>>> >>>>>>> /home/ghuber/eclipse43roller/****workspace/roller-project/app/**** >>>>>>> >>>>>> target/roller.war >>>>> >>>>> [INFO] Packaging >>>>>> >>>>>>> classes >>>>>>> >>>>>>> [INFO] Building jar: >>>>>>> >>>>>>> >>>>>>> /home/ghuber/eclipse43roller/****workspace/roller-project/app/**** >>>>>>> >>>>>> target/roller-classes.jar >>>>> >>>>> [INFO] >>>>>> >>>>>>> [INFO] --- inmemdb-maven-plugin:1.3.0:****stop (stop) @ >>>>>>> roller-webapp >>>>>>> --- >>>>>>> [INFO] Sending command "stop" to monitor >>>>>>> [ERROR] Error sending command to monitor >>>>>>> java.net.ConnectException: Connection timed out >>>>>>> at java.net.PlainSocketImpl.****socketConnect(Native >>>>>>> Method) >>>>>>> at >>>>>>> >>>>>>> >>>>>>> java.net.****AbstractPlainSocketImpl.****doConnect(** >>>>>>> >>>>>> AbstractPlainSocketImpl.java:****339) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> java.net.****AbstractPlainSocketImpl.****connectToAddress(** >>>>>>> >>>>>> AbstractPlainSocketImpl.java:****200) >>>>> >>>>> at >>>>>> >>>>>>> java.net.****AbstractPlainSocketImpl.****connect(** >>>>>>> >>>>>> AbstractPlainSocketImpl.java:****182) >>>>> >>>>> at java.net.SocksSocketImpl.**** >>>>>> connect(SocksSocketImpl.java:**** >>>>>> >>>>>>> 391) >>>>>>> at java.net.Socket.connect(****Socket.java:579) >>>>>>> at java.net.Socket.connect(****Socket.java:528) >>>>>>> at java.net.Socket.<init>(Socket.****java:425) >>>>>>> at java.net.Socket.<init>(Socket.****java:241) >>>>>>> at >>>>>>> com.btmatthews.utils.monitor.****Monitor.sendCommand(Monitor.*** >>>>>>> *java:190) >>>>>>> at >>>>>>> >>>>>>> >>>>>>> com.btmatthews.utils.monitor.****mojo.AbstractStopMojo.** >>>>>>> execute(** >>>>>>> >>>>>> AbstractStopMojo.java:40) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.plugin.****DefaultBuildPluginManager.**** >>>>>>> executeMojo(** >>>>>>> >>>>>> DefaultBuildPluginManager.****java:106) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.MojoExecutor.execute(**** >>>>>>> >>>>>> MojoExecutor.java:208) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.MojoExecutor.execute(**** >>>>>>> >>>>>> MojoExecutor.java:153) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.MojoExecutor.execute(**** >>>>>>> >>>>>> MojoExecutor.java:145) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.**** >>>>>>> LifecycleModuleBuilder.** >>>>>>> >>>>>> buildProject(****LifecycleModuleBuilder.java:****84) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.**** >>>>>>> LifecycleModuleBuilder.** >>>>>>> >>>>>> buildProject(****LifecycleModuleBuilder.java:****59) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.LifecycleStarter.** >>>>>>> >>>>>> singleThreadedBuild(****LifecycleStarter.java:183) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.apache.maven.lifecycle.****internal.LifecycleStarter.** >>>>>>> >>>>>> execute(LifecycleStarter.java:****161) >>>>> >>>>> at >>>>>> org.apache.maven.DefaultMaven.****doExecute(DefaultMaven.java:** >>>>>> **318) >>>>>> at org.apache.maven.DefaultMaven.**** >>>>>> >>>>>>> execute(DefaultMaven.java:153) >>>>>>> at org.apache.maven.cli.MavenCli.** >>>>>>> **execute(MavenCli.java:555) >>>>>>> at org.apache.maven.cli.MavenCli.** >>>>>>> **doMain(MavenCli.java:214) >>>>>>> at org.apache.maven.cli.MavenCli.** >>>>>>> **main(MavenCli.java:158) >>>>>>> at sun.reflect.****NativeMethodAccessorImpl.**** >>>>>>> invoke0(Native >>>>>>> Method) >>>>>>> at >>>>>>> >>>>>>> >>>>>>> sun.reflect.****NativeMethodAccessorImpl.****invoke(** >>>>>>> >>>>>> NativeMethodAccessorImpl.java:****57) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> sun.reflect.****DelegatingMethodAccessorImpl.****invoke(** >>>>>>> >>>>>> DelegatingMethodAccessorImpl.****java:43) >>>>> >>>>> at java.lang.reflect.Method.****invoke(Method.java:601) >>>>>> >>>>>>> at >>>>>>> >>>>>>> >>>>>>> org.codehaus.plexus.****classworlds.launcher.Launcher.**** >>>>>>> >>>>>> launchEnhanced(Launcher.java:****290) >>>>> >>>>> at >>>>>> >>>>>>> org.codehaus.plexus.****classworlds.launcher.Launcher.**** >>>>>>> >>>>>> launch(Launcher.java:230) >>>>> >>>>> at >>>>>> >>>>>>> >>>>>>> org.codehaus.plexus.****classworlds.launcher.Launcher.**** >>>>>>> >>>>>> mainWithExitCode(Launcher.****java:414) >>>>> >>>>> at >>>>>> >>>>>>> org.codehaus.plexus.****classworlds.launcher.Launcher.**** >>>>>>> >>>>>> main(Launcher.java:357) >>>>> >>>>> [INFO]...... >>>>>> >>>>>>> [INFO] BUILD SUCCESS >>>>>>> >>>>>>> >>>>>>> >