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:
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;
new revision: 1.5; previous revision: 1.4
Checking in ide/JBStartServer.java;
new revision: 1.19; previous revision: 1.18
Verified in build 200509131800.