We need to move to WAS6.x runtime and am trying to start my web application in Websphere 6.x that comes with RAD 6.0. I get following error when I bring up struts based web application. Has anyone faced this issue before or can anyone help me ?
[2007-10-18 10:38:22:860 CEST] 00000015 jsp E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/conf/struts.tld]: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
[2007-10-18 10:38:22:876 CEST] 00000015 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebXmlMap jsp warning failed to load tld at [/WEB-INF/conf/struts.tld]
[2007-10-18 10:38:22:876 CEST] 00000015 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebXmlMap jsp warning failed to load tld at [/WEB-INF/conf/struts.tld]
[2007-10-18 10:38:23:235 CEST] 00000015 jsp E com.ibm.ws.jsp.taglib.TldParser logParseErrorMessage Failed to parse Tag Library [/WEB-INF/conf/struts.tld]: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
[2007-10-18 10:38:23:235 CEST] 00000015 jsp W com.ibm.ws.jsp.taglib.TagLibraryCache loadWebInfMap webinf tld failed to load for resourcePath =[/WEB-INF/conf/struts.tld]
com.ibm.ws.jsp.JspCoreException: org.xml.sax.SAXException: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:246)
at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebInfMap(TagLibraryCache.java:295)
at com.ibm.ws.jsp.taglib.TagLibraryCache.loadWebInfMap(TagLibraryCache.java:316)
at com.ibm.ws.jsp.taglib.TagLibraryCache.<init>(TagLibraryCache.java:97)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:158)
at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:59)
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:1030)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:256)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:272)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: org.xml.sax.SAXException: JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.EnumerateTei]
at com.ibm.ws.jsp.taglib.TldParser.endElement(TldParser.java:376)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.jsp.translator.visitor.xml.ParserFactory.parseDocument(ParserFactory.java:104)
at com.ibm.ws.jsp.taglib.TldParser.parse(TldParser.java:281)
at com.ibm.ws.jsp.taglib.TldParser.parseTLD(TldParser.java:241)
You need to modify the files struts-config.xml and web.xml and put "/"
at the beginning of the resources.
Also, you can add a parameter in the application server to solve this
problems.
Regards,
Dani
Could you please show an example of what exact changes need to be made in struts.tld and web.xml?
Could you please also give example of what exact parameter need to be added in WAS 6.1 test server, instead of making changes in both web.xml and struts.tld?
Regards
Thanks.
NKR
Regards,
Brian