Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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
  • 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
  • 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
  • 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


 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic