The war file is definatley being fully expanded.  Also, I am using
Oracle 10g Application Server. 

-----Original Message-----
From: Harring Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 19, 2007 3:53 PM
To: Struts Users Mailing List
Subject: Re: Initializing Struts

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 <[EMAIL PROTECTED]> 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(NonValidating
> Pa
> rser.java:510)
>         at
> oracle.xml.parser.v2.NonValidatingParser.parseDoctypeDecl(NonValidatin
> gP
> arser.java:468)
>         at
> oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingPars
> er
> .java:301)
>         at
> oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingPa
> rs
> 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.j
> av
> a:2354)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.j
> av
> a:4795)
>         at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppli
> ca
> tion.java:4889)
>         at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.j
> av
> a:1015)
>         at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:5
> 49
> )
>         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(HttpRequest
> Ha
> 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(Releas
> ab
> 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.j
> av
> a:2354)
>         at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.j
> av
> a:4795)
>         at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppli
> ca
> tion.java:4889)
>         at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.j
> av
> a:1015)
>         at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:5
> 49
> )
>         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(HttpRequest
> Ha
> 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(Releas
> ab
> leResourcePooledExecutor.java:186)
>         at java.lang.Thread.run(Thread.java:534)
>
> -----Original Message-----
> From: Lavezzo Joseph F [mailto:[EMAIL PROTECTED]
> 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.j
> av
> a:2354)
> at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.j
> av
> a:4795)
> at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppli
> ca
> tion.java:4889)
> at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.j
> av
> a:1015)
> at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:5
> 49
> )
> at
> com.evermind.server.Application.getHttpApplication(Application.java:89
> 0)
> 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(HttpRequest
> Ha
> 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(Releas
> ab
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to