-
1. Re: Run rich faces under Tomcat
sergeysmirnov Dec 20, 2007 5:21 PM (in response to parki)You are probably missing the "Most Important Links" page (link is below)
The main richfaces-demo is working under Tomcat 5.5
The different between deployment under J2EE, Tomcat6 and JavaEE 5 is a set of jar files. -
2. Re: Run rich faces under Tomcat
parki Dec 21, 2007 9:06 AM (in response to parki)Thanks Sergey.
I am able to get the demo app working in Tomcat5, which is very cool.
So this is good, but when I try to run my app (which runs under JBoss) I get an exception (see below).
I took a look at some other postings related, but unsure how to fix it.
My app is now using the _same_ jars as in the demo, but it appears that there is some issue with JSP?
Thanks.
parki...
javax.servlet.ServletException: javax/servlet/jsp/tagext/JspIdConsumer
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/JspIdConsumer -
3. Re: Run rich faces under Tomcat
sergeysmirnov Dec 21, 2007 1:29 PM (in response to parki)Use facelets instead of JSP if you want to run your app under jboss.
-
4. Re: Run rich faces under Tomcat
parki Dec 21, 2007 3:47 PM (in response to parki)Hi Sergey:
I'm new to all this - how do I use facelets as opposed to JSP?
Is this a simple refactoring exercise?
Thanks.
parki... -
-
6. Re: Run rich faces under Tomcat
parki Dec 21, 2007 6:04 PM (in response to parki)Thanks Sergey.
I went the other direction - since the examples are working under Tomcat, I'm going to refactor my web app basing it on the example code - should be much easier to do this (as I'm starting with something that works).
Appreciated.
parki..