-
1. Re: NetBeans and JBoss 4.2.0 problem?
peterj May 15, 2007 11:52 AM (in response to spirosmichalak)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. -
2. Re: NetBeans and JBoss 4.2.0 problem?
spirosmichalak May 16, 2007 5:22 AM (in response to spirosmichalak)Thanks Peter,
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!
Spiros -
3. Re: NetBeans and JBoss 4.2.0 problem?
peterj May 16, 2007 10:33 AM (in response to spirosmichalak)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). -
4. Re: NetBeans and JBoss 4.2.0 problem?
jaroslaw.kijanowski May 17, 2007 6:04 AM (in response to spirosmichalak)Hi,
add an empty file/directory "resolver.jar" to $JBOSS_HOME/lib/endorsed.
This is fixed in Netbeans-5.5.1rc1 (http://www.netbeans.org/issues/show_bug.cgi?id=97469) -
5. Re: NetBeans and JBoss 4.2.0 problem?
spirosmichalak May 18, 2007 6:22 AM (in response to spirosmichalak)Thanks guys,
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).
Spiros -
6. Re: NetBeans and JBoss 4.2.0 problem?
kk2die4 May 24, 2007 8:35 AM (in response to spirosmichalak)Hi spirosmichalak
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. -
7. Re: NetBeans and JBoss 4.2.0 problem?
spirosmichalak May 24, 2007 12:12 PM (in response to spirosmichalak)Hello,
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.
Good luck,
Spiros