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
>exist).
>
>
So what are the connection settings you are using?
How many connections does your shared hosting provider allow you to have?
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
|