Mantis Bugtracker
  

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  
Assigned To
Priority normal Resolution open  
Status new   Product Version 4.0.14
Summary 0004539: JNDI Lookup doesn't work when using quercus war in jetty webserver (7.4.0)
Description 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. [^]
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-09-11 23:30 Tom Desmet New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker