Details
-
Bug
-
Resolution: Fixed
-
Highest
-
2.6.0
-
None
-
Database migration from HSQLDB to MS SQL Server 2008 (FECRU running on Windows 2003 Server)
Description
When using the database migration wizard to migrate from HSQLDB to MS SQL 2008, the migration succeeds and the database restarts and uses the new database. However, the next time FeCru is restarted, it fails with the following error:
Errors parsing config.xml:
at line 1841: string value '' is not a valid enumeration value for type of type attribute in databaseType in namespace http://www.cenqua.com/fisheye/config-1
Line 1841 doesn't exist, config.xml only contains around 300 lines. However, I believe the problem relates to almost the last line in the file, which was added by the database migration wizard and contains this:
<database type=""><connection dialect="com.cenqua.crucible.hibernate.dialects.SQLServer2008UnicodeDialect" driver="net.sourceforge.jtds.jdbc.Driver" jdbcurl="jdbc:jtds:sqlserver://192.168.162.20:1433;databaseName=Atlassian_FeCru;" password="fmd1dgad!" username="fecru_user" maxPoolSize="20" minPoolSize="5" driverSource="bundled"/><parameters>#Fri Jun 03 01:03:39 BST 2011 </parameters></database>