Hi,
I have a problem when I'm trying to put together JSF(my faces) and orbeon(latest) on tomcat 5.5.x, it works on tomcat 5.0.x.
when i access /faces/login.jsp I get an exception below, tomcat can not compile jsp.
does anybody know what problem is here? Can OPS jars conflict with tomcat?
any help will be appreciated.
Servlet mapping:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> ----login.jsp------- <jsp:root xmlns:jsp="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://java.sun.com/JSP/Page" target="_blank">http://java.sun.com/JSP/Page"
xmlns:f="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://java.sun.com/jsf/core" target="_blank"> http://java.sun.com/jsf/core" xmlns:h="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://java.sun.com/jsf/html" target="_blank">http://java.sun.com/jsf/html" version=" 2.0"> <f:view> <html xmlns="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/1999/xhtml" target="_blank"> http://www.w3.org/1999/xhtml"> <head> <title>Login Page</title> </head> <body> <h:form> <h:messages errorClass="errorMessage"/> Username: <h:inputText id="username" value="#{user.username}" required="true" /><br/> Password: <h:inputSecret id="password"/><br/> <h:commandButton value="Login" action="#{user.login}" /> <h:commandButton type="reset" value="Reset"/> </h:form> </body> </html> </f:view> </jsp:root> ----- ----Exception-----
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /login.jsp(3,64) Could not add one or more tag libraries. at org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86) at org.apache.jasper.compiler.JspDocumentParser.parse (JspDocumentParser.java:211) at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:196) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) at org.apache.jasper.compiler.Compiler.generateJava (Compiler.java:155) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) at org.apache.jasper.compiler.Compiler.compile(Compiler.java :264) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward (ApplicationDispatcher.java:301) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView( JspViewHandlerImpl.java :234) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java :527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run (Thread.java:595) ----
-- Best regards, Vitalie -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Vitalie,
The exception is unfortunately not very telling. Of course there is always a theoretical possibility that JARs can conflict, because Java is utterly broken in its handling of components and dependencies, but in this case I am not sure which JAR could cause the conflict. One way out is to try to progressively remove OPS JARs from WEB-INF/lib until you find the culprit. -Erik Vitalie Lazu wrote: > Hi, > > I have a problem when I'm trying to put together JSF(my faces) and > orbeon(latest) on tomcat 5.5.x, it works on tomcat 5.0.x. > > when i access /faces/login.jsp I get an exception below, tomcat can not > compile jsp. > > does anybody know what problem is here? Can OPS jars conflict with tomcat? > > any help will be appreciated. > > Servlet mapping: > <servlet-mapping> > <servlet-name>Faces Servlet</servlet-name> > <url-pattern>/faces/*</url-pattern> > </servlet-mapping> > > ----login.jsp------- > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" > xmlns:f=" http://java.sun.com/jsf/core" > xmlns:h="http://java.sun.com/jsf/html" version=" 2.0"> > <f:view> > <html xmlns=" http://www.w3.org/1999/xhtml"> > <head> > <title>Login Page</title> > </head> > <body> > <h:form> > <h:messages errorClass="errorMessage"/> > > Username: <h:inputText id="username" > value="#{user.username}" required="true" /><br/> > Password: <h:inputSecret id="password"/><br/> > <h:commandButton value="Login" action="#{user.login}" /> > <h:commandButton type="reset" value="Reset"/> > </h:form> > </body> > </html> > </f:view> > </jsp:root> > ----- > > *----Exception-----* > SEVERE: Servlet.service() for servlet jsp threw exception > org.apache.jasper.JasperException: /login.jsp(3,64) Could not add one or > more tag libraries. > at org.apache.jasper.compiler.DefaultErrorHandler.jspError > (DefaultErrorHandler.java:39) > at > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405) > at > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86) > at org.apache.jasper.compiler.JspDocumentParser.parse > (JspDocumentParser.java:211) > at > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:196) > at > org.apache.jasper.compiler.ParserController.parse(ParserController.java:100) > at org.apache.jasper.compiler.Compiler.generateJava (Compiler.java:155) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java :264) > at > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) > at org.apache.jasper.servlet.JspServlet.serviceJspFile > (JspServlet.java:314) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) > > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) > at org.apache.catalina.core.ApplicationDispatcher.forward > (ApplicationDispatcher.java:301) > at > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416) > at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView( > JspViewHandlerImpl.java :234) > at > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run (Thread.java:595) > > ---- > > -- > Best regards, > Vitalie > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |