Hi!
 
I want to use J2EE store from unit tests, so I inserted the following:
 
<definition>
    <store name="j2ee">
        <nodestore classname="slidestore.j2ee.J2EEDescriptorsStore">
            <parameter name="datasource">jdbc/mtx</parameter>
        </nodestore>
        <securitystore>
            <reference store="nodestore"/>
        </securitystore>
        <lockstore>
            <reference store="nodestore"/>
        </lockstore>
        <revisiondescriptorsstore>
            <reference store="nodestore"/>
        </revisiondescriptorsstore>
        <revisiondescriptorstore>
            <reference store="nodestore"/>
        </revisiondescriptorstore>
        <contentstore classname="slidestore.j2ee.J2EEContentStore">
            <parameter name="datasource">jdbc/mtx</parameter>
        </contentstore>
    </store>
    <scope match="/" store="j2ee"/>
</definition>
 
to my Domain.xml.
 
 How should I setup the JNDI context in order that uri jdbc/mtx should
be available?
 
Thanks, 
Alexey
 

Reply via email to