cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Bug reports
Date Thu, 06 Dec 2001 11:45:51 GMT
Vadim Gritsenko wrote:
> 
> > -----Original Message-----
> > From: giacomo [mailto:giacomo@apache.org]
> > Sent: Wednesday, December 05, 2001 6:02 PM
> > To: Apache Cocoon
> > Subject: Re: Bug reports
> >
> > On Wed, 5 Dec 2001, Stefano Mazzocchi wrote:
> >
> > > I'm finally getting my hand dirty again with the CVS HEAD.
> > >
> > > A few things that bug me:
> > >
> > > 1) java.sql.SQLException: File input/output error: C:\Program
> > > Files\Apache Tomcat 4.0\webapps\cocoon\WEB-INF\db\cocoondb.backup
> > >     at org.hsqldb.Trace.getError(Trace.java:180)
> > >     at org.hsqldb.Trace.getError(Trace.java:144)
> > >     at org.hsqldb.Trace.error(Trace.java:205)
> > >     at org.hsqldb.Log.restoreBackup(Log.java:731)
> > >     at org.hsqldb.Log.open(Log.java:212)
> > >     at org.hsqldb.Database.<init>(Database.java:96)
> > >     at org.hsqldb.Server.run(Server.java:137)
> > >     at org.hsqldb.Server.main(Server.java:78)
> > >     at
> > >
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
> > >     at java.lang.Thread.run(Thread.java:484)
> > >
> > > I've never been able to make the db work. Have you ever experienced
> > > this?
> >
> > Must be a win$ problem ;) I don't have it on Linux.
> 
> IIRC, and as mentioned in other email: Do not Ctrl+C your servlet
> engine, and if you done so, replace db/* files with files from
> distribution. This problem was discussed on the list long time ago...

Hmmm, that sucks and should be written in the FAQ. The strange thing is
that I *never* shut it down with Ctrl+C. :/

> [skip]
> 
> > > 7) The error page under the /sub sub-sitemap now returns:
> > >
> > > > Brought to you by <a href="http://xml.apache.org/cocoon2/">Apache
> Cocoon</a>
> > > > in no time!
> > >
> > > no time? Cocoon 2.0 might be fast, but it's not *that* fast :)
> 
> :)))
> That's from webapp/sub/stylesheets/error2html.xsl.
> 
> >
> > I can't find this sample either.
> 
> Try cocoon/sub/test404 or cocoon/sub/generror
> 
> [skip]
> 
> > > 9) I get a bunch of NPE out of a missing SAXConnector even if I
> didn't
> > > enable no logging or profiling. BTW, we shouldn't get NPE out of
> > > component managers since throwing/catching exception is an expensive
> > > operation for the JVM.
> 
> IIRC, this happens in the line:
>         this.configuredSAXConnector =
> this.manager.hasComponent(SAXConnector.ROLE);
> in AbstractEventPipeline.java. Avalon has to be fixed if you want to
> remove stacktrace from the log.

Ok, I'll investigate further.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message