aspose file tools*
The moose likes JSF and the fly likes Weired Problem with JSF TLD on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Weired Problem with JSF TLD on Tomcat" Watch "Weired Problem with JSF TLD on Tomcat" New topic
Author

Weired Problem with JSF TLD on Tomcat

Dev Sushant
Greenhorn

Joined: Feb 11, 2011
Posts: 8
I am working on a JSF / Rich faces application using netbeans and Tomcat 7 / Glassfish. When i run application of Glassfish, it works fine, but on Tomcat 7 , it throws exception saying
PWC6188: The absolute uri: http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar files deployed with this application] with root cause
org.apache.jasper.JasperException: /Login.jsp(7,57) PWC6188: The absolute uri: http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar files deployed with this application.


I am very surprised to see this, as i have added standard.jar and jstl.jar sincerely , and more than that it works perfect on Glassfsh.

By the way i am working parallel on Netbeans 6.9.1 and netbeans 7 beta .

Please help.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

In Glassfish, JSF is an integral part of the GlassFish Server (assuming you're running recent GlassFish).

In Tomcat, JSF is not an integral part of the Tomcat server - unless they added it in Tomcat 7 (and I don't think so). That means that to run a JSF WAR in Tomcat, you need to add the JSF-api and JSF-impl jars to the WAR when you want it to deploy to Tomcat.


Customer surveys are for companies who didn't pay proper attention to begin with.
Dev Sushant
Greenhorn

Joined: Feb 11, 2011
Posts: 8
I have included both jsf-api and jsf-impl jars from the very beginning, but still no use.
Stefan Evans
Bartender

Joined: Jul 06, 2005
Posts: 1018
standard.jar and jstl.jar are for JSTL, and don't have anything directly to do with JSF.

The jsf_core.tld file should be in the jsf-impl.jar
Where have you included your JSF jars? In the WEB-INF/lib directory?

Dev Sushant
Greenhorn

Joined: Feb 11, 2011
Posts: 8
I have closely observed war after building project, and there is jsf_core.tld and html_basic.tld in the web_inf folder. Also there is jsf_api.jar, jstl.jar, jsf-impl.jar
inside web_inf/lib folder .
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 198
What versions are you using? JSF version, jstl version, web-app version, facesconfig version etc etc

And could this be your problem?
http://stackoverflow.com/questions/2151075/cannot-load-jstl-taglib-within-embedded-jetty-server
Dev Sushant
Greenhorn

Joined: Feb 11, 2011
Posts: 8
Thanks , here is what i have in my application :

jstl 1.2 with jstl impl 1.2 (and no standard.jar)
Mozarra 2.0.2
Richfaces 3.3.3 final
Tomcat 7.0.10
JSf 2.0

and the problem that system shows is

SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org/ajax4jsf/resource/InternetResourceBuilder
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 198
You should always give the full exception as you do here
http://stackoverflow.com/questions/5502568/java-lang-runtimeexception-com-sun-faces-config-configurationexception-configur

I assume that you do have the jars richfaces need in your classpath so the (first) answer in the link does not solve your problem?

Could you show the contents of your faces config and web.xml files?

EDIT: also please keep in mind BeForthrightWhenCrossPostingToOtherSites

EDIT2: You say at stachoverflow that you have TWO richfaces impelementation files in your classpath. But according to this link you should only use the jsf2 implementation!
http://community.jboss.org/wiki/RichFaces333andJSF20
Dev Sushant
Greenhorn

Joined: Feb 11, 2011
Posts: 8
Yes, i have 3 jars related to rich faces, one of them being richfaces-ui-3.3.3.jar , and rest 2 for api and implementation.
Here is what i have in web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<init-param>
<param-name>createTempFiles</param-name>
<param-value>false</param-value>
</init-param>
</filter>

<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>

<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<context-param>
<param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
<param-value>true</param-value>
</context-param>
<context-param>

<param-name>org.richfaces.SKIN</param-name>
<param-value>#{ThemeBean.theme}</param-value>


</context-param>
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
<param-value>enable</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

</web-app>

And in faces-config.xml,

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<converter>
<converter-id>dateConverter</converter-id>
<converter-class>org.smvdu.payroll.beans.converter.DateConverter</converter-class>
</converter>
<converter>
<converter-id>departmentConverter</converter-id>
<converter-class>org.smvdu.payroll.beans.setup.Department</converter-class>
</converter>
<converter>
<converter-id>designationConverter</converter-id>
<converter-class>org.smvdu.payroll.beans.setup.Designation</converter-class>
</converter>

<validator>
<validator-id>dateValidator</validator-id>
<validator-class>org.smvdu.payroll.beans.validator.DateValidator</validator-class>
</validator>

<managed-bean>
<description>
LoggedEmployee
</description>
<managed-bean-name>LoggedEmployee</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.module.attendance.LoggedEmployee</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>




<managed-bean>
<description>
ReportBuilder
</description>
<managed-bean-name>ReportBuilder</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.ReportBuilder</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
MasterPassword
</description>
<managed-bean-name>MasterPassword</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.admin.UserPass</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
SessionController
</description>
<managed-bean-name>SessionController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.SessionController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
TaxPlanController
</description>
<managed-bean-name>TaxPlanController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.taxmanager.TaxPlanController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
SessionBean
</description>
<managed-bean-name>SessionBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.SessionMaster</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>



<managed-bean>
<description>
OrgController
</description>
<managed-bean-name>OrgController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.OrgController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
DepartmentController
</description>
<managed-bean-name>DepartmentControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.DepartmentController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
GrossSalaryController
</description>
<managed-bean-name>GrossSalaryController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.api.controller.MonthlyGrossSalaryController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
TaxBean
</description>
<managed-bean-name>TaxBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.taxmanager.TaxCalculatorBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
TaxController
</description>
<managed-bean-name>TaxControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.taxmanager.TaxController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>


<managed-bean>
<description>
SalaryHeadController
</description>
<managed-bean-name>SalaryHeadControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.SalaryHeadController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
EmployeeSalaryHeadController
</description>
<managed-bean-name>EmployeeSalaryHeadControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.EmployeeTypeSalaryController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
DefaultSalaryDataController
</description>
<managed-bean-name>DefaultSalaryDataController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.DefaultSalaryDataController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
SalaryProcessing
</description>
<managed-bean-name>SalaryProcessingBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.NewSalaryProcessing</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
MonthlyGrossController
</description>
<managed-bean-name>MonthlyGrossController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.api.report.MonthlyGrossController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>



<managed-bean>
<description>
LeaveQuotaBean
</description>
<managed-bean-name>LeaveQuotaBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.LeaveQuotaController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
EmployeeLeaveBean
</description>
<managed-bean-name>EmployeeLeaveBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.ext.attendance.EmployeeLeave</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>


<managed-bean>
<description>
LeaveTypeBean
</description>
<managed-bean-name>LeaveTypeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.ext.attendance.LeaveType</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
LeaveValueBean
</description>
<managed-bean-name>LeaveValueBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.ext.attendance.LeaveValue</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
ThemeBean
</description>
<managed-bean-name>ThemeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.ThemeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
EmployeeTypeController
</description>
<managed-bean-name>EmployeeTypeControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.EmployeeTypeController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
SalaryGradeController
</description>
<managed-bean-name>SalaryGradeControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.SalaryGradeController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>




<managed-bean>
<description>
DesignationController
</description>
<managed-bean-name>DesignationControllerBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.DesignationController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
DefaultSalaryBean
</description>
<managed-bean-name>DefaultSalaryBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.DefaultSalaryData</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
DatabaseMain
</description>
<managed-bean-name>CommonDBBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.db.CommonDB</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Test Date Bean
</description>
<managed-bean-name>DateBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.DateBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
TestTable
</description>
<managed-bean-name>TableBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.model.MyTableModel</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Employee Search Bean
</description>
<managed-bean-name>SearchBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.EmployeeSearchBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>



<managed-bean>
<description>
Organization Profile Bean
</description>
<managed-bean-name>OrgProfileBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.Org</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Salary Formula Bean
</description>
<managed-bean-name>SalaryFormulaBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.SalaryFormula</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>





<managed-bean>
<description>
Test Employee Bean
</description>
<managed-bean-name>TestEmployee</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.myemp.TestEmployee</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>







<managed-bean>
<description>
Employee Profile Bean
</description>
<managed-bean-name>EmployeeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.Employee</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Department Bean
</description>
<managed-bean-name>DepartmentBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.Department</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
Investment Plan Bean
</description>
<managed-bean-name>InvestmentPlanBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.InvestmentPlan</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
Investment Heads Bean
</description>
<managed-bean-name>InvestmentHeadBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.InvestmentHead</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Investment Types
</description>
<managed-bean-name>InvestmentTypeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.InvestmentType</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Investment Type Controller
</description>
<managed-bean-name>InvestmentTypeController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.composite.InvestmentTypeController</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Employee Type Bean
</description>
<managed-bean-name>EmployeeTypeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.EmployeeType</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
Salary Grade Bean
</description>
<managed-bean-name>SalaryGradeBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.SalaryGrade</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>


<managed-bean>
<description>
Salary Head Bean
</description>
<managed-bean-name>SalaryHeadBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.SalaryHead</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Designation Bean
</description>
<managed-bean-name>DesignationBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.setup.Designation</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Salary Data Bean
</description>
<managed-bean-name>SalaryDataBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.SalaryData</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
Employee Investment Controller
</description>
<managed-bean-name>EmployeeInvestmentController</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.taxmanager.EmployeeInvestmentController</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>


<managed-bean>
<description>
Salary Profile Bean
</description>
<managed-bean-name>SalaryProfileBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.SalaryProfile</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
User Bean
</description>
<managed-bean-name>UserBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.UserInfo</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>//auth/Login.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>//MainPage.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>fail</from-outcome>
<to-view-id>//auth/Login.jsp</to-view-id>
</navigation-case>
</navigation-rule>

<navigation-rule>
<from-view-id > /SalaryOption.jsp</from-view-id >
<navigation-case >
<from-outcome > test</from-outcome >
<to-view-id > /SalaryOption.jsp</to-view-id >
</navigation-case >
</navigation-rule >
<navigation-rule>
<from-view-id>/EmployeeProfile.jsp</from-view-id>
<navigation-case>
<from-outcome>case1</from-outcome>
<to-view-id>/EmployeeProfile.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/portal/EmployeeLogin.jsp</from-view-id>
<navigation-case>
<from-outcome>case1</from-outcome>
<to-view-id>/portal/Home.jsp</to-view-id>
</navigation-case>
</navigation-rule>




<managed-bean>
<description>
fileUploadBean
</description>
<managed-bean-name>fileUploadBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.user.FileUploadBean</managed-bean-class>

<managed-bean-scope>session</managed-bean-scope>
</managed-bean>

<managed-bean>
<description>
file
</description>
<managed-bean-name>file</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.user.MyFile</managed-bean-class>

<managed-bean-scope>request</managed-bean-scope>
</managed-bean>


<managed-bean>
<description>
MyTempBean
</description>
<managed-bean-name>MyTempBean</managed-bean-name>
<managed-bean-class>org.smvdu.payroll.beans.MyTempBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>

</faces-config>


And finally , here is what i get in error


Apr 1, 2011 12:20:22 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org/ajax4jsf/resource/InternetResourceBuilder
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4651)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5154)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5149)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org/ajax4jsf/resource/InternetResourceBuilder
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
... 8 more
Caused by: java.lang.NoClassDefFoundError: org/ajax4jsf/resource/InternetResourceBuilder
at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:586)
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:472)
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139)
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:796)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:294)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:213)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)

Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 198
I thought that JSF 2.0 needs to have web-app version 2.5 or it does not work. But since it did work with Glassfish I do not know what to say. In any case at least update your web-app



Also your faces config is using version 1.1. Is there a reason for that? I would update it to use 2.0


I do not know if it will fix your problems though...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Weired Problem with JSF TLD on Tomcat