[jboss-jira] [JBoss JIRA] (JBCLUSTER-298) FacesContext is null while replicating session in Jboss 6.1

SBS JIRA Integration (JIRA) jira-events at lists.jboss.org
Mon Apr 30 08:00:18 EDT 2012


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

SBS JIRA Integration updated JBCLUSTER-298:
-------------------------------------------

    Forum Reference: https://community.jboss.org/message/732408#732408

    
> FacesContext is null while replicating session in Jboss 6.1
> -----------------------------------------------------------
>
>                 Key: JBCLUSTER-298
>                 URL: https://issues.jboss.org/browse/JBCLUSTER-298
>             Project: JBoss Clustering
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>         Environment: jdk 1.6.0_26, jboss 6.1, seam 2.2.2 final, ejb 3, jsf 1.2
>            Reporter: Dilek Cingel
>            Assignee: Paul Ferraro
>              Labels: jboss
>
> Hi All,
>  
> I use jboss 6.1 and seam 2.2.2 in my project, and when i enable persistent session, i get an error caused by "FacesContext is null".
> Here is how did i configure jboss to use persistent session;
> I inserted "httpsessions" table in db and added datasource configuration for this table in server.
> I added a file named context.xml to src\main\webapp\WEB-INF and it has the following contents:
> context.xml
> <Context cookies="true" crossContext="true">
>    <Manager className="org.jboss.web.tomcat.service.session.persistent.DataSourcePersistentManager"
>             dataSourceJndiName="java:SESSIONSDS"/>
> </Context>
> Server starts succesfully, but when i call application url  i get "java.lang.NullPointerException" caused by FacesContext is null.
> Thanks,
> Dilek

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list