i've installed JBoss 4.0.5 GA and i'm trying to integrate it cleanly in Netbeans (version 5.5), both running on Gentoo linux. Oh, and JBoss is installed in my homedir with my own user id, so that Netbeans definitely doesn't lack file system permissions when controlling JBoss startup and shutdown.
So far everything is working fine. I can start JBoss manually or from within Netbeans and in fact JBoss is running and working. But Netbeans seems to have some problems with detecting if JBoss is running.
JBoss startup from within Netbeans is working properly and JBoss is running and working. But in the runtime window of Netbeans the JBoss server icon looks like JBoss wasn't running right after startup is completed. However it is running and i've tested this with different versions and download packages of JBoss. It's all the same. I've taken exactly the same steps described in many tutorials but i can't get this working.
This wouldn't even matter but because of this Netbeans always tries to first start JBoss if i want to deploy an application and this of course doesn't work because network sockets are still in use by the instance of JBoss already running
Did anybody of you experience similar problems? As a workaround it would help if i could simply tell Netbeans in any way NOT to start JBoss when deploying an application.
Seems i've found the reason for my problems. At least i hope this is the reason...
At the moment i've installed JBoss with the jems installer. There i've configured a PostgreSQL database as default data source. Although i've provided a jar file with a driver for PostgreSQL JBoss seems to have trouble registering the driver. Of course this error messages are only showing up deep in the JBoss logs
But i've tried the JBoss installation without jems installer, too. There i didn't configure any data source and it also didn't work.
Still i'm a bit clueless about this because in spite of the data source driver error the JBoss server actually is running and working. Can anyone tell me what is really necessary for Netbeans to detect if JBoss is running or not?
I have JBoss up and running with tight integration in the NetBeans IDE. Unfortunately I don't exactly remember what was the problem once I wrote these posts, but I can surely tell you how I've configured everything at the moment.
The main things you should take care about is that JBoss is running with your own user id so that NetBeans is allowed to start and stop this service. Moreover under normal circumstances an "ordinary" user is only allowed to allocate network sockets with a port number > 1023 which is the case with standard installations of JBoss. Additionally it should be sufficient to give the correct username and password in the configuration dialog of Netbeans so that the IDE can query JBoss for its current state.
I don't know if this helps but of course feel free to tell me some more details where exactly you're experiencing problems
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Netbeans doesn't realize if JBoss is running