If you got commons-el and jsp-api.jar in, get them out of the WEB-INF/lib directory! This is a documented bug in Tomcat 5.5.x - you can't have commons-el.jar and or jsp-api.jar in this directory, or the app will only show a blank page. Interesting that this commercial container should have the same problem.
regards, Martin On 6/21/07, Petr Jurak <[EMAIL PROTECTED]> wrote:
Hi, I have got. Please do you have another idea? I've tried almost everything. :( Best regards. Petr Bruno Aranda wrote: > > Hi, do you have this files in the WEB-INF/lib folder? > > * commons-el.jar > * jsp-2.0.jar > > Cheers, > > Bruno > > > On 18/06/07, Ing. Jurák Petr <[EMAIL PROTECTED]> wrote: >> Hello, >> last 3 weeks I've tried to start MyFaces+Tomahawk working, but without >> success. :( I'm using WinXP and J2EE server Sybase EAServer 5.3 on Java >> 5. >> This container should support JSP 1.2 and Servlet 2.3. The version of >> MyFaces is 1.1.5 and Tomahawk extension is 1.1.6. >> On Tomcat 6 server my webapp works fine. But in our company we need to >> start >> this on EAServer. >> I checked all required jars in my webapp (these jars I took from your >> "simle" example) and nothing is missing. >> The PROBLEM is MyFaces starts OK, but there will be a "BLANK PAGE" in my >> web >> browser (IE7, FireFox) :/!!! There is no exceptions in logs. I compared >> the >> EASEerver log with Tomcat log and found nothing unusual. :( >> Here is a part of my webapp's web.xml (but I guess there is no problem >> with >> it because this webapp works on Tomcat): >> *************************************************** >> <filter> >> <filter-name>MyFacesExtensionsFilter</filter-name> >> >> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-cl >> ass> >> <init-param> >> <param-name>maxFileSize</param-name> >> <param-value>20m</param-value> >> <description>Set the size limit for uploaded files. >> Format: 10 - 10 bytes >> 10k - 10 KB >> 10m - 10 MB >> 1g - 1 GB >> </description> >> </init-param> >> </filter> >> >> <!-- extension mapping for adding <script/>, <link/>, and other >> resource >> tags to JSF-pages --> >> <filter-mapping> >> <filter-name>MyFacesExtensionsFilter</filter-name> >> <!-- I read that in your example is mistake with the filter >> mapping, so >> I use jsp instead of jsf --> >> <url-pattern>*.jsp</url-pattern> >> </filter-mapping> >> >> >> <!-- extension mapping for serving page-independent resources >> (javascript, >> stylesheets, images, etc.) --> >> <filter-mapping> >> <filter-name>MyFacesExtensionsFilter</filter-name> >> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> >> </filter-mapping> >> >> <!-- filter-mapping> >> <filter-name>CestinuOpravujiciFilter</filter-name> >> <servlet-name>action</servlet-name> >> </filter-mapping--> >> >> <!-- Log4j listener --> >> <listener> >> <listener-class> >> org.springframework.web.util.Log4jConfigListener >> </listener-class> >> </listener> >> >> <!-- Spring listener --> >> <listener> >> <listener-class> >> >> org.springframework.web.context.ContextLoaderListener >> </listener-class> >> </listener> >> >> <!-- MyFaces listener that starts up the JSF engine by reading >> faces-config.xml --> >> <listener> >> >> <listener-class>org.apache.myfaces.webapp.StartupServletContextListe >> ner</listener-class> >> </listener> >> >> <!-- MyFaces servlet --> >> <servlet> >> <servlet-name>FacesServlet</servlet-name> >> >> <servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class> >> >> <!--servlet-class>javax.faces.webapp.FacesServlet</servlet-class--> >> <load-on-startup>1</load-on-startup> >> </servlet> >> >> <servlet-mapping> >> <servlet-name>FacesServlet</servlet-name> >> <url-pattern>*.faces</url-pattern> >> </servlet-mapping> >> <servlet-mapping> >> <servlet-name>FacesServlet</servlet-name> >> <url-pattern>/faces/*</url-pattern> >> </servlet-mapping> >> >> <!-- Konfigurace session --> >> <session-config> >> <session-timeout>30</session-timeout> >> </session-config> >> >> <welcome-file-list> >> <welcome-file>index.jsp</welcome-file> >> </welcome-file-list> >> >> *************************************************** >> >> So my questions are: >> 1. Have you any eperience with running MyFaces on EAServer? >> 2. Do you know where is the problem and how could I solve this? >> >> I'm quite desperate with it and will be grateful if you help me. >> Thank you for your advice. >> >> Best regards Petr Jurak >> >> P.S. If you would like to know some other details I'll send you on >> demand. >> >> >> >> Ing. Jurák Petr >> Java Developer >> Czech Post >> >> >> > > -- View this message in context: http://www.nabble.com/Problem-with-JSF-%28MyFaces%29-tf3939166.html#a11227202 Sent from the MyFaces - Users mailing list archive at Nabble.com.
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

