jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: ItemStateException with some drivers
Date Tue, 07 Apr 2009 06:57:29 GMT
Hi,

> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;

It looks like your JDBC driver is not JDBC 2.1 compliant. Is it a Java
1.3 driver? You need a Java 1.4 driver.

Regards,
Thomas


On Mon, Apr 6, 2009 at 4:51 PM, SalmasCM <salmas@criticalmass.com> wrote:
>
> I have an error that occurs with a commercial database driver for SQLServer
> but not with two other drivers. The error happens at repository login time.
> It seems to happen at the store method of bundle PM. My question is, are
> there any configuration changes I can make to avoid this issue? I've
> attached my jackRabbit config file.
>
> javax.jcr.RepositoryException:
> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;:
> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:172)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:400)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:294)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>        at
> com.ashland.valvoline.data.jackrabbit.ConnectionManagerImpl.getRepository(ConnectionManagerImpl.java:99)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:127)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:159)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.getSession(JCRConnectionUtil.java:188)
>        at
> com.ashland.valvoline.ui.util.SpringUtil.startSession(SpringUtil.java:50)
>        at
> com.ashland.valvoline.ui.util.SpringUtil.startDataLoadSession(SpringUtil.java:75)
>        at
> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.<init>(LegacyDataLoader.java:148)
>        at
> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.main(LegacyDataLoader.java:190)
> Caused by: org.apache.jackrabbit.core.state.ItemStateException:
> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:157)
>        ... 11 more
> org.apache.jackrabbit.core.state.ItemStateException:
> com.inet.tds.am.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
>        at
> org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
>        at
> org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:157)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:400)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:294)
>        at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
>        at
> com.ashland.valvoline.data.jackrabbit.ConnectionManagerImpl.getRepository(ConnectionManagerImpl.java:99)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:127)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.loginToRepository(JCRConnectionUtil.java:159)
>        at
> com.ashland.valvoline.ui.util.JCRConnectionUtil.getSession(JCRConnectionUtil.java:188)
>        at
> com.ashland.valvoline.ui.util.SpringUtil.startSession(SpringUtil.java:50)
>        at
> com.ashland.valvoline.ui.util.SpringUtil.startDataLoadSession(SpringUtil.java:75)
>        at
> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.<init>(LegacyDataLoader.java:148)
>        at
> com.ashland.valvoline.data.jackrabbit.LegacyDataLoader.main(LegacyDataLoader.java:190)
> http://www.nabble.com/file/p22910336/repository.xml repository.xml
> --
> View this message in context: http://www.nabble.com/ItemStateException-with-some-drivers-tp22910336p22910336.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message