Problems with Tomcat, JDBC in Ubuntu

Mark Pierce mark.pierce at gmail.com
Fri Feb 1 10:23:56 GMT 2008


Hello,

In Ubuntu 6.10, kernel 2.6.17-10-server, java-1.5.0-sun, tomcat5.5,
5.5.17-1ubuntu1, postgresql-8.1 8.1.11-0ubuntu0.6.10.1, apache2
2.0.55-4ubuntu4.1, libapache2-mod-jk 1.2.18-1ubuntu1.1. This machine is a
mirror of our production machine, thus the older versions.

When the service is called Tomcat throws an exception and refused to connect
to Postgres at tcp/5432.

geoservices.database.library.LibraryDataException: SQLException Cannot
create PoolableConnectionFactory (Something unusual has occured to cause the
driver to fail. Please report this exception.)

However this only happens with the Ubuntu deb version of the Tomcat server
and libraries. It works just fine on a version that we compile of the same
version of Tomcat acquired from the Apache site.

A similar unsolved problem was reported at
http://ubuntuforums.org/showthread.php?t=430133

If you want me to fill out an bug report/issue or to help in anyway in
tracking down this problem, just let me know.

Mark Pierce
Blom SG
Valladolid, Spain
tel: +34 610 298 960

tail -50 /var/log/tomcat5.5/catalina_2008-01-30.log
______________________________________________________________________
QUERY GETLIBRARYDATA:select id_library, code, description, default_srid,
xmin(box3d(Transform(libraries.geom,libraries.default_srid))) as minx,
ymin(box3d(Transform(libraries.geom,libraries.default_srid))) as miny,
xmax(box3d(Transform(libraries.geom,libraries.default_srid))) as maxx,
ymax(box3d(Transform(libraries.geom,libraries.default_srid))) as maxy from
libraries where (year >= 2005 and year <= 2007) and active = true and flight
= 'demo' and dtm='default' and id_country=3 order by description
geoservices.database.library.LibraryDataException: SQLException Cannot
create PoolableConnectionFactory (Something unusual has occured to cause the
driver to fail. Please report this exception.)
        at geoservices.database.library.GetLibraryData.getLibraryPool(
GetLibraryData.java:122)
        at geoservices.servlet.LibraryService.processRequest(
LibraryService.java:105)
        at geoservices.servlet.LibraryService.doGet(LibraryService.java:40)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java
:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(
SecurityUtil.java:275)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(
SecurityUtil.java:161)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:245)
        at org.apache.catalina.core.ApplicationFilterChain.access$0(
ApplicationFilterChain.java:177)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(
ApplicationFilterChain.java:156)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:152)
        at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
:199)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
        at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:684)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20080201/973da322/attachment.htm 


More information about the Ubuntu-motu mailing list