JBoss 5 is GA for some days, but NetBeans 6.5 dose not support JBoss 5.0.0 GA. I use google and find the solution to fix the problem. Follow this blog entry,Registering JBoss 5.0 in NetBeans 6.5. Simple copy several jars from JBoss common lib directory to the instance lib directroy.
Enter the JBoss home directory and enter common/lib directory.
It is simple.
Now you can add JBoss 5 to the Server node in NetBeans Services Windows.
But I encountered another problem under Fedora 10.
When I start JBoss 5 from NetBeans Service panel. It failed with the following error message.
The transaction service port is used by another application.
I found pulseaudio local server is used this port. Pulse audio is an advanced audio service on Fedora 10 . If the local server is enabled , the local audio service can be shared for other machines from LAN. I use it for the VirtualBox.
When I disabled the local pulseaudio server , the JBoss 5 works well.
Enter the JBoss home directory and enter common/lib directory.
[hantsy@localhost jboss-5.0.0.GA]cd common/lib
[hantsy@localhost lib]cp jboss-javaee.jar jboss.jar jbosssx.jar jmx-adaptor-plugin.jar jnpserver.jar log4j.jar ../../server/default/lib/
It is simple.
Now you can add JBoss 5 to the Server node in NetBeans Services Windows.
But I encountered another problem under Fedora 10.
When I start JBoss 5 from NetBeans Service panel. It failed with the following error message.
The transaction service port is used by another application.
[hantsy@localhost ~]$ sudo netstat -apl|grep 4713
[sudo] password for hantsy:
tcp 0 0 *:4713 *:* LISTEN 24723/pulseaudio
tcp 0 0 *:4713 *:* LISTEN 24723/pulseaudio
I found pulseaudio local server is used this port. Pulse audio is an advanced audio service on Fedora 10 . If the local server is enabled , the local audio service can be shared for other machines from LAN. I use it for the VirtualBox.
When I disabled the local pulseaudio server , the JBoss 5 works well.
评论