You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Torsten Weck (JIRA)" <ji...@apache.org> on 2009/07/23 10:29:14 UTC

[jira] Updated: (JCR-2223) MSSqlFileSystem - JNDI & several configuration issues

     [ https://issues.apache.org/jira/browse/JCR-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Torsten Weck updated JCR-2223:
------------------------------

    Description: 
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





  was:
there are several configuration issues using the org.apache.jackrabbit.core.fs.db.MSSqlFileSystem
my (working) configuration 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






> 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
>
> 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.