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.
On my WindowsXP I have installed JBoss 4.0.2 and when I add it to IDE and start it, it looks like the server is not started. Simply IDE doesn't recognize status of server. To reproduce: - unzip jboss-4.0.2.zip into E:\Program Files\ - add 'set JAVA_HOME=E:\jdk1.5.0_04' to E:\Program Files\bin\run.bat - start IDE - add JBoss server in Runtime tab - start JBoss server using popup menu Start on server node and wait until it is running. Check external browser shows JBoss welcome page at http://localhost:8080/. - look at popup menu of JBoss server node. There is Start item enabled and if you run it, it throws port conflict exceptions. - try Refresh on the node but it does nothing Build 200508161800, JDK1.5.0_04, WindowsXP, JBoss4.0.2.
This is strange, similar symptomps like in issue #61477. I think that this issue is fixed in trunk. Jirko can you try to install NB 4.1 and JBoss nbm from mentioned issue on your comp and test it? Thanks, Petr
This is a different problem then issue 61477. The probem is that Jirka has the server installed in "C:\Program Files" (space in path). I can reproduce it if I copy jboss there. I will fix this for 4.2.
Jirka Skrivanek confirmed that issue is caused by space in JBoss path.
Changed way to get URL.
release41 branch fix: http://serverplugins.netbeans.org/source/browse/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java?r1=1.11.4.2&r2=1.11.4.3 http://serverplugins.netbeans.org/source/browse/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeploymentFactory.java?r1=1.2&r2=1.2.4.1
I think a better fix would be to use the NbProcessDescriptor class, which handles spaces in path well, instead of Runtime.getRuntime().exec().
Fixed in trunk. Fix of JBStartServer (surrounding executed command with quotation marks) in release41 branch does not work on linux. NbProcessDescriptor should be used. Checking in JBDeploymentFactory.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/JBDeploymentFactory.java,v <-- JBDeploymentFactory.java new revision: 1.5; previous revision: 1.4 done Checking in ide/JBStartServer.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java,v <-- JBStartServer.java new revision: 1.19; previous revision: 1.18 done
Verified in build 200509131800.