Hi

We have been using iBatis for the past one year and now we are trying to
re-organize our project structure.  Previously we have our project
structure as below and we were using <properties
resource="../../META-INF/database.properties" />.   Now we have to
externalize our properties file and I am using <properties
url="file:///opt/folder 1/folder 1.1/database.properties" />, but I am
getting a File Not Found Exception.  Am I doing anything wrong here?  I
am using Tomcat 6/JDK 1.6 and RHEL as my OS.

Old Structure:

ROOT
    |
    |
    |----------META-INF
    |                  |----------database.properties
    |
    |
    |---------WEB-INF
    |                 |
    |             |-------------classes
                               |
                        sqlConfiguration.xml




Current Structure:


 Opt
    |-------folder 1
    |           |
    |           |-------folder 1.1
            |         |----------database.properties
            |
                |       
                |-------folder 1.2  
                    |
                ROOT
                                    |
                                    |
                                    |----------META-INF
                                    |                  
                                    |
                                    |
                                    |---------WEB-INF
                                    |                 |
                                    |             |-------------classes
                                                               |
        
sqlConfiguration.xml
                    
    

Thanks for your help.

SRINI

Reply via email to