Hi,
I got stuck. I Googled and have been searching in the forums during the last 
days but I don't find an answer that fixes my problem, so I'm sorry if this 
has been already commented.

I'm developing an app using Java version of GAE and it works fine in local 
server. I used eclipse plugin and also NetBeans IDE and worked with both but 
the problem begins when I try to upload the app to GAE. Once uploaded I can 
only access the welcome file (index.jsp) but any other page is not loaded. 
The browser gives messages like Error: Forbidden and Error: Not Found.

I think something in my web.xml is wrong but I'm not able to figure out what 
it is. In my web.xml I declare my servlet classes as well the jsp files and 
I think I'm doing it correctly:

<servlet>
        <servlet-name>NAME</servlet-name>
        <servlet-class>PACKAGE.CLASS</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>NAME</servlet-name>
        <url-pattern>/PATH</url-pattern>
    </servlet-mapping>
    <servlet>
        <servlet-name>NAME2</servlet-name>
        <jsp-file>FOLDER/NAME2.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
        <servlet-name>NAME2</servlet-name>
        <url-pattern>/PATH2</url-pattern>
    </servlet-mapping>

I have also a welcome file declared exactly like the documentation says and 
a security constraint as follows:

<security-constraint>
        <web-resource-collection>
            <url-pattern>/adminZone/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>admin</role-name>
        </auth-constraint>
    </security-constraint>

I saw the logs in the dashboard and I realised that 
NotSerializableExceptions were thrown refering to one of my classes but the 
problems persists after I made it Serializable.

I hope someone will have any idea, thanks

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to