Hi, Getting considerably further now with integrating my database access library - however, next hurdle.
It appears that the pool is not initialized - what need I do to make this happen? According to the log-file, the dataasource ComponentHandler has been initialized and added to the ComponentManager, but there is no mention of the actual connection pool. Again, any help is welcomed. Thanks Adrian ====================== cocoon.xconf extract ====================== <datasources> <jdbc name="zdam"> <pool-controller min="2" max="10"/> <auto-commit>false</auto-commit> <!-- Supply the correct class name. The instructions tell you to place this in web.xml, but this is now possible --> <driver>org.postgresql.driver.JDBCDriver</driver> <dburl>jdbc:postgesql://193.120.120.11/zdam_test</dburl> <user>sql</user> <password>garfield</password> </jdbc> </datasources> ====================== cocoon.xconf extract ====================== ====================== log-file extract ====================== DEBUG 10022 [cocoon ] (main): ComponentFactory creating new instance of org.apache.avalon.excalibur.datasource.JdbcDataSource. DEBUG 10022 [cocoon ] (main): ComponentHandler initialized for: org.apache.avalon.excalibur.datasource.JdbcDataSource DEBUG 10022 [cocoon ] (main): Adding org.apache.avalon.excalibur.datasource.JdbcDataSource for zdam DEBUG 10022 [cocoon ] (main): ComponentHandler initialized for: org.apache.avalon.excalibur.component.ExcaliburComponentSelector <!-- bits removed for clarity --> ERROR 10022 [cocoon ] (Thread-35): Could not return Connection java.lang.IllegalStateException: You cannot get a Poolable before the pool is initialized at org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:107) at org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(JdbcConnection Pool.java:70) at org.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(JdbcData Source.java:112) at com.zenark.zsql.ConnectionFactory.getConnection(ConnectionFactory.java:69) at com.zenark.zdam.db.ZsqlTableProxy_user_data.load(ZsqlTableProxy_user_data.ja va:67) at com.zenark.zdam.cocoon.action.DoUserLoginAction.act(DoUserLoginAction.java:8 3) at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN177(sitemap_xmap.java:1272) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:1007) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:953) at org.apache.cocoon.sitemap.Handler.process(Handler.java:160) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103) at org.apache.cocoon.Cocoon.process(Cocoon.java:423) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) ====================== log-file extract ====================== --------------------------------------------------------------------- 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]>