Anonymous | Login | Signup for a new account | 12-17-2024 11:53 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 | |||||||
0003471 | [Quercus] | minor | always | 04-30-09 15:40 | 06-05-09 02:32 | |||||||
Reporter | pablorg | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 4.0.0 | |||||||||
Summary | 0003471: jndi naming broken/different | |||||||||||
Description |
I looked in the docs but found no reason why my quercus <init> should have stopped working. This is the setup in resin-web.xml: <database jndi-name="jdbc/stdb"> <driver type="org.postgresql.Driver"> <url>jdbc:postgresql://127.0.0.1:5432/whatever</url> [^] <user>admin</user> <password>admin</password> </driver> </database> here's the error message: WEB-INF/resin-web.xml:17: com.caucho.quercus.servlet.QuercusServlet.setDatabase(): javax.inject.UnsatisfiedDependencyException: 'javax.sql.DataSource' does not match any configured beans with binding [@Name('java:comp/env/jdbc/stdb')] I also added to another bug b/c the resin 4 quercus docs are evidently incorrect: http://bugs.caucho.com/view.php?id=3450 [^] |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Notes | |
(0004060) cwhalley 06-05-09 02:32 |
Just to clarify the title is correct - this is a JNDI problem as I see this with "regular" JNDI db defs, not just Quercus ones. In fact the example given for years in the default resin.conf file now fails with this same error message: <!-- - Sample database pool configuration - - The JDBC name is java:comp/env/jdbc/test <database> <jndi-name>jdbc/mysql</jndi-name> <driver type="org.mysql.jdbc.Driver"> <url>jdbc:mysql://localhost:3306/test</url> [^] <user></user> <password></password> </driver> <prepared-statement-cache-size>8</prepared-statement-cache-size> <max-connections>20</max-connections> <max-idle-time>30s</max-idle-time> </database> --> |
Issue History | |||
Date Modified | Username | Field | Change |
04-30-09 15:40 | pablorg | New Issue | |
06-04-09 06:07 | cwhalley | Issue Monitored: cwhalley | |
06-05-09 02:32 | cwhalley | Note Added: 0004060 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |