Anonymous | Login | Signup for a new account | 11-22-2024 09:55 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000083 | [Resin] | minor | always | 04-05-05 00:00 | 04-07-05 00:00 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | |||||||||
Priority | urgent | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.0.12 | Product Version | 3.0.13 | ||||
Product Build | 3.0.13 | ||||||||
Summary | 0000083: make dbpool suitable for standalone | ||||||||
Description |
RSN-74 (rep by Robert Whittle) I'd like to be able to use/start up resin's database connection pool from within my IDE, so that I can debug clases using the same database connection syntax that I using when running web-apps? This would be very useful for debugging. Is there a simple way I can include the correct jar files and start up the connection pool manually ? The syntax I'm using to obtain a connection is: Context env = (Context) new InitialContext().lookup("java:comp/env"); DataSource source = (DataSource) env.lookup("jdbc/test"); con = source.getConnection(); |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0000089) ferg 04-05-05 00:00 |
This is already available: import com.caucho.sql.DBPool; dbPool = new DBPool(); dbPool.setJndiName("java:comp/env/jdbc/test"); dbPool.setJDBCDriver(new org.postgresql.Driver()); dbPool.setURL("jdbc:postgresql://localhost/test"); [^] dbPool.init(); |
Issue History | |||
Date Modified | Username | Field | Change |
04-05-05 00:00 | ferg | New Issue | |
11-30-05 00:00 | administrator | Fixed in Version | => 3.0.12 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 26 unique queries executed. |