You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "D'Elia, Kevin" <Ke...@FEPOC.CareFirst.com> on 2001/06/15 16:36:29 UTC

Problem with struts-example and WAS 3.5.2

Hello,

	I am trying to get Struts to work with WAS 3.5.2, using the
directions available on the Struts installation page
(installation-was352.html).  I have done all of the steps up to the point
where I put in the 1.0.1 jaxp.jar and parser.jar files.  When I start the
Default Server, I see the following in the stdout.log:

[01.06.15 09:59:03:750 EDT] 51b78a70 ServletHost   A Loading group:
"struts-example"
[01.06.15 09:59:03:937 EDT] 51b78a70 ServletInstan A SRVE0048I: Loading
servlet: "database"
[01.06.15 09:59:04:015 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "database: init"
[01.06.15 09:59:04:046 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "database: Initializing database servlet"
[01.06.15 09:59:04:062 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "database: Loading database from '/WEB-INF/database.xml'"
[01.06.15 09:59:04:140 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "database: No such resource available - loading empty database"
[01.06.15 09:59:04:171 EDT] 51b78a70 ServletInstan A SRVE0130I: Servlet
available for service: "database"
[01.06.15 09:59:04:343 EDT] 51b78a70 ServletInstan A SRVE0048I: Loading
servlet: "action"
[01.06.15 09:59:04:500 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "action: init"
[01.06.15 09:59:04:593 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "action: Loading application resources from resource
org.apache.struts.webapp.example.ApplicationResources"
[01.06.15 09:59:04:656 EDT] 51b78a70 WebGroup      A SRVE0091I: [Servlet
LOG]: "action: Initializing configuration from resource path
/WEB-INF/struts-config.xml"
[01.06.15 09:59:04:703 EDT] 51b78a70 ServletInstan X Uncaught init()
exception thrown by servlet {0}: {1}
                                 "action"
                                 javax.servlet.UnavailableException: Missing
configuration resource for path /WEB-INF/struts-config.xml

I am attaching a file which contains my directory structure, as well as my
struts-config.xml - the struts-config.xml has been modified to use the
SYSTEM keyword instead of PUBLIC, but the results have been the same with
either choice - I have bounced the server and the entire machine, with no
different results; I am using the b3 version of the binaries, with jaxp
1.0.1.  Basically, I can't even get to the point where I am supposed to be
patching the Struts sources to correct limitations with the WAS
implementation of Servlet 2.2 spec.  If you need something else, I will be
happy to provide it.

	Thanks in advance to all who respond...



 <<struts_dir.txt>>  <<struts-config.xml>> 


Re: Problem with struts-example and WAS 3.5.2

Posted by Dan Miser <dm...@wi.rr.com>.
Take a look at this:
www.distribucon.com/struts/WASInstall.htm

There is no need to change the DTD declarations if you follow these
directions.
--
Dan Miser
http://www.distribucon.com

----- Original Message -----
From: "D'Elia, Kevin" <Ke...@FEPOC.CareFirst.com>
To: "'Struts User's Group'" <st...@jakarta.apache.org>
Sent: Friday, June 15, 2001 9:36 AM
Subject: Problem with struts-example and WAS 3.5.2


> I am trying to get Struts to work with WAS 3.5.2, using the
> directions available on the Struts installation page
> (installation-was352.html).  I have done all of the steps up to the point
> where I put in the 1.0.1 jaxp.jar and parser.jar files.  When I start the
> Default Server, I see the following in the stdout.log: