Everything works fine on the development server, but when I upload my
app to app engine my session beans behave as request scoped beans. Is
it an app engine's incompatibility?

I'm using mojarra 2.0.4

appengine-web.xml:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
        <application>gustavomzina</application>
        <version>1</version>
        <sessions-enabled>true</sessions-enabled>
        <!-- Configure java.util.logging -->
        <system-properties>
                <property name="java.util.logging.config.file" value="WEB-INF/
logging.properties"/>
        </system-properties>

</appengine-web-app>

web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>

        <context-param>
                <param-name>com.sun.faces.expressionFactory</param-name>
                <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
        </context-param>
        <context-param>
                <param-name>com.sun.faces.validateXml</param-name>
                <param-value>true</param-value>
        </context-param>
        <context-param>
                <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                <param-value>client</param-value>
        </context-param>
        <context-param>
                <param-name>javax.faces.PROJECT_STAGE</param-name>
                <param-value>Production</param-value>
        </context-param>
        <servlet>
                <servlet-name>Faces Servlet</servlet-name>
                <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>
        <context-param>
                <param-name>com.sun.faces.enableThreading</param-name>
                <param-value>false</param-value>
        </context-param>
        <servlet-mapping>
                <servlet-name>Faces Servlet</servlet-name>
                <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
        <session-config>
                <session-timeout>30</session-timeout>
        </session-config>
        <welcome-file-list>
                <welcome-file>login.jsf</welcome-file>
        </welcome-file-list>
</web-app>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to