The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI - Websphere

This is a discussion on The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI - Websphere ; Hi, I am new to Portal Development, I am using RAD 6.0 and its integrated Server Websphere Application 6.0. when I create a PortletProject(without JSR 168) the code appears as given below : View.jsp <%@ page session="false" contentType="text/html" import="java.util.*, ibmportlet.*"%> ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI

  1. The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI

    Hi,

    I am new to Portal Development, I am using RAD 6.0 and its integrated Server Websphere Application 6.0. when I create a PortletProject(without JSR 168) the code appears as given below :

    View.jsp

    <%@ page session="false" contentType="text/html" import="java.util.*, ibmportlet.*"%>
    <%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %>
    <portletAPI:init/>

    <%
    IBMPortletPortletSessionBean sessionBean = (IBMPortletPortletSessionBean)portletRequest.getPo rtletSession().getAttribute(IBMPortletPortlet.SESS ION_BEAN);
    %>

    <DIV style="margin: 6px">

    <H3 style="margin-bottom: 3px">Welcome!</H3>
    This is a sample <B>view mode</B> page. You have to edit this page to customize it for your own use.<BR>
    The source file for this page is "/Web Content/ibmportlet/jsp/html/IBMPortletPortletView.jsp".

    <H3 style="margin-bottom: 3px">Form sample</H3>
    This is a sample form to test action event handling.
    <DIV style="margin: 12px; margin-bottom: 36px">
    <% /******** Start of sample code ********/ %>

    <%
    String formText = sessionBean.getFormText();
    if( formText.length()>0 ) {
    %>Order details for order id '<%=formText%>' should be displayed here.<%
    }
    %>
    <FORM method="POST" action="<portletAPI:createURI><portletAPI:URIActio n name='<%=IBMPortletPortlet.FORM_ACTION%>'/></portletAPI:createURI>">
    <LABEL class="wpsLabelText" for="<portletAPI:encodeNamespace value='<%=IBMPortletPortlet.TEXT%>'/>">Enter order id:</LABEL><BR>
    <INPUT class="wpsEditField" name="<portletAPI:encodeNamespace value='<%=IBMPortletPortlet.TEXT%>'/>" type="text"/>
    <INPUT class="wpsButtonText" name="<portletAPI:encodeNamespace value='<%=IBMPortletPortlet.SUBMIT%>'/>" value="Submit" type="submit"/>
    </FORM>

    <% /******** End of sample code *********/ %>
    </DIV>

    </DIV>

    when I Run this page it says

    Error Message:JSPG0047E: Unable to locate tag library for uri /WEB-INF/tld/portlet.tld

    there was no tld folder in WEB-INF so I explicitily created it and put portlet.tld in the same folder with the mapping in web.xml. But after that when I Run the page I get the error as shown below :


    com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/tld/portlet.tld]: JSPG0235E: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI]
    [2/17/06 16:11:50:233 IST] 00000045 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebXmlMap jsp warning failed to load tld at [/WEB-INF/tld/portlet.tld]
    [2/17/06 16:11:50:249 IST] 00000045 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebXmlMap jsp warning failed to load tld at [/WEB-INF/tld/portlet.tld]
    [2/17/06 16:11:50:905 IST] 00000045 jsp E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/tld/portlet.tld]: JSPG0235E: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI]
    [2/17/06 16:11:50:936 IST] 00000045 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebInfMap webinf tld failed to load for resourcePath =[/WEB-INF/tld/portlet.tld]
    com.ibm.ws.jsp.JspCoreException: org.xml.sax.SAXException: JSPG0235E: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI]
    at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser .java:236)
    at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebInfMa p(TagLibraryCache.java:277)
    at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebInfMa p(TagLibraryCache.java:298)
    at com.ibm.ws.jsp.taglib.TagLibraryCache.<init>(TagLi braryCache.java:91)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcess or.<init>(JSPExtensionProcessor.java:143)
    at com.ibm.ws.jsp.webcontainerext.JSPExtensionFactory .createExtensionProcessor(JSPExtensionFactory.java :96)
    at com.ibm.ws.webcontainer.webapp.WebApp.initializeEx tensionProcessors(WebApp.java:1068)
    at com.ibm.ws.webcontainer.webapp.WebApp.initialize(W ebApp.java:363)
    at com.ibm.ws.webcontainer.webapp.WebGroup.addWebAppl ication(WebGroup.java:114)
    at com.ibm.ws.webcontainer.VirtualHost.addWebApplicat ion(VirtualHost.java:127)
    at com.ibm.ws.webcontainer.WebContainer.addWebApp(Web Container.java:776)
    at com.ibm.ws.webcontainer.WebContainer.addWebApplica tion(WebContainer.java:729)
    at com.ibm.ws.runtime.component.WebContainerImpl.inst all(WebContainerImpl.java:140)
    at com.ibm.ws.runtime.component.WebContainerImpl.star t(WebContainerImpl.java:360)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.st art(ApplicationMgrImpl.java:1019)
    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.fireDeployedObjectStart(DeployedApplicationImpl .java:1028)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.st art(DeployedModuleImpl.java:538)
    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.start(DeployedApplicationImpl.java:724)


    I am unable to locate jar file for com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI its not there in wp.api.pc.pe.legacy.jar.

    Please help me out. I just want to create a simple portlet using Wizard

    Thanks and Regards
    Anamika


  2. Re: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI


    Try to install Portal tools with RAD 6.0 and select 'WebSphere Portal v5.1 stub' as the target server of your project.

  3. Re: The JSP container failed to load the TagExtraInfo class [com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI

    Hi, I am also facing the same problem. Did you get the answer?
    When i try to run a sample portlet application in websphere6.0, i am getting

    "Could not load TagExtraInfo class com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI: com.ibm.wps.pe.pc.legacy.tags.ClientTag$TEI

    Could not load TagExtraInfo class com.ibm.wps.pe.pc.legacy.tags.InitTag$TEI: com.ibm.wps.pe.pc.legacy.tags.InitTag$TEI"

    Please help me out if you resolved it.


+ Reply to Thread