You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ben Sales <be...@openlogic.co.uk> on 2005/05/10 17:15:47 UTC

Slide 2.1 and IBM DB2

All,

A while back I had some issues getting Slide 2.1 to work with IBM DB2.  A 
problem was occurring when auto-version was turned on.  When a new file 
was PUT it would fail with an unreadable InputStream error.  I deduced 
that this was the same error as described in bug 30317 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=30317).

Although the issue has been fixed and the code patched in CVS, the bug is 
still present in the current CVS Head which leads me to think that someone 
has committed slightly stale code over the patched code.

In order to make 2.1 work you must replace:

org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.java revision 1.4.2.3 
with revision 1.7 
(http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/stores/org/apache/slide/store/impl/rdbms/CommonRDBMSAdapter.java?rev=1.7)

and

org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.java revision 
1.32.2.4 with revision 1.36 
(http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-slide/src/stores/org/apache/slide/store/impl/rdbms/StandardRDBMSAdapter.java?rev=1.36)

Then you will need to rebuild the jar files:

slide-kernel-2.1.jar

and

slide-stores-2.1.jar using the supplied ant build file.

Hope this helps,

Regards
-- 
Ben Sales
Open Logic Solutions Limited
Woodside, Perry Wood Walk, Worcester, WR5 1ES
Tel: ++44 (0) 1905 760950 Fax: ++44 (0) 01905 760951
Email: ben.sales@openlogic.co.uk
URL: http:// www.openlogic.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org