Notes |
|
(0005048)
|
ferg
|
02-11-11 11:20
|
|
What does the rest of the <database>/<driver> configuration look like?
That error would be normal if the <driver> contained some text instead of tags. |
|
|
(0005053)
|
jkriesten
|
02-11-11 21:05
|
|
There is nothing special:
<database>
<jndi-name>jdbc/myDatabase</jndi-name>
<driver type="com.mysql.jdbc.Driver">
<url>jdbc:mysql://db.myDomain.de:3306/myDatabase</url> [^]
<user>user</user>
<password>passwd</password>
</driver>
<prepared-statement-cache-size>10</prepared-statement-cache-size>
<max-connections>2</max-connections>
<max-idle-time>60s</max-idle-time>
</database>
It works fine with 4.0.12 - can't say, if it would give an error with 4.0.14 already. |
|
|
(0005056)
|
ferg
|
02-14-11 14:12
|
|
I'm improving the error message for 4.0.16 to help track this down, but can't reproduce the problem.
You might try removing all the whitespace inside the <driver> tag as a test. |
|
|
(0005069)
|
jkriesten
|
02-18-11 01:46
|
|
I get the same error with Resin Professional 4.0.s110216.
Removing all whitespace within the <driver> tag solves the problem. But that should be possible, right? |
|
|
(0005071)
|
ferg
|
02-18-11 11:31
|
|
Can you turn on "finer" or "finest" logging to get the stack trace of that message, so I can update it?
The issue might be non-whitespace characters that display as whitespace. Resin only treats ' ', '\t', '\r', and '\n' as whitespace. Anything else isn't whitespace, for example isn't a whitespace character even though an editor might display it as whitespace. |
|
|
(0005111)
|
ferg
|
03-03-11 14:16
|
|
ioc/2384
The fix is primarily better error messaging, since whitespace is getting properly handled in my tests. If this issue persists in 4.0.16, please resubmit with the new error messages. |
|