aspose file tools*
The moose likes Websphere and the fly likes Struts appliaction is not working with WAS 6.1.0 Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Struts appliaction is not working with WAS 6.1.0 Server" Watch "Struts appliaction is not working with WAS 6.1.0 Server" New topic
Author

Struts appliaction is not working with WAS 6.1.0 Server

Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi,

I have migrated my Struts application from WAS 4.0 to 6.1. but it is not wokring on the server. my application is having the JSTL (Java Standard tag libraries) and i'm using JSP 2.0 and Struts 1.1, can any body suggest what are all the required jar file to upgrade application.

Thanks in advance.

Sirish Kumar
HCLT
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Sirish,
What error are you getting?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi Jeanne,

I'm getting the following error could you please have look at the error,

Unable to locate tag library for uri /WEB-INF/struts-html.tld

com.ibm.ws.jsp.JspCoreException: JSPG0047E: Unable to locate tag library for uri /WEB-INF/struts-html.tld at com.ibm.ws.jsp.translator.visitor.tagfiledep.TagFileDependencyVisitor.visitCustomTagStart(TagFileDependencyVisitor.java:73)at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:253)at com.ibm.ws.jsp.translator.visitor.JspVisitor.processChildren(JspVisitor.java:286)at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:125)at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:110)at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121)at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:168)at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:81)at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.translateJsp(JSPExtensionServletWrapper.java:360)at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper._checkForTranslation(JSPExtensionServletWrapper.java:329)at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:237)at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:144)at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:241)at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2905)at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1829)at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:469)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:408)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:286)at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1455)

Thanks and Regards,

Sirish Kumar
HCL Technologies
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Originally posted by Sirish Kumar GongalReddy:
Unable to locate tag library for uri /WEB-INF/struts-html.tld

This is good - it's a very specific error. Things to check:
1) Does a tld exist in that location?
2) Is it defined in your web.xml?
3) Is it defined in your JSP?
Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi,

Thanks for yor reply! but everything is Ok in my codebase. but still no luck.
I have installed a server patch and i made some changes in server configuarations (i.e i modified parent_last in all 3 levels) now i'm getting new error,

[18/12/06 11:45:34:194 IST] 0000000a jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.nested.logic.NestedIterateTei]
[18/12/06 11:45:34:209 IST] 0000000a jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.tiles.UseAttributeTei]
[18/12/06 11:45:34:397 IST] 0000000a WebExtensionP W Servlet action is currently unavailable: SRVE0201E: Servlet [org.apache.struts.action.ActionServlet]: not a servlet class
[18/12/06 11:45:34:397 IST] 0000000a WebExtensionP E SRVE0026E: [Servlet Error]-[javax.servlet.UnavailableException: SRVE0201E: Servlet [org.apache.struts.action.ActionServlet]: not a servlet class
at com.ibm.ws.webcontainer.servlet.ServletWrapper$3.run(ServletWrapper.java:1807)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:1775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1689)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:820)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:547)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:419)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:117)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:128)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:939)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:892)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1228)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:751)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:892)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2003)
at com.ibm.ws.runtime.component.ComponentImpl.runAsynchronousInitializer(ComponentImpl.java:159)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplications(ApplicationMgrImpl.java:745)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:524)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:408)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:568)
]: {1}
[18/12/06 11:45:34:428 IST] 0000000a VirtualHost I SRVE0250I: Web Module Eclipse Admin Application has been bound to default_host[*:9080,*:80,*:9443].
[18/12/06 11:45:34:475 IST] 0000000a ApplicationMg A WSVR0221I: Application started: Eclipse Admin
[18/12/06 11:45:34:475 IST] 0000000a ApplicationMg A WSVR0200I: Starting application: ManagementEJB
[18/12/06 11:45:34:506 IST] 0000000a EJBContainerI I WSVR0207I: Preparing to start EJB jar: mejb.jar
[18/12/06 11:45:34:600 IST] 0000000a EJBContainerI I WSVR0037I: Starting EJB jar: mejb.jar
[18/12/06 11:45:34:663 IST] 0000000a ApplicationMg A WSVR0221I: Application started: ManagementEJB
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Struts appliaction is not working with WAS 6.1.0 Server