I've migrated BLC from 2.0.1-GA to 2.2.0-GA, and now I am facing with some interesting issue.
In our application we extended SolrSearchServiceImpl from blc-framework.jar. and made our own implementation in our "core" module. e.g. "com.mycompanyname.core.search.service.solr.ExtendedSolrSearchServiceImpl".
I have a problem while application context starts with a message that file solr-default.xml can't be found.
I think that I have isolated a problem, constructor of a SolrSearchServiceImpl is changed and following line is actually problemtic one:
Code: Select all
File solrXml = copyConfigToSolrHome(this.getClass().getResourceAsStream("/solr-default.xml"), solrServer, "solr-default.xml");
What I can see from the code is that new blc-framework-2.2.0.jar has solr-default.xml on tha classpath of that JAR, but this line can't find it in our "core", nor in "site" no matter where I put it.
Can someone help me with this please?
What "bumps" in my head is that I should rewrite my own constructor but I was wondering whether there is more elegant solution.
Thank You