[
https://issues.apache.org/jira/browse/JCR-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Hendriks updated JCR-2223:
----------------------------------
Attachment: JCR-2223.patch
Good point! Attached patch fixes this for both the MSSqlFileSystem and the
DB2FileSystem.
> MSSqlFileSystem - JNDI & several configuration issues
> -----------------------------------------------------
>
> Key: JCR-2223
> URL: https://issues.apache.org/jira/browse/JCR-2223
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.0-alpha4
> Environment: JBoss 4.2.3GA, SQLServer JDBC Driver 2.0, xa-datasource
> Reporter: Torsten Weck
> Attachments: JCR-2223.patch
>
>
> there are several configuration issues using the
> org.apache.jackrabbit.core.fs.db.MSSqlFileSystem
> my (working) configuration (repository.xml) looks like:
> <FileSystem class="org.apache.jackrabbit.core.fs.db.MSSqlFileSystem">
> <param name="driver" value="javax.naming.InitialContext"/>
> <param name="url" value="java:MYDatasource"/>
> <param name="schema" value="mssql"/>
> <param name="schemaObjectPrefix" value="MYPREFIX_"/>
> <param name="user" value="MYUSERNAME"/>
> <param name="password" value="MYPASSWORD"/>
> <param name="tableSpace" value=""/>
> </FileSystem>
> i have to unnecessarily specify username & password, because the
> MSSqlFileSystem presets them to an empty string instead of null. funnily
> enough the tableSpace is preset to null, which leads to a nullpointer in
> createSchemaSql
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.