On Thu, 21 Feb 2002, Christine wrote:
> Hi, I would like to readdress my question and make it much clearer. I
> searched both on the Forums and mailing list, as if I did everything
> right. But I still get error, when I tried to use MySQL. I do appreciate
> any suggestion!
...
> <attribute name="URL">jdbc:mysql://localhost:3306/test</attribute>
...
> [INFO,MySQLDS] Starting
> [INFO,MySQLDS] XA Connection pool MySQLDS bound to java:/MySQLDS
> [ERROR,MySQLDS] Stopped
> java.lang.NullPointerException
> at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown
> Source)
I've encountered a similar problem few days ago - I was told that
"The driver can't connect to the database. Usually its a url problem".
In my case my MySQL server was set to communicate only through the
local socket, not a tcp port.
Try to run "mysql -hlocalhost -uroot test". It should fail from the
same reasons as your Jboss does. But it should report the problem in
a little bit more comprehensible way :-)
Pavel
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
