db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: connection object null on remote server
Date Wed, 22 Sep 2004 00:41:23 GMT
Cameron Hickey wrote:

>I have been developing my Tomcat/Struts/Torque web application locally
>for the past few months, and recently started trying to port it to a
>shared hosting provider.  Although I am able to get everything to work,
>every other request to my application returns a null connection error:
>javax.servlet.ServletException: Connection object was null. This could
>be due to a misconfiguration of the DataSourceFactory. Check the logs
>and Torque.properties to better determine the cause.
>If I refresh the page, then everything loads fine, but on successive
>pages it throws the same error.
>Has anyone experienced this behaviour?  I am sure its something
>straightforward with regard to the connection settings, but this is an
>area I don't really understand, and forgot about once I got it working
>right in my local development environment (where this problem does not
So what are the connection settings you are using?

How many connections does your shared hosting provider allow you to have?


Scott Eade
Backstage Technologies Pty. Ltd.

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

View raw message