JSF application with tomcat and gcj

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i run a jsf application with tomcat 5.5.23 under Fedora rawhide.

If it comes to compiling the JSPs i get the following errors:

javax.servlet.ServletException: Unable to compile class for JSP: 

An error occurred at line: 1 in the jsp file: /index.jsp
The type java.io.Writer cannot be resolved. It is indirectly referenced from required .class files
1: <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
2: <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
3:
4: <f:view>


An error occurred at line: 1 in the jsp file: /index.jsp
The method write(String) is undefined for the type JspWriter
1: <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
2: <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
3:
4: <f:view>

... there are many more such errors - for every line of the JSP


with the following stacktrace within the localhost*.log

Stacktrace:
   at org.apache.jasper.compiler.DefaultErrorHandler.javacError(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.compiler.ErrorDispatcher.javacError(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.compiler.JDTCompiler.generateClass(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.JspCompilationContext.compile(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.23.jar.so)
   at org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.23.jar.so)
   at javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationDispatcher.processRequest(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationDispatcher.doForward(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationDispatcher.forward(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
   at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
   at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
   at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.StandardWrapperValve.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.sowsz71d.so)
   at org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
   at java.lang.Thread.run(libgcj.so.8rh)

The same version of the JSP-App is running perfectly fine under a windows tomcat.

The jars in the WEB-INF/lib are:

-rw-r--r-- 1 root root  188671 2007-01-25 17:00 commons-beanutils-1.7.0.jar
-rw-r--r-- 1 root root   46725 2007-01-25 17:00 commons-codec-1.3.jar
-rw-r--r-- 1 root root  559366 2007-01-25 17:00 commons-collections-3.1.jar
-rw-r--r-- 1 root root  168446 2007-01-25 17:00 commons-digester-1.6.jar
-rw-r--r-- 1 root root  112341 2007-01-25 17:00 commons-el-1.0.jar
-rw-r--r-- 1 root root   22379 2007-01-25 17:00 commons-fileupload-1.0.jar
-rw-r--r-- 1 root root  207723 2007-01-25 16:59 commons-lang-2.1.jar
-rw-r--r-- 1 root root   38015 2007-01-25 16:59 commons-logging-1.0.4.jar
-rw-r--r-- 1 root root  138956 2007-03-23 11:38 commons-validator-1.3.1.jar
-rw-r--r-- 1 root root   16923 2007-01-25 16:59 jstl-1.1.0.jar
-rw-r--r-- 1 root root  251988 2007-02-13 10:18 myfaces-api-1.1.5.jar
-rw-r--r-- 1 root root  543521 2007-02-12 10:09 myfaces-impl-1.1.5.jar
-rw-r--r-- 1 root root   65261 2007-01-25 17:00 oro-2.0.8.jar
-rw-r--r-- 1 root root 2941389 2007-06-12 12:28 tomahawk-1.1.6.jar

Any ideas ?

Regards
Michael

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux