[richfaces-issues] [JBoss JIRA] Resolved: (RF-9813) RichFaces tears down server on Unix without X-server running

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Nov 15 12:18:43 EST 2010


     [ https://jira.jboss.org/browse/RF-9813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski resolved RF-9813.
--------------------------------

      Assignee: Nick Belaevski
    Resolution: Won't Fix


Not a bug: either make AWT running in headless mode by specifying property java.awt.headless=true or use maven-resources-plugin (used for GAE) and set org.richfaces.executeAWTInitializer context initialization parameter to true.

> RichFaces tears down server on Unix without X-server running
> ------------------------------------------------------------
>
>                 Key: RF-9813
>                 URL: https://jira.jboss.org/browse/RF-9813
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.0.Milestone3
>         Environment: Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> apache-tomcat-7.0.4
> RichFaces 4.0.0.20101004-M3
> Mojarra JSF 2.0.3-FCS 
>            Reporter: Karl Mueller
>            Assignee: Nick Belaevski
>            Priority: Critical
>
> Running an application using RichFaces 4 M3 under RHEL with no X-server running causes the server to crash.
> Apparently RichFaces tries to connect to the X-server on container startup and then terminates when there is no X-Server present :
> excerpt from catalina.out:
> INFO: Creating LRUMap cache instance using parameters: {org.richfaces.skin=plain, javax.faces.PROJECT_STAGE=Development, org.richfaces.enableControlSkinningClasses=true, org.richfaces.enableControlSkinning=false}
> 12.11.2010 09:57:26 org.richfaces.cache.lru.LRUMapCacheFactory createCache
> INFO: Creating LRUMap cache instance of 512 items capacity
> 12.11.2010 09:57:26 org.richfaces.application.InitializationListener onStart
> INFO: RichFaces Core Implementation by JBoss, a division of Red Hat, Inc., version v.4.0.0.20101004-M3 SVN r.19446
> X connection to localhost:11.0 broken (explicit kill or server shutdown).
> Attempts to start other x applications, e.g. xclock fail with the same error msg "X connection to localhost:10.0 broken (explicit kill or server shutdown)."
> I am connect to the Unix machine via Putty with X11 forwarding enabled. 
> When I start an  X-Server on my local Windows machine the problem does not occur and the application is running smooth.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list