• 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

ActionServlet handleConfigException,starting tomcat & struts 1.1 when internet is down

 
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am developing a web application using ecllipse,Struts 1.1 with Tomcat 6

Normally my tomcat server starts fine.
I found a strange thing, when internet is down, I get an error message while starting the server as follows :-



struts-config as follows :-


web.xml as follows :-


Also struts-config_1_1.dtd file is stored under web-inf/lib folder.

I have extensively searched net what could not get it working.

What could be the cause ?

Would be grateful for comments on this.

Regards
Vijay
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi vijay,
I am facing with same problem, check : ActionServlet handleConfigException
was it resolved in your case? (my internet connection is working fine, might be problem with firewall..)
 
vijay dadhwal
Ranch Hand
Posts: 47
Hibernate Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kumar,

Look at the line


According to struts 1.x digestor it says that if the 3rd parameter i.e. "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" does not match with the string as specified in struts 1.x dtd file then it will look for the dtd file in 4th parameter url i.e. http://struts.apache.org/dtds/struts-config_1_3.dtd

This is the normal phenomena and often we do not get to know since we are roughly always connected online.It's only when internet is not working we get socket error.
So resolution for the problem should be that please specify the 3rd parameter from your dtd file, which in your case is struts-config_1_3.dtd.

Dig in struts1.x jar file and look for this dtd file and open it, copy the string and paste in your struts-config.xml file.

i hope this should solve the problem.

Regards
Vijay Kumar


reply
    Bookmark Topic Watch Topic
  • New Topic