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 Initializing Struts
Date Thu, 19 Apr 2007 18:46:57 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message