lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Ramos Jardim" <alexander.ramos.jar...@gmail.com>
Subject Deploying Solr at Weblogic. Getting Errors
Date Sat, 02 Aug 2008 15:24:01 GMT
Hello again,

I am trying to deploy Solr-1.3-dev (I downloaded the sources yesterday) in
Weblogic.

I have configured in web.xml, inside the <filter> tag:

        <init-param>
            <param-name>solrconfig-filename</param-name>
            <param-value>

/home/alexander/programas/solr/idxCoupon/solr/conf/solrconfig.xml
            </param-value>
        </init-param>

and out of it:

    <!-- People who want to hardcode their "Solr Home" directly into the
        WAR File can set the JNDI property here...
    -->
    <env-entry>
        <env-entry-name>solr/home</env-entry-name>

<env-entry-value>/home/alexander/programas/solr/idxCoupon/solr/</env-entry-value>
        <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>

I am getting this Exception when deploying it:

SEVERE: Could not start SOLR. Check solr/home property
java.lang.NoSuchMethodError: set
    at
org.apache.solr.handler.admin.ShowFileRequestHandler.init(ShowFileRequestHandler.java:98)
    at
org.apache.solr.handler.admin.AdminHandlers.inform(AdminHandlers.java:93)
    at
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:294)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:460)
    at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:89)
    at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:320)
    at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at
weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:88)
    at
weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
    at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1748)
    at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
    at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
Aug 2, 2008 12:15:23 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NoSuchMethodError: set
    at
org.apache.solr.handler.admin.ShowFileRequestHandler.init(ShowFileRequestHandler.java:98)
    at
org.apache.solr.handler.admin.AdminHandlers.inform(AdminHandlers.java:93)
    at
org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:294)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:460)
    at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:89)
    at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:320)
    at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at
weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:88)
    at
weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
    at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1748)
    at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
    at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)


I could not find the reason why this thing is blowing up. In Jetty, I could
manage to deploy Solr easily.
The error suggests that my solr/home config is wrong, but it loads all other
Solr RequestHandlers. And I have confirmed that the path is correct.

-- 
Alexander Ramos Jardim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message