Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Configuring weblogic 10 (myfaces 1.1.5) with net adv 2009 jsf 1.1 with facelets
posted


Hi,
I am getting error when i am using facelets configuration along with Netadvantage 2009 JSF 1.1. in weblogic 10.
I am attaching the web.xml. and the log. Looks like Infragistics tag library scrued up as it is not able to load tag library.
Do any one experience the same problem? if so please let me know the configuration.
Goutam

Web.xml
..............
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" 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">
    <display-name>SampleFaceletTest</display-name>
    <context-param>
        <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
        <param-value>resources.application</param-value>
    </context-param>
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
        <!--<description>
   State saving method: "client" or "server" (= default)
   See JSF Specification 2.5.2
  </description>-->
    </context-param>
   <!-- Use Documents Saved as *.xhtml --> 
   <context-param>
     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
     <param-value>.xhtml</param-value>
   </context-param>   
   <context-param>
    <param-name>facelets.LIBRARIES</param-name>
    <param-value>/WEB-INF/taglib/netAdvantage.facelet.taglib.xml</param-value>
   </context-param>
  <!-- Use infragistics stuff --> 
    <context-param>    
       <param-name>com.infragistics.faces.THEME</param-name>  
       <param-value>Nautilus</param-value>
    </context-param>
 <context-param>
   <param-name>javax.faces.CONFIG_FILES</param-name>
   <param-value>/WEB-INF/faces-config.xml</param-value>
 </context-param>        
    <context-param>
        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
        <param-value>true</param-value>
        <!--<description>
            This parameter tells MyFaces if javascript code should be allowed in the
            rendered HTML output.
            If javascript is allowed, command_link anchors will have javascript code
            that submits the corresponding form.
            If javascript is not allowed, the state saving info and nested parameters
            will be added as url parameters.
            Default: "true"
        </description>-->
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
        <param-value>true</param-value>
        <!--<description>
            If true, rendered HTML code will be formatted, so that it is "human readable".
            i.e. additional line separators and whitespace will be written, that do not
            influence the HTML code.
            Default: "true"
        </description>-->
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
        <param-value>true</param-value>
        <!--<description>
            If true, a javascript function will be rendered that is able to restore the
            former vertical scroll on every request. Convenient feature if you have pages
            with long lists and you do not want the browser page to always jump to the top
            if you trigger a link or button action that stays on the same page.
            Default: "false"
        </description>-->
    </context-param>
    <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <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>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <servlet-name>faces</servlet-name>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <listener>
        <!--Listener, that does all the startup work (configuration, init).-->
        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <servlet>
        <servlet-name>faces</servlet-name>
        <servlet-class>org.apache.myfaces.webapp.MyFacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
      <!-- Faces Servlet -->
 <!--   <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>
   <servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>*.xhtml</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
     <servlet-name>Faces Servlet</servlet-name>
     <url-pattern>*.faces</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
     <servlet-name>Faces Servlet</servlet-name>
     <url-pattern>/faces/*</url-pattern>
   </servlet-mapping> -->   
 <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
   <servlet-mapping>
  <servlet-name>faces</servlet-name>
  <url-pattern>*.xhtml</url-pattern>
   </servlet-mapping>   
    <welcome-file-list>
        <welcome-file>index.jsf</welcome-file>
        <welcome-file>index.faces</welcome-file>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
        <welcome-file>index.xhtml</welcome-file>
    </welcome-file-list>
</web-app>

Error. Log
......................................................
<19-Jun-2009 14:35:34 o'clock BST> <Warning> <org.apache.myfaces.config.FacesConfigurator> <BEA-000000> </WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice.  See JSF spec 1.1, 10.3.2>
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
SEVERE: Error Loading Library: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-netadvantage.jar!/META-INF/netAdvantage.facelet.taglib.xml
java.io.IOException: Error parsing [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-netadvantage.jar!/META-INF/netAdvantage.facelet.taglib.xml]:
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)
 at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418)
 at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
 at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
 at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
 at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
 at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
 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.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:77)
 at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
 at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
 at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
 at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
 at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
 at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: org.xml.sax.SAXException: Error Handling [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-netadvantage.jar!/META-INF/netAdvantage.facelet.taglib.xml@457,100] <handler-class>
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2108)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
 at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
 at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:394)
 ... 27 more
Caused by: java.lang.ClassNotFoundException: com.infragistics.faces.tab.taglib.html.TabViewClientEventsHandler
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:242)
 at com.sun.facelets.compiler.ReflectionUtil.forName(ReflectionUtil.java:55)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:278)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:205)
 ... 43 more
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webgrid.jar!/META-INF/webGrid.facelet.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webbar.jar!/META-INF/webBar.facelet.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webdropdown.jar!/META-INF/webDropDown.facelet.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webchart.jar!/META-INF/webChart.facelet.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webmenu.jar!/META-INF/webMenu.facelet.taglib.xml
19-Jun-2009 14:35:50 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
SEVERE: Error Loading Library: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webtab.jar!/META-INF/webTab.facelet.taglib.xml
java.io.IOException: Error parsing [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webtab.jar!/META-INF/webTab.facelet.taglib.xml]:
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)
 at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418)
 at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
 at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
 at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
 at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
 at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
 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.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:77)
 at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
 at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
 at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
 at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
 at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
 at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: org.xml.sax.SAXException: Error Handling [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webtab.jar!/META-INF/webTab.facelet.taglib.xml@29,100] <handler-class>
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2108)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
 at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
 at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:394)
 ... 27 more
Caused by: java.lang.ClassNotFoundException: com.infragistics.faces.tab.taglib.html.TabViewClientEventsHandler
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:242)
 at com.sun.facelets.compiler.ReflectionUtil.forName(ReflectionUtil.java:55)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:278)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:205)
 ... 43 more
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webdialogwindow.jar!/META-INF/webDialogWindow.facelet.taglib.xml
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-shared.jar!/META-INF/shared.facelet.taglib.xml
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
SEVERE: Error Loading Library: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webinput.jar!/META-INF/webInput.facelet.taglib.xml
java.io.IOException: Error parsing [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webinput.jar!/META-INF/webInput.facelet.taglib.xml]:
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397)
 at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418)
 at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
 at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
 at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
 at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
 at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
 at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
 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.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:77)
 at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
 at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
 at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
 at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(Unknown Source)
 at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
 at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
 at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: org.xml.sax.SAXException: Error Handling [zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webinput.jar!/META-INF/webInput.facelet.taglib.xml@166,110] <handler-class>
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XMLDTDValidator.java:2108)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2059)
 at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
 at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
 at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
 at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:394)
 ... 27 more
Caused by: java.lang.ClassNotFoundException: com.infragistics.faces.input.taglib.html.InputRegularClientEventsTagHandler
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:242)
 at com.sun.facelets.compiler.ReflectionUtil.forName(ReflectionUtil.java:55)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:278)
 at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:205)
 ... 43 more
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/infragistics-webtree.jar!/META-INF/webTree.facelet.taglib.xml
19-Jun-2009 14:35:51 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: zip:C:/cs/appsrv/bin/wl10.0a/user_projects/domains/SampleFaceletTest/servers/AdminServer/tmp/_WL_user/_workshop_auto_generated_ear_/f8z2fq/war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml

Parents
No Data
Reply
  • 25
    Suggested Answer
    posted

    OK I think I've found the problem.  Apparently, three of the jar files contain XML files which have incorrect class names.

    In order to fix the problem you need to do the following:

    Classes that are wrong:

    • com.infragistics.faces.tab.taglib.html.TabViewClientEventsHandler should be com.infragistics.faces.tab.taglib.html.TabViewClientEventsTagHandler
      • 2 instances in infragistics-netadvantage.jar (META-INF/netAdvantage.facelet.taglib.xml inside the JAR)
      • 1 instance in infragistics-webtab.jar (/META-INF/webTab.facelet.taglib.xml inside the JAR)
    • com.inf"1.2/webTab/src/main/resources/META-INF/webTab.facelet.taglib.xml"ragistics.faces.tab.taglib.html.TabViewTagHandler should be just com.infragistics.faces.tab.taglib.html.TabViewTagHandler (appears to be a victim of copy and paste)
      • 1 instance of this in infragistics-webtab.jar (/META-INF/webTab.facelet.taglib.xml inside the JAR)
    • com.infragistics.faces.input.taglib.html.InputRegularClientEventsTagHandler should be com.infragistics.faces.input.taglib.html.InputRegularExpressionClientEventsTagHandler
      • 1 instance of this in infragistics-webinput.jar (/META-INF/webInput.facelet.taglib.xml inside the JAR)

    Hope this helps...


     


     

Children