You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stavros Kounis <go...@osmosis.gr> on 2003/05/28 10:30:39 UTC

from 2.0.4 to 2.1m3 - The database detection method has changed -ODBC

hi people

there is a small msAccess report (just few xsp) system designed in cocoon
2.0.4 and tested in 2.1-dev too.

now i want to put this in production using 2.1m3-dev
without to touch anything i dont get results from database (in 2.0.4 and
2.1-dev work fine)

this is a clean snapshot of 2.1m3

the only files ia have change are:

web.xml:

		<init-param>
			<param-name>load-class</param-name>
			<param-value>
				<!-- For parent ComponentManager sample:
        org.apache.cocoon.samples.parentcm.Configurator -->
				<!-- For IBM WebSphere:
        com.ibm.servlet.classloader.Handler -->
				<!-- For Database Driver: -->
        org.hsqldb.jdbcDriver
				<!-- stavros ODBC-->
				<!-- ODBC  -->
        sun.jdbc.odbc.JdbcOdbcDriver

			</param-value>
		</init-param>


cocoon.xconf:
		<datasources>
		<jdbc logger="core.datasources.litho" name="litho">
			<pool-controller max="10" min="5"/>
			<dburl>jdbc:odbc:litho_db</dburl>
		</jdbc>
		</datasources>


i have just copy paste all this from 2.1-dev where everything work


in error.log i get:

ERROR   (2003-05-28) 11:13.58:735   [sitemap.generator.serverpages]
(/cocoonCVS/osOthello-s/encoding/masterdetails.xsp)
Thread-16/masterdetails_xsp:
java.sql.SQLException: The database detection method has changed.
If your database is not being recognized (anymore) you can either fix it
in the Cocoon2EsqlConnection class,  file it to bugzilla, report it to
cocoon-dev or to me (tcurdt.at.apache.org) directly.
 Only be sure to include the database string "access" in your post.



what method has changed?

i try to get data from msAccess through ODBC


any comment?

thnx


--stavros



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