Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error migrating struts application from 5.x to 6.x WAS

12 views
Skip to first unread message

fras...@hotmail.com

unread,
Oct 18, 2007, 4:43:53 AM10/18/07
to
I am using Websphere Test Server 5.x that comes with RAD6.0 and able to run my application successfully with this setting.

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)

Daniel Garcia

unread,
Oct 19, 2007, 7:07:52 AM10/19/07
to
Hi,

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

sg...@aol.com

unread,
May 11, 2009, 1:52:49 PM5/11/09
to
Did you find an answer to this problem?

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

kant...@gmail.com

unread,
May 11, 2009, 5:29:40 PM5/11/09
to
I',m also getting the same issue. Please let me know if any solution/suggestions.

Thanks.
NKR

Brian S Paskin

unread,
May 12, 2009, 7:14:51 AM5/12/09
to
Hi, Since there are several different versions of Struts out and the standards supported under WebSphere v6.1 have changed since WebSphere v5.x, make sure you have included all the necessary Struts libraries in your war and have set the classloader to parent last.

Regards,
Brian

0 new messages