-
1. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
peterj Jan 7, 2010 2:52 PM (in response to jamie.s)I am running Fedora 12 with Gnome on my old desktop at work and have not seen this. I am also running JBoss AS 5.1.0.GA with Hotspot JVM 1.6.0_17. What JVM are you running?
If you run top in another terminal, what do you see? I noticed that the java process was using about 200% CPU utilization during JBoss AS startup (I have a dual processor Pentium IV with hyperthreading truend on).
-
2. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
jamie.s Jan 7, 2010 3:06 PM (in response to peterj)Hey, Thanks!
java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)top reports upwards of 175%CPU during startup... but then it quiets down to minimal.
Things are fine until after JBoss prints "started in XXs:XXXms"
I am thinking some sort of socket conflict...
I will probably poke around the metacity website or something.
Jamie.
-
3. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
peterj Jan 7, 2010 3:23 PM (in response to jamie.s)So are you saying that the "hang" happens after the "started in xxx seconds" message? (I ask because you earlier said "10 seconds" and I have yet to find any hardware in which JBoss AS 5.1, at least the 'default' config, will start in under around 30 seconds.)
Socket hangs can cause issues, though I usually see long pauses of not activity by the app (usually JBoss AS) waiting on the socket. Have you noticed any other networking issues after your upgrade to Fedore 12? It could be that the NIC driver is not quite right (I had to downgrade my laptop from Ubuntu 9.10 to 9.04 because, among several other issues, the wireless network driver did not work).
-
4. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
peterj Jan 7, 2010 3:26 PM (in response to peterj)1 of 1 people found this helpfulBut that brings up another question: which config are you running? If 'all', could you try 'default'?
Also, try running with IPv6 turned off. You can do that by setting JAVA_OPTS to -Djava.net.preferIPv4Stack=true
-
5. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
jamie.s Jan 8, 2010 8:52 AM (in response to peterj)Thanks for the good ideas, Peter!
Earlier, I think I said 10 seconds after JBoss started, by which I meant after the "started in..." message. Oops, Sorry...
Actually, I am running a custom config, which is built for our custom deployment, which includes default + some bits of 'all', including the jboss-cache components and the HA components.
I will try launching clean default and all, and the IPv4 only configs.
Thanks!
Jamie.
-
6. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
psabbate Jun 20, 2011 5:31 PM (in response to jamie.s)All,
A couple months ago I had the same issue on my Ubuntu 10.10 distro. I installed 11.04 and everything went ok until now. After a deep research I realize that there were conflicts in the ports numbers , so I changed them and it works!
To change the ports go to <PROFILE_PATH>/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
I hope this helps,
-
7. Re: Strange desktop problem: Gnome locks up when I start JBoss5.1GA
psabbate Jun 22, 2011 3:05 PM (in response to jamie.s)I figure out what's the exactly problem.
In server/xxx/conf/bootstrap/bindings.xml I founded that
<!-- JBossTS Transaction Status Manager -->
<bean class="org.jboss.services.binding.ServiceBindingMetadata">
<property name="serviceName">TransactionManager</property>
<property name="bindingName">transactionStatusManager</property>
<property name="port">4713</property>
</bean>
And the port 4713 is already used by PulseAudio, so I changed the port in the Jboss configuration and everything works ok.
Pablo Abbate