cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Nuetzel - inglobo" <peter.nuet...@inglobo.de>
Subject Re: C2 Installation Probs - cocoondb.properties
Date Mon, 21 May 2001 17:27:46 GMT
Hi again,

I think the problem with the SQLConnection isn't related to the SVG
examples.
I've updated Cocoon2 on friday and the SVG examples also dont work - I only
get broken image links shown in my browser. But no exceptions in my
cocoon.log file.

I think I also experienced this connection problem you described with
earlier versions of C2.
Stop your servlet engine and edit cocoondb.properties. If the value of the
'modified' property is 'yes' set it to 'no' an start your server again.
modified=no
That solved this problem in my environment. I think this is a HSQL related
problem.

- peter

-----Urspr√ľngliche Nachricht-----
Von: Peter Hargreaves <pd@hargre.fsnet.co.uk>
An: cocoon-users@xml.apache.org <cocoon-users@xml.apache.org>
Datum: Montag, 21. Mai 2001 18:31
Betreff: Re: C2 Installation Probs - cocoondb.properties


>Hi Peter,
>
>Many thanks for the advice, things are much better now, many of the
>examples are working! However, some are still not functioning and the
>problem seems to be related to the last one. For instance, non of the
>svg examples are working.
>
>This time in my cocoon.log I get the following:
>
>DEBUG   11036   [cocoon  ] (Thread-25):
>org.apache.avalon.excalibur.datasource.JdbcConnection: could not be
>instantiated.
>java.sql.SQLException: File input/output error:
>j:/jakarta-tomcat-3.2.1/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, Compiled Code)
>   at org.hsqldb.Log.open(Log.java:203)
>   at org.hsqldb.Database.<init>(Database.java:96)
>   at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
>   at org.hsqldb.jdbcConnection.<init>(jdbcConnection.java:682)
>   at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
>   at java.sql.DriverManager.getConnection(DriverManager.java:457)
>   at java.sql.DriverManager.getConnection(DriverManager.java:137)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(J
dbcConnectionFactory.java:56)
>   at
>org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.jav
a,
>Compiled Code)
>   at
>org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(Hard
ResourceLimitingPool.java:87)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(Jdbc
ConnectionPool.java:54)
>   at
>org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourc
eLimitingPool.java,
>Compiled Code)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnecti
onPool.java:119)
>   at java.lang.Thread.run(Thread.java:479)
>
>Further down the cocoon.log I get the following:
>
>DEBUG   14191   [cocoon  ] (Thread-25):
>org.apache.avalon.excalibur.datasource.JdbcConnection: could not be
>instantiated.
>java.sql.SQLException: The database is already in use by another process
>   at org.hsqldb.Trace.getError(Trace.java:180)
>   at org.hsqldb.Trace.getError(Trace.java:144)
>   at org.hsqldb.Trace.error(Trace.java:192)
>   at org.hsqldb.Log.open(Log.java:199)
>   at org.hsqldb.Database.<init>(Database.java:96)
>   at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
>   at org.hsqldb.jdbcConnection.<init>(jdbcConnection.java:682)
>   at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
>   at java.sql.DriverManager.getConnection(DriverManager.java:457)
>   at java.sql.DriverManager.getConnection(DriverManager.java:137)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(J
dbcConnectionFactory.java:56)
>   at
>org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.jav
a,
>Compiled Code)
>   at
>org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(Hard
ResourceLimitingPool.java:87)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(Jdbc
ConnectionPool.java:54)
>   at
>org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourc
eLimitingPool.java,
>Compiled Code)
>   at
>org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnecti
onPool.java:119)
>   at java.lang.Thread.run(Thread.java:479)
>
>Again, many thanks to anyone who can spare a moment to help me.
>
>Regards,
>Peter.
>
>Peter Nuetzel - inglobo wrote:
>
>>> Hi Folks,
>>
>>
>> Hi Peter,
>>
>>> Could someone help please?
>>>
>>> Following installation of 2.0a6 I can see the Welcome page but many of
>>> the examples do not work. When the Welcome page is first loaded I get
>>> the following message in my cocoon.log
>>>
>>> WARN    521     [cocoon  ] (Thread-10): Could not force-load class:
>>> com.ibm.servlet.classloader.Handler
>>>
>>> I don't think this one is important but it might be. Further down I get
>>> the messagethat I think is the problem, as follows:
>>>
>>
>> this is only needed for the IBM websphere server - you can disable the
>> loading of that class in the web.xml file of the cocoon webapp.
>>
>>> DEBUG   4737    [cocoon  ] (Thread-25):
>>> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be
>>> instantiated.
>>> java.sql.SQLException: File input/output error:
>>> ${install.war}/cocoon/WEB-INF/db/cocoondb.properties
>>
>>
>> </snip>
>>
>> you also may edit cocoon.xconf to replace ${install.war} with your
absolute
>> path to your servlet engines webapp directory. I think this can be also
>> done automatically via the build file (or an environment variable?), but
>> never tried it.
>>
>>> I've had a good look through the mail archives and can't quite suss it.
>>>
>>> Many thanks to anyone who has the time to help.
>>> Peter.
>>>
>>
>>
>> de nada - peter
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: <cocoon-users-unsubscribe@xml.apache.org>
>> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message