-
solved in 1.9rev2.
2009-10-29 22:19:13 UTC in ART
-
Hi any news on tests?
Art 1.9rev2 is almost ready - the way dbcp connections are used has been improved and errors about connection/socket closed or broken pipe should not happen anymore: apart from being able to set a timeout at datasource level, you will be able to set a "testSQL" used to test the connection and remove automatically broken ones from the pool... we are currently...
2009-10-29 22:18:42 UTC in ART
-
you can't set the timeout , when Art creates the connections it just leaves the default. To set it, you should update the ArtDBCP.java code, change the two occurrence of "new DataSource();" with new DataSource(60);" to set the default timeout to 60seconds and recompile.
Anyway, I was planning a very-very minor new release to fix some minor bug and we could include this...
2009-09-30 12:47:26 UTC in ART
-
Hi - if i remember correctly, the error "Broken pipe" can be caused by the OS or the database server closing the socket. Are you sure your database is not closing open TCP/IP connections when idle for some time? Sure the database listener is not restaring for some reasons?
When Art creates a connection in the pool, it keeps it alive for at least the next 30minutes in case other...
2009-09-30 11:39:14 UTC in ART
-
well, no new versions are planned in the short time... just because there are no major bugs or special requests for addition features - on the other side the code is there so if someone wants to contribute of course he's more than welcome!
The current version of Art, in the way it has been coded, has probably reached its "maturity". Adding new features would be pretty time...
2009-08-08 18:01:56 UTC in ART
-
I guess the same goes for ChartHolder (I'm using cewolf-1.1-ulm)
transient private final ChartHolder chartHolder;.
2009-04-12 12:33:26 UTC in Cewolf - Chart TagLib Project
-
if you specify a wrong path to the art hsql repository database, hsql will create a brand new database where the only defined user would be 'sa' - that's why the error.
doublecheck the database name (the one contained in hsqldb-art.zip is art_repository_hsqldb):
jdbc:hsqldb::c:\somewhere\art_repository_hsqldb.
2009-03-03 18:26:55 UTC in ART
-
(look at the pdf manual, page 22)
2009-03-03 18:20:10 UTC in ART
-
you can use dynamic SQL to substitute NULL with %.
2009-03-03 18:19:16 UTC in ART
-
you need to play with the SQL to concatenate the proper html tags so that mysql produce the html formatted output.
MySQL Server doesn't support the standard SQL `||' operator for string concatenation; use `CONCAT()' instead.
something like:
select CONCAT('<b>',column,'</b>') ...
to create a coditional formatting, use CASE
SELECT CASE WHEN column>0 THEN...
2009-03-03 18:17:58 UTC in ART