[EMAIL PROTECTED] wrote:
does anyone have any idea on how to use Castor with multithreaded requests?
It should work just fine...
>I am testing with Sybase 11.x and 12.x using JConnect 5.5. With single threaded calls all works fine but are slow as all hell. I have also tried wrapping jconnect.jar with poolman, but to no avail. This is the exception I get when I try to use the Castor with multithreaded calls ex.getMessage() = JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
Seems to be a connection problem, maybe you are trying to use a
DataSource without specifying the user/password ?
If you are working in a J2EE environment, just let the application
server handle all the JDBC/DataSource/Pooling stuff and use a
jndi entry in your database.xml file.
More details ont this at :
http://castor.exolab.org/pooling.html
--
Mickael Guessant
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
