What Cocoon version do you have? This error is already fixed in CVS (and
may be in C2.0.1 also). Try upgrading.

Vadim

-----Original Message-----
From: Mathews, Silvy (HQP) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 28, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: RE: Install Cocoon with Resin 2.0.5

I did install cocoon on Resin 2.0.5 . I did not replace any library
files in the \LIB directory of resin. I did a build on cocoon using the
following command
.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%RESIN_HOME%\webapps
install
When I start the first time, everything runs fine including the database
connection to hsql. However when I close the server and restart it, it
gives me the following error.
Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
Copyright(c) 1998-2001 Caucho Technology.  All rights reserved.
 
Starting Resin on Thu, 28 Feb 2002 12:41:52 -0800 (PST)
http listening to *:8080
srun listening to 127.0.0.1:6802
[2002-02-28 12:41:53.672] initializing application
http://localhost/cocoon
Loading catalog:
/D:/silvys/resin-2.0.5/webapps/cocoon/resources/entities/catalog
[2002-02-28 12:41:56.927] initializing application
http://localhost/examples/login
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tags
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/templates
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/xsl
[2002-02-28 12:41:56.937] initializing application
http://localhost/java_tut
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/navigation
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/basic
[2002-02-28 12:41:56.937] initializing application http://localhost/
[2002-02-28 12:41:56.937] initializing application
http://localhost/examples/tictactoe
Server.run/init: java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error:
D:\silvys\resin-2.0.5\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)
 
Can anybody answer this for me.
 
Silvy Mathews

-----Original Message-----
From: Antonio Serrano [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 10:26 AM
To: [EMAIL PROTECTED]
Subject: Install Cocoon with Resin 2.0.5
 I want install cocoon with Resin 2.0.5, but ocurr a error. The error
 is :
 
java.lang.NoSuchMethodError
                 at
 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<
init>(DefaultConfigurationBuilder.java:88)
               at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<i
nit>(DefaultConfigurationBuilder.java:64)
     at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:7
45)
     at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225)
     at
 com.caucho.server.http.Application.createServlet(Application.java:2834)
     at
 com.caucho.server.http.Application.loadServlet(Application.java:2793)
     at
 com.caucho.server.http.Application.initServlets(Application.java:1827)
     at com.caucho.server.http.Application.init(Application.java:1762)
     at
 com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:
1649)
     at
 com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277)
     at
 com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1
040)
     at
 com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:3
37)
     at
 com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.jav
a:270)
     at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
     at java.lang.Thread.run(Thread.java:484)
 I have read in faq that it error is for old set of libraries
 installed, this library is Xerces. If I change the library in the
 directory /lib of the Resin, it don´t start. I have probe to build
 cocoon with the library Xerces that contain Resin, but ocurr a error
 to build. How I can build cocoon?


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to