Details

      Description

      Installing eZFind with existing Tomcat should be also written in documentation.

      Tomcat and eZfind won't work unless all JAR's from ezfind/java/lib/ext folder are copied into Tomcat's lib folder.

        Activity

        Hide
        Edi Modrić (Inactive) added a comment - - edited

        Hi,

        that's not entirely true.

        eZ Find with Tomcat 6 works for us out of the box with the following context XML:

        root@abyss: ~ # cat /etc/tomcat6/Catalina/localhost/solr-demo52.xml
        <?xml version="1.0" encoding="UTF-8" ?>
        <Context docBase="/var/www/demo52/extension/ezfind/java/webapps/solr.war" debug="0" crossContext="true">
          <Environment name="solr/home" type="java.lang.String" value="/var/www/demo52/extension/ezfind/java/solr" override="true"/>
        </Context>
        

        EDIT: The path that you should put in your solr.ini will be http://localhost:8080/solr-demo52

        Show
        Edi Modrić (Inactive) added a comment - - edited Hi, that's not entirely true. eZ Find with Tomcat 6 works for us out of the box with the following context XML: root@abyss: ~ # cat /etc/tomcat6/Catalina/localhost/solr-demo52.xml <? xml version = "1.0" encoding = "UTF-8" ?> < Context docBase = "/var/www/demo52/extension/ezfind/java/webapps/solr.war" debug = "0" crossContext = "true" > < Environment name = "solr/home" type = "java.lang.String" value = "/var/www/demo52/extension/ezfind/java/solr" override = "true" /> </ Context > EDIT: The path that you should put in your solr.ini will be http://localhost:8080/solr-demo52
        Hide
        Siniša Šehović added a comment -

        Hi Edi,

        well that's odd, on my installation with both latest Tomcat 7.0.53 and eZFind I had to put libs into Tomcat's folder. Only after doing that ezFind started to work.

        this is my conext XML:

        <?xml version="1.0" encoding="UTF-8" ?>
        <Context docBase="/var/www/intranet201403/extension/ezfind/java/webapps/solr.war" debug="0" crossContext="true">
            <Environment name="solr/home" type="java.lang.String" value="/var/www/intranet201403/extension/ezfind/java/solr" override="true"/>
        </Context>

        Show
        Siniša Šehović added a comment - Hi Edi, well that's odd, on my installation with both latest Tomcat 7.0.53 and eZFind I had to put libs into Tomcat's folder. Only after doing that ezFind started to work. this is my conext XML: <? xml version = "1.0" encoding = "UTF-8" ?> < Context docBase = "/var/www/intranet201403/extension/ezfind/java/webapps/solr.war" debug = "0" crossContext = "true" > < Environment name = "solr/home" type = "java.lang.String" value = "/var/www/intranet201403/extension/ezfind/java/solr" override = "true" /> </ Context >
        Hide
        Edi Modrić (Inactive) added a comment -

        I don't have any tips unfortunately

        This context XML works for me in Tomcat 5.5/6/7

        Show
        Edi Modrić (Inactive) added a comment - I don't have any tips unfortunately This context XML works for me in Tomcat 5.5/6/7
        Hide
        Edi Modrić (Inactive) added a comment -

        Hi Siniša,

        I overlooked the fact that you are using latest eZ Find from (201403) version.

        I now tried it myself, and indeed, the libs need to copied to Tomcat's lib folder as you suggested.

        Moreover, it looks like Solr 4.7 (which is included in latest eZ Find) won't work with Java 6, only Java 7.

        Show
        Edi Modrić (Inactive) added a comment - Hi Siniša, I overlooked the fact that you are using latest eZ Find from (201403) version. I now tried it myself, and indeed, the libs need to copied to Tomcat's lib folder as you suggested. Moreover, it looks like Solr 4.7 (which is included in latest eZ Find) won't work with Java 6, only Java 7.

          People

          • Assignee:
            Unassigned
            Reporter:
            Siniša Šehović
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: