Hi,

Archiva: 1.1
Database: Microsoft SQL Server 2005

I get the following error which I also got when using 1.0.2.

org.apache.maven.archiva.database.ArchivaDatabaseException: Error in JDO
during get of Database object id [net.sourceforge.jtds:jtds:1.2.2] of type
org.apache.maven.archiva.model.ArchivaProjectModel using no fetch-group
        at
org.apache.maven.archiva.database.jdo.JdoAccess.getObjectById(JdoAccess.java:450)
        at
org.apache.maven.archiva.database.jdo.JdoProjectModelDAO.getProjectModel(JdoProjectModelDAO.java:74)
        at
org.apache.maven.archiva.database.browsing.DefaultRepositoryBrowsing.getProjectModel(DefaultRepositoryBrowsing.java:283)
        at
org.apache.maven.archiva.database.browsing.DefaultRepositoryBrowsing.selectVersion(DefaultRepositoryBrowsing.java:129)
        at
org.apache.maven.archiva.web.action.ShowArtifactAction.artifact(ShowArtifactAction.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



And the following in the archiva.log


2008-08-01 15:25:16,630 [btpool0-5] ERROR JPOX.RDBMS.Schema  - An exception
was thrown while adding/validating class(es) : The size (8192) given to the
column 'DESCRIPTION' exceeds the maximum allowed for any data type (8000).
java.sql.SQLException: The size (8192) given to the column 'DESCRIPTION'
exceeds the maximum allowed for any data type (8000).
        at
net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
        at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
        at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)
        at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:631)
        at
net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
Regards,
Mark P Ashworth
-- 
View this message in context: 
http://www.nabble.com/Database-exception-when-browsing-an-artifact-version-tp18774445p18774445.html
Sent from the archiva-users mailing list archive at Nabble.com.

Reply via email to