struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Sampaleanu <co...@Bspark.com>
Subject RE: Problems with the example app - Digester can't parse the data base .xml file
Date Wed, 04 Oct 2000 13:40:55 GMT
I'm not sure what was going wrong for you, but tou definitely _do not_ need
to have the struts source in there for Struts to work with Resin. Our custom
app, as well as the sample app and test app work fine with struts.jar just
placed in the web app's lib directory...


> -----Original Message-----
> From: Malcolm Ferguson [mailto:malcolmf@nkaos.com]
> Sent: October 4, 2000 9:18 AM
> To: 'struts-user@jakarta.apache.org'
> Subject: RE: Problems with the example app - Digester can't parse the
> data base .xml file
> 
> 
> I finally resolved (albeit in an unsatisfying way) this so 
> I'm going to
> document it for future generations of archive searchers using Struts +
> Resin. 
> 
> 1. I removed the struts.jar file from all of resin's class 
> path locations
> (example/Web-inf/lib;resin/lib;etc). 
> 2. Then I copied the source files into example/Web-inf/classes 
> 3. I made a request for the application from a browser and 
> watched resin
> magically compile it all
> 4. POOF! It works! Just Like that...
> 
> So, I don't really know what the problem was, but hitting it 
> with the above
> hammer fixed it real good.
> 
> Tks for all help
> 
> Mac Ferguson
> 
>  
> > -----Original Message-----
> > From: Joel Schneider [mailto:jschneider@cariboulake.com]
> > Sent: Tuesday, October 03, 2000 6:19 PM
> > To: 'struts-user@jakarta.apache.org'
> > Subject: Re: Problems with the example app - Digester can't 
> parse the
> > database .xml file
> > 
> > 
> > A web-based mailing list archive is hosted at:
> > 
> >     http://archive.covalent.net/
> > 
> > In addition, the ezmlm program that serves this list 
> recognizes a few
> > archive inquiry commands.
> > 
> > As for your actual problem, perhaps it may have something to 
> > do with the
> > revision levels of your pre-requisite software packages 
> (JDK, servlet
> > container, XML parser, Xalan XSLT processor) -- ?  However, 
> > if it turns
> > out to be a bona fide bug in Struts 0.5, you may want to 
> report it to
> > the BugRat:
> > 
> >     http://znutar.cortexity.com:8888/
> > 
> > Joel
> > 
> > On Tue, 3 Oct 2000, Malcolm Ferguson wrote:
> > > I'm just getting started with struts, I'm using the 0.5 
> > milestone build with
> > > Resin + PWS on NT workstation. I'm trying to get the 
> > 'example' application
> > > working, my logs show an exception being thrown in the 
> > init() method of
> > > DatabaseServlet (which is called by a load-on-startup 
> > directive). After
> > > poking around a little I discovered that the call 
> > digester.parse(bis) on
> > > line 280 (of DatabaseServlet) is where the exception 
> > originates. I checked
> > > the number of available bytes from the input stream and 
> > they match the file
> > > size. Has anyone else run into this? If I don't have to 
> > switch from the
> > > binaries I'd rather not. 
> > > 
> > > Incidentally, is there an archive for this list?
> > > 
> > > Thanks
> > > ***********************************
> > > Mac Ferguson,
> > > Senior Developer,
> > > NKaos Interactive Media (http://www.nkaos.com),
> > > 579 Richmond Street West, Suite 400
> > > Toronto, ON
> > > M5V 1Y6
> > > (Phone) (416)504.8931 x316
> > > (Fax) (416)504.8472 
> > > ***********************************
> > > 
> > > 
> > 
> 

Mime
View raw message