Hi,

Am Currently using Solr 3.6 archive jars for the magnolia-module-solr-1.0 
module. When tried to use Solr 4.0.0-ALPHA archive jars, it gave me an error as 
below. 

2012-07-26 11:26:33,568 ERROR info.magnolia.init.MagnoliaServletContextListener 
: Oops, Magnolia could not be started
java.lang.NoClassDefFoundError: 
org/apache/solr/client/solrj/impl/CommonsHttpSolrServer at 
java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at 
info.magnolia.objectfactory.DefaultClassFactory.forName(DefaultClassFactory.java:53)
        at 
info.magnolia.objectfactory.configuration.LegacyComponentsConfigurer.classForName(LegacyC
omponentsConfigurer.java:136)
        at 
info.magnolia.objectfactory.configuration.LegacyComponentsConfigurer.addComponent(LegacyC
omponentsConfigurer.java:90)
        at 
info.magnolia.objectfactory.configuration.LegacyComponentsConfigurer.doWithConfiguration(
LegacyComponentsConfigurer.java:74)
        at 
info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder.build(GuiceComponentProvi
derBuilder.java:107)
        at 
info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder.build(GuiceComponentProvi
derBuilder.java:147)
        at 
info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:147)
        at 
info.magnolia.init.MagnoliaServletContextListener$1.doExec(MagnoliaServletContextListener
.java:246)
        at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:443)
        at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:440)
        at 
info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403)

When checked for CommonsHttpSolrServer, the current API shows me it as a 
deprecated class. 

[u]Question :[/u]

Though Solr 4.0 is on Alpha, are there plans of migrating the Magnolia-solr 
module to use Solr 4.0?

On a separate note;

The main criteria I am migrating to Solr 4.0 is the fact that I would be able 
to access CloudSolrServer class(which is implemented only in Solr 4.0). 

Also, is there any suggestion to sync up more than 1 solr instance connected 
via Magnolia. 

Thanks in advance.
Balaji.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=88707c16-2a3a-440d-b7f2-bfee5541c570


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to