struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lavezzo Joseph F" <Joseph.F.Lave...@irs.gov>
Subject RE: Initializing Struts
Date Thu, 19 Apr 2007 19:40:39 GMT
Updated Error Message:

2007-04-19 15:38:49 ERROR [ActionServlet - initServlet] - The
/WEB-INF/web.xml was not found.
java.net.UnknownHostException: java.sun.com
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:31
81)
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:32
07)
	at
org.apache.commons.digester.Digester.resolveEntity(Digester.java:1617)
	at
oracle.xml.parser.v2.NonValidatingParser.pushExternalDTD(NonValidatingPa
rser.java:510)
	at
oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatingP
arser.java:468)
	at
oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser
.java:301)
	at
oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingPars
er.java:280)
	at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1765)
	at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:17
85)
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:349)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.jav
a:2354)
	at
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.jav
a:4795)
	at
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplica
tion.java:4889)
	at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.jav
a:1015)
	at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549
)
	at
com.evermind.server.Application.getHttpApplication(Application.java:890)
	at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:7
07)
	at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
	at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:455)
	at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
285)
	at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
126)
	at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:186)
	at java.lang.Thread.run(Thread.java:534)
2007-04-19 15:38:49 ERROR [ActionServlet - init] - Unable to initialize
Struts ActionServlet due to an unexpected exception or error thrown, so
marking the servlet as unavailable.  Most likely, this is due to an
incorrect or missing library dependency.
javax.servlet.ServletException: Error at line 3 char 51: java.sun.com
	at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:17
91)
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:349)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.jav
a:2354)
	at
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.jav
a:4795)
	at
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplica
tion.java:4889)
	at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.jav
a:1015)
	at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549
)
	at
com.evermind.server.Application.getHttpApplication(Application.java:890)
	at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:7
07)
	at
com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
	at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:455)
	at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
285)
	at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
126)
	at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:186)
	at java.lang.Thread.run(Thread.java:534) 

-----Original Message-----
From: Lavezzo Joseph F [mailto:Joseph.F.Lavezzo@irs.gov] 
Sent: Thursday, April 19, 2007 2:47 PM
To: user@struts.apache.org
Subject: Initializing Struts

I just upgraded to the Struts 1.3.8 and I am having problems with
initializing the struts servlet.  Below is the error message, web.xml
and struts-config.xml
 
*********************************Error Message
07/04/19 14:28:53 Started
07/04/19 14:28:57 rtr: jsp: init
07/04/19 14:28:58 rtr: action: init
07/04/19 14:29:00 rtr: Error preloading servlet
javax.servlet.UnavailableException: Error at line 3 char 51:
java.sun.com
 at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.jav
a:2354)
 at
com.evermind.server.http.HttpApplication.findServlet(HttpApplication.jav
a:4795)
 at
com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplica
tion.java:4889)
 at
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.jav
a:1015)
 at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549
)
 at
com.evermind.server.Application.getHttpApplication(Application.java:890)
 at
com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:7
07)
 at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
 at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:455)
 at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
285)
 at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
126)
 at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:186)
 at java.lang.Thread.run(Thread.java:534)
 
 
*******************************Web.xml
<servlet>
    <servlet-name>action</servlet-name>
 
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>application</param-name>
      <param-value>properties.ApplicationResources</param-value>
    </init-param>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>0</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>0</param-value>
    </init-param>
    <init-param>
      <param-name>validate</param-name>
      <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
 
*******************************struts-config.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.3//EN"
          "http://struts.apache.org/dtds/struts-config_1_3.dtd">
 
<struts-config>
.
.
.
.
.
.
Any ideas would be great.
Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message