cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan Erskine <a.ersk...@cs.ucl.ac.uk>
Subject dbconnection/esql problem
Date Thu, 18 Jan 2001 17:09:54 GMT
Hi

With latest cvs commit...

simple-sql sample now seems to work the first time, but makes v many simultaneous connections
to the database without letting go of them...(sample page is then broken by the time I try
to reconnect)

esql sample makes v many database connections before failing with

Error opening connection to dburl: jdbc:postgresql://localhost/test

java.lang.RuntimeException: Error opening connection to dburl: jdbc:postgresql://localhost/test
	at _C_._programs._jakarta_tomcat_c2_3_2._webapps._cocoon._docs._samples._xsp._esql_xsp.generateContent(_esql_xsp.java:200)
	at _C_._programs._jakarta_tomcat_c2_3_2._webapps._cocoon._docs._samples._xsp._esql_xsp.generate(_esql_xsp.java:520)
	at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:149)
	at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java:201)
	at _C_._programs._jakarta_tomcat_c2_3_2._webapps._cocoon._sitemap_xmap.process(_sitemap_xmap.java:1885)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:142)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:89)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:235)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:344)
	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:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	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)

BTW you're all very quiet - has my subscription expired?

Allan

Mime
View raw message