Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 1658 invoked from network); 19 Apr 2007 19:53:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2007 19:53:38 -0000 Received: (qmail 16981 invoked by uid 500); 19 Apr 2007 19:53:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 16954 invoked by uid 500); 19 Apr 2007 19:53:34 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 16940 invoked by uid 99); 19 Apr 2007 19:53:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 12:53:34 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of harringf@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 12:53:26 -0700 Received: by ug-out-1314.google.com with SMTP id u40so614374ugc for ; Thu, 19 Apr 2007 12:53:05 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fcV9QfRzSeCqBGQCekhXdVi3TuEkUv0J6XxGc4EE34ECBXdMzooO3KtvLHbOL970f4byQjUnqgAnCh9EYgGYS+yznXfSCBGtBmZqQeHZ0GCTO0EWLTp8PQX81AzvFv5e11KEWArNtr9rhEp//ax3mVkhJn+HBZpHZTAbzdSKesw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cfLs9NoVEoH1uDQRTi0NjzjmeRlgOTkddwp0TxptRsrzoHUq3JQ6eX6SRQrbrDX8eyqGJLGfJOJw8X7SWurULxHfgI5Wk19cfTnie5u3oGOk1d0t95Yh2k5lawS3cvBsqMNv5pwyo2UHhkz2vQ0cTZOvWxTcqVrQANNu0zsMJnU= Received: by 10.78.20.13 with SMTP id 13mr357552hut.1177012384664; Thu, 19 Apr 2007 12:53:04 -0700 (PDT) Received: by 10.78.13.3 with HTTP; Thu, 19 Apr 2007 12:53:04 -0700 (PDT) Message-ID: <275f06ee0704191253x463bf7a6t40d16882fa74467b@mail.gmail.com> Date: Thu, 19 Apr 2007 15:53:04 -0400 From: "Harring Figueiredo" To: "Struts Users Mailing List" Subject: Re: Initializing Struts In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_103548_18765285.1177012384486" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_103548_18765285.1177012384486 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Joseph, Check the expanded directory of you web application (in Tomcat, it is under $CATALINA_HOME/webapps). See if the war file was indeed fully expanded (unzipped). This could be the cause of the problem. If you are using Windows, Tomcat has trouble re-deplying due to file locking. This causes the war file not to expand correctly. Regards, hff. On 4/19/07, Lavezzo Joseph F wrote: > > 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.(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.(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.(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 > > action > > org.apache.struts.action.ActionServlet > > application > properties.ApplicationResources > > > config > /WEB-INF/struts-config.xml > > > debug > 0 > > > detail > 0 > > > validate > true > > 1 > > > *******************************struts-config.xml > > > Struts Configuration 1.3//EN" > "http://struts.apache.org/dtds/struts-config_1_3.dtd"> > > > . > . > . > . > . > . > 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 > > ------=_Part_103548_18765285.1177012384486--