Anonymous | Login | Signup for a new account | 12-17-2024 08:35 PST |
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 | ||||
0002453 | [Quercus] | minor | always | 02-20-08 15:03 | 02-22-08 20:35 | ||||
Reporter | bchan | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0002453: Make PDO less strict when looking up a Java data source | ||||||||
Description |
Modify PDO.java line 768 from: else if (dsn.startsWith("java:")) to: else if (dsn.startsWith("java")) |
||||||||
Additional Information |
Liferay programmatically sets a java data source at: java_liferay:jdbc/LiferayPool and not at: java:/jdbc/LiferayPool because this path is protected by most app servers. When looking up via PDO, with the call: $pdo = new PDO("java_liferay:jdbc/LiferayPool"); It'll break because it starts with java_ and not with java: This slight change won't break anything else but makes it easier for third party integrators. See http://support.liferay.com/browse/LEP-5048 [^] |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |