Error deploying struts app in jboss - UnknownHostException

Discussions

Web tier: servlets, JSP, Web frameworks: Error deploying struts app in jboss - UnknownHostException

  1. I'm trying to deploy a web struts app into jboss and :

    java.net.UnknownHostException: java.sun.com
    java.net.UnknownHostException: jakarta.apache.org
    javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml

    The same war deployed into Tomcat has no problems, any idea???


    Thanks a lot
  2. Cannot say for sure until I can see more exception but try adding struts.jar in lib folder of deploy dir in jboss.

    Also add DTD (for TLDs ) in you tld folder or where ever you have placed your TLDs. (** Do this if you are not connected to Net at all time or else ignore it)

    Tim