|Anonymous | Login | Signup for a new account||05-19-2019 06:18 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004539||[Quercus]||minor||always||05-09-11 23:30||05-09-11 23:30|
|Reporter||Tom Desmet||View Status||public|
|Summary||0004539: JNDI Lookup doesn't work when using quercus war in jetty webserver (7.4.0)|
When using JNDI datasource lookup in PDO under jetty, the datasource is not found.
$pdo = new PDO("java:comp/env/jdbc/someds");
The problem is within class "com.caucho.quercus.lib.db.PDO", method "getJndiDataSource". It seems that the JNDI lookup within jetty requires to only supply "jdbc/someds" instead of the full line. When patching PDO.java to supply only this, everything works fine. Is there any option to resolve this issue structurally. I suspect that following link refers to the same issue, but then linked to glassfish instead of jetty http://www.java.net/node/686319. [^]
|There are no notes attached to this issue.|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.|
24 unique queries executed.