Jussi Vaihia wrote:

Here you go:

<slide>
   <namespace name="slide">
       <definition>
                <store name="memory">
                        <nodestore 
classname="org.apache.slide.store.impl.rdbms.JDBCStore">
                                <parameter
name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter</parameter>
                                <parameter name="user">user</parameter>
                                <parameter name="password">passwd</parameter>
                                <parameter name="dbcpPooling">true</parameter>
                                <parameter name="maxPooledConnections">10</parameter>
                                <parameter name="isolation">SERIALIZABLE</parameter>
                                <parameter name="compress">false</parameter>
                                <parameter 
name="driver">com.mysql.jdbc.Driver</parameter>
                                <parameter 
name="url">jdbc:mysql://localhost/webdavmds</parameter>
                                <parameter name="jdbcversion">1</parameter>
                        </nodestore>
                        <securitystore>
                                <reference store="nodestore"/>
                        </securitystore>
                        <lockstore>
                                <reference store="nodestore"/>
                        </lockstore>
                        <revisiondescriptorsstore>
                                <reference store="nodestore"/>
                        </revisiondescriptorsstore>
                        <revisiondescriptorstore>
                                <reference store="nodestore"/>
                        </revisiondescriptorstore>
                        <contentstore 
classname="org.apache.slide.store.txfile.TxFileContentStore">
                                <parameter 
name="rootpath">/home/np/slide_contentstore</parameter>
                                <parameter 
name="workpath">/home/np/slide_workingresource</parameter>
                        </contentstore>
                </store>
                <scope match="/" store="memory"/>
        </definition>
...




Are there any other namespace declarations in you domain.xml file? One, for instance, that defines a memory store that is actually a TransientStore. I've noticed that stores are global within a Domain and defining multiple stores with the same name overides the previous definition.


--
Unico


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to