Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.0
  Product Build
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://</url> [^]

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: [^]
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
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
       <driver type="org.mysql.jdbc.Driver">
         <url>jdbc:mysql://localhost:3306/test</url> [^]

- 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.
Powered by Mantis Bugtracker