• 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

Error while deploying struts application on Weblogic server

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
While I deploy my application on server it is deployed successfully but on logs I am getting errors that I have given below.I am not abe to access the application.I checked my web.xml as well and it seems fine to me.
Please see the error.
-------------------------------------
<Sep 11, 2006 11:24:45 PM PDT> <Error> <HTTP> <BEA-101125> <[ServletContext(id=5
232529,name=eManage2,context-path=/apps/emanage)] Error occurred while instantia
ting servlet: "action".
java.lang.NoSuchMethodError: org.apache.commons.collections.ArrayStack: method <
init>(I)V not found
at org.apache.commons.digester.Digester.<init>(Digester.java:151)
at org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java
:1079)

<Sep 11, 2006 11:24:45 PM PDT> <Error> <HTTP> <BEA-101216> <Servlet: "action" fa
iled to preload on startup in Web application: "eManage2".
javax.servlet.ServletException: Servlet class: 'org.apache.struts.action.ActionS
ervlet' doesn't have a default constructor
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(

---------------------------------------------
Please help me out.

Thanks in advance.
Nilesh
 
Nilesh Sah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Any ideas on this.

Thanks a lot
Nilesh
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The most likely cause of this is an XML error in your struts-config.xml file. Examine it carefully to see if there are un-terminated tags or other XML errors.
 
Nilesh Sah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Merrill,
The application was running fine previously. However I have managed to remove that error but now it is giving some other error while deploying .Please see below.
---------------------------------------------
Sep 13, 2006 4:44:32 AM PDT> <Error> <HTTP> <BEA-101216> <Servlet: "action" faied to preload on startup in Web application: "eManageNew".
avax.servlet.ServletException: org/apache/commons/beanutils/Converter
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter

-----------------------------------------------------
I have checked and found that commons-beanutils-1.7.0.jar is in WEB-INF/lib.
Please help me out.

Thanks and Regards
Nilesh Sah
 
Nilesh Sah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Merrill,
I have resolved this issue by explicitly setting commons-beanutils-1.7.0.jar file in my server start up script. My OS is solaris(sparc).What amazes me is that why it was not picking up from my applications's WEB-INF/lib.

Thanks a lot

Nilesh Sah
 
reply
    Bookmark Topic Watch Topic
  • New Topic