I don't use NetBeans, so I am only guessing, but I would suspect that NetBeans is looking for specific files in specific locations to verify that you have provided a proper JBoss home directory. My guess is that one of those files does not exist in 4.2.
I also question placing any Java application into Program Files, sooner or later you are going to run into a Java library that simply cannot handle the space in the directory name.
I take your point about "Program Files" and will avoid it in the future. Does anyone else know which specific files Netbeans would be looking at?
As for Sunny Southern California, I wish I could say something similar about London, UK where I'm living. It's been really miserable this May!
No I don't know which files NetBeans looks for. You could try using FileMon from sysinternals (http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx) - install JBoss 4.0.5 and have NetBeans run it, FileMon should show you the files accessed.
Or you could ask on the local NetBeans forum: http://www.jboss.com/index.html?module=bb&op=viewforum&f=234,
or ask on one of the forums on the NetBeans site: http://www.nabble.com/Netbeans.org-f2602.html
P.S. I will be in London the last week in June, I'll bring some nice weather with me (if I can get it past airport security).
That's brilliant. Not only did it resolve this problem (adding the "resolver.jar" directory), but I can also now control JBoss through NetBeans, since I was having to brutally stop the server via the Task Manager with the previous version I was working with (4.0.2).
How do you stop the JBoss srever from Netbeans ? I am an absolute
newbie to both Netbeans and JBoss, so please dont mind if that was a dumb question.
The proper way is click on 'Runtime' tab, expand 'Servers' and look at your JBoss server icon. It should have a little green arrow in the bottom right corner when it's running, an orangey type box/arrow when it's running in debug mode and nothing when it's not running.
If it's running and you right click on it you should be able to select 'Stop' from the drop down list.
But, there are two problems. Sometimes the green arrow doesn't appear, i.e. NetBeans doesn't know JBoss is running, and other times it does appear, but when you select 'Stop', it keeps trying, but never succeeds in stopping it!
So, what I do is go into the Task Manager and select the appropriate java.exe process that's running and 'End Process'! How do you know which java.exe is JBoss? You might have to experiment with this, but when I'm running only NetBeans and JBoss, NetBeans (also a java.exe process) takes up roughly 150-250K memory, while JBoss around half that!
If anyone knows of a better way, please let me know as well.