You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2002/08/02 03:48:46 UTC
DO NOT REPLY [Bug 11400] New: -
ResourceLimitingJdbcDataSource connects in configure()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11400>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11400
ResourceLimitingJdbcDataSource connects in configure()
Summary: ResourceLimitingJdbcDataSource connects in configure()
Product: Avalon
Version: unspecified
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Excalibur
AssignedTo: avalon-dev@jakarta.apache.org
ReportedBy: vgritsenko@apache.org
CC: cocoon-dev@xml.apache.org
ResourceLimitingJdbcDataSource connects from the configure() metod
(new JdbcConnectionFactory.<init> -> DriverManager.getConnection).
This breaks Cocoon + HSQLDB1.7 (and should break any other install when servlet
engine starts before database). It fails with exception (this exception was
ignored in the code, I added printStackTrace to get this trace):
java.sql.SQLException: Connection is broken: Connection refused: connect
at org.hsqldb.Trace.getError(Trace.java:226)
at org.hsqldb.Trace.error(Trace.java:290)
at org.hsqldb.jdbcConnection.reconnectHSQL(jdbcConnection.java:2754)
at org.hsqldb.jdbcConnection.openHSQL(jdbcConnection.java:2718)
at org.hsqldb.jdbcConnection.<init>(jdbcConnection.java:2424)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:176)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.<init>
(JdbcConnectionFactory.java:45)
at
org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.configure
(ResourceLimitingJdbcDataSourc
e.java:292)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance
(DefaultComponentFactory.java:185)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize
(ThreadSafeComponentHandler.java:9
8)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent
(ExcaliburComponentSelector.java
:537)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure
(ExcaliburComponentSelector.java:35
3)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance
(DefaultComponentFactory.java:185)
at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize
(ThreadSafeComponentHandler.java:9
8)
at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize
(ExcaliburComponentManager.java:158
)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
And never restores... :(
Would really appreciate if somebody fixes this issue...
Regards,
Vadim
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>