jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Weck (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2223) MSSqlFileSystem - JNDI & several configuration issues
Date Thu, 23 Jul 2009 08:29:14 GMT

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


Mime
View raw message