wiki:Doc/SCDB/FAQ

Version 1 (modified by /C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…, 19 years ago) ( diff )

--

Frequently Asked Questions about SCDB

TOC(inline)

ant usage

java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher (11/2/07)

If you get this error when trying to use ant, that probably means you have version conflict between ant version distributed as part of SCDB (in external/) and another version installed on the same machine. This happens if you have a file /etc/ant.conf created by the non SCDB version.

To clear the problem, remove /etc/ant.conf and upgrade the non SCDB ant to the same version as SCDB.

java.lang.NullPointerException durant le deploy (11/2/07)

One possible reason for this error is an incompatibility between the version of JavaSVN used by ant deploy and the version of the SVN client you use to commit your changes. This happens is one of them is older than SVN 1.4 and the other is greater or equal to 1.4, because of a metadata format change in workspace introduced in SVN 1.4. As a result a workspace cannot be read and modified by both pre 1.4 and 1.4 or later SVN clients (this is clearly stated in SVN 1.4 release notes).

At the time of this writing SCDB is still using a pre 1.4 JavaSVN version. You should not upgrade your other SVN clients on Quattor server and the machines you use to administer SCDB to a version greater or equal to 1.4. If you upgraded by mistake, you should revert to an older version of SVN client (the version of the server doesn't matter) and you need to delete and recreate all the workspaces that could have been upgraded by a SVN 1.4+ client, including `/root/quattor/svncache' used by Quattor server.

Note: See TracWiki for help on using the wiki.