• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

com.ibm.ws.jsp.taglib.TagLibraryCache loadTaglibTldFromJar jsp error failed to parse tld in jar. uri

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

I am enountering the following error after migrating my application from Portal 5.1 to Portal6.1 environment.
com.ibm.ws.jsp.taglib.TagLibraryCache loadTaglibTldFromJar jsp error failed to parse tld in jar. uri = [/WEB-INF/lib/utility.jar]
com.ibm.ws.jsp.JspCoreException: JSPG0234E: The JSP container is unable to locate the Java archive (JAR) resource [/WEB-INF/lib/utility.jar] to parse tag library descriptors (TLDs).
at com.ibm.ws.jsp.taglib.TagLibraryCache.loadTaglibTldFromJar(TagLibraryCache.java:449)
at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebXmlMap(TagLibraryCache.java:149)
at com.ibm.ws.jsp.taglib.TagLibraryCache.<init>(TagLibraryCache.java:99)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:166)
at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:65)
at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionFactory.createProcessor(WASJSPExtensionFactory.java:188)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionFactory.createExtensionProcessor(AbstractJSPExtensionFactory.java:75)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1124)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:304)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:290)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:665)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:618)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2122)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

I have made the chages in the application wrt to struts tld as intructed in the Migration guide, i.e removed the following tld's from the wEB-INF folder and replaced the taglib URI entry in the JSP page with the required url:
 struts-bean.tld
 struts-chtml.tld
 struts-html.tld
 struts-logic.tld
 struts-nested.tld
 struts-portal-html.tld
 struts-portal-wml.tld
 struts-template.tld
 struts-tiles.tld
 struts-wml.tld

 http://struts.apache.org/tags-bean
 http://struts.apache.org/tags-chtml
 http://struts.apache.org/tags-html
 http://struts.apache.org/tags-logic
 http://struts.apache.org/tags-nested
 http://portal/struts/tags-html-1.0
 http://portal/struts/tags-wml-1.0
 http://struts.apache.org/tags-template
 http://struts.apache.org/tags-tiles
 http://struts.apache.org/tags-wml-1.0

And I have removed the entry of these tld's from my web.xml.
But the Utility jar for which the error is encountred is there in the WEB-INF. Please guide if anybody has encounterd the similar error and solved successfully.
 
You know it is dark times when the trees riot. I think this tiny ad is their leader:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic