-
1. Re: jBoss crashes when basic seam app deployed, any ideas?
motley Jun 17, 2009 10:46 PM (in response to motley)Just a quick update. It seems that if I use ICEfaces rather than Rich faces it is ok. Any idea why this would be?
Thanks,
-
2. Re: jBoss crashes when basic seam app deployed, any ideas?
gonorrhea Jun 18, 2009 1:34 AM (in response to motley)That's very strange. Never heard of
segmentation fault
until now.I do see this in my server.log, however:
2009-06-17 15:41:24,383 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml 2009-06-17 15:41:24,383 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml 2009-06-17 15:41:24,414 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 2009-06-17 15:41:24,461 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 2009-06-17 15:41:24,461 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 2009-06-17 15:41:24,492 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 2009-06-17 15:41:24,508 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 2009-06-17 15:41:24,555 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 2009-06-17 15:41:24,617 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/a4j.taglib.xml 2009-06-17 15:41:24,633 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/jsp.taglib.xml 2009-06-17 15:41:24,633 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/ajax4jsf.taglib.xml 2009-06-17 15:41:24,695 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/rich.taglib.xml 2009-06-17 15:41:24,711 ERROR [STDERR] Jun 17, 2009 3:41:24 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-eap-4.3/jboss-as/server/default/deploy/BETS.ear/BETS.war/WEB-INF/lib/richfaces-ui-3.3.1.GA.jar!/META-INF/richfaces.taglib.xml
-
3. Re: jBoss crashes when basic seam app deployed, any ideas?
swd847 Jun 18, 2009 2:26 AM (in response to motley)Make sure you are using the latest JVM. This is a jvm bug, or a bug in a library used by the jvm, if you can get an actual stack trace from the JVM it will probably give you an idea of what is causing the problem.
-
4. Re: jBoss crashes when basic seam app deployed, any ideas?
motley Jun 18, 2009 4:19 PM (in response to motley)Being a mac it is the latest jvm available. I have been through the examples lookign for ones that use rich faces and they seem to work fine. (I think booking uses some ajax for the search?)
java -version =
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
also I have no idea how ot get a jvm stack trace on macos and my googlefu seems to be letting me down. :-( -
5. Re: jBoss crashes when basic seam app deployed, any ideas?
motley Jun 18, 2009 6:28 PM (in response to motley)In case any once else comes across this issue I figured it out, after a little more digging and came across this post:
http://seamframework.org/Community/RichFacesProblemWithOSX
It does seem like it is a rich faces issue, I tried the suggested fix:
-Dapple.awt.graphics.UseQuartz=false
by adding it to bin/run.conf and it seems to have doen the trick.
-Djava.awt.headless=true
Seems to work too. Any one know which the prefered method would be?
Regards,
Dan. -
6. Re: jBoss crashes when basic seam app deployed, any ideas?
david.salter Jun 18, 2009 10:53 PM (in response to motley)Hi Dan, Are you running on OS X 10.4? I had this problem a while ago on 10.4, and used this fix, but this isn't needed in OS x 10.5
I always use the -Dapple.... option and it always seems to work on 10.4.
Cheers,
Dave.
-
7. Re: jBoss crashes when basic seam app deployed, any ideas?
binnyg Jun 18, 2009 10:59 PM (in response to motley)JBoss AS or Tomcat may crash when running an app using RF 3.2.1 or higher, and the reason appears to be a problem with Apple's renderer engine. A workaround is to run the server with the following option. This would force mac to use Sun's renderer instead. Example running JBoss AS:
bin/run.sh -Dapple.awt.graphics.UseQuartz=false
-
8. Re: jBoss crashes when basic seam app deployed, any ideas?
motley Jun 18, 2009 11:05 PM (in response to motley)yeah it's 10.4 so using that seems to work...