Hi all,

I've already submitted a ticket for appengine. Finally, after a deeper 
study, I found the problem:

Using: java sdk-1.6.1

Backend instance startup will fail if you have a welcome file listed with same 
extension in JSF Servlet url-pattern.

Example:

1) <url-pattern>*.html</url-pattern>

<welcome-file-list>
  <welcome-file>index.xhtml</welcome-file>
  <welcome-file>index.html</welcome-file>      <--- same as url-pattern
</welcome-file-list>

Result: FAIL

2) <url-pattern>*.html</url-pattern>

<welcome-file-list>
  <welcome-file>index.xhtml</welcome-file>
</welcome-file-list>

Result: SUCCESS!


I ran an exhaustive routine for isolate the problematic variable. The data 
collected is:

1 - *.app / welcome file list {index.html, welcome.xhtml} - OK
2 - *.app / welcome list {index.html, welcome.xhtml} - OK
3 - *.app / welcome list {index.html, welcome.xhtml, index.app} - Failed
4 - *.app / welcome list {index.html, welcome.xhtml} - OK
5 - *.app / welcome list {index.html, welcome.xhtml, test.app} - Failed
6 - *.xhtml / welcome list {index.jsp, index.html} - OK
7 - *.xhtml / welcome list {index.jsp, index.html, welcome.xhtml} - Failed
8 - *.html / welcome list {index.jsp} - OK
9 - *.html / welcome list {index.jsp, welcome.html} - Failed

Explanation:

a. *.app or *.xhtml or *.html
Extension used as url-pattern for JSF Servlet.

b. welcome list { ... }
Files listed as welcome files.

c. OK / Failed
Result. OK for success and Failed for non success

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/6Qf9_Gq-K48J.
To post to this group, send email to google-appengine-java@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