This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[build 20050913] Steps: 1) Started Jboss in command-line and test functionality Server is working fine. 2) Stop server in command-line 3) Start NB with new userdir and add JBoss in NB 4) Start JBoss from NB ERROR: in output window are displayed errors that report Address already in use. I'm pretty sure that these ports weren't used before starting Jboss from NB. [blaha@localhost bin]$ ps -ef | grep jboss blaha 13145 13144 0 16:34 pts/2 00:00:00 /bin/sh /home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/bin/run.sh -c default blaha 13147 13146 0 16:34 pts/2 00:00:00 /bin/sh /home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/bin/run.sh -c default blaha 13153 13145 0 16:34 pts/2 00:00:00 /usr/jdk/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/lib/endorsed -classpath /home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/bin/run.jar:/usr/jdk/java/lib/tools.jar org.jboss.Main -c default blaha 13159 13147 0 16:34 pts/2 00:00:00 /usr/jdk/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/lib/endorsed -classpath /home.local/blaha/servers/jboss-portal-2.0-jboss-4.0.2/bin/run.jar:/usr/jdk/java/lib/tools.jar org.jboss.Main -c default blaha 13219 13080 0 16:36 pts/15 00:00:00 grep jboss From the above output you can see that two identical start script are running.
Created attachment 24851 [details] suggested patch, I didn't test it.
Fixed. Checking in JBStartServer.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java,v <-- JBStartServer.java new revision: 1.21; previous revision: 1.20 done
Verified