• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to deploy the struts war file in jakarta tomcat??

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I am trying to deploy Banking war file (http://examples.oreilly.com/jakarta/)in jakarta-tomcat-4.0.4. But I am getting exceptions.
My OS is Windows 2000
Here are the versions I am using,
Apache-ant-1.5.1
jakarta-struts-1.1-rc1
Can onyone tell me the procedure of successfully deploying war file in tomcat?? I think there is an error while setting struts configuration in Tomcat..
I will be glad if anyone help me here..
Here are the errors I am getting..
type: Exception report
message: Internal Server Error
description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception :
javax.servlet.ServletException: org/apache/commons/logging/LogFactory
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:524)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
etc etc...
RootCause:
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.struts.util.MessageResources.(MessageResources.java:105)
at org.apache.struts.taglib.html.HtmlTag.(HtmlTag.java:94)
at org.apache.jsp.login$jsp._jspService(login$jsp.java:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
etc etc....
Thanks in advance..
[ May 08, 2003: Message edited by: jyothi sunke ]
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Jyothi if you have already fix the problem. Please email me also. I am stuck into same problem since last few days. Please do it for me.
Thanks in advance.
Mahesh Malviya
mahesh_malviya@yahoo.com
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you must be missing log4j.jar
 
reply
    Bookmark Topic Watch Topic
  • New Topic