Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4539 | minor | always | 05-09-11 23:30 | 05-09-11 23:30 | |
|
|||||
Reporter: | Tom Desmet | Platform: | all | ||
Assigned To: | OS: | all | |||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.14 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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. [^] |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |