lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin <amit.maha...@gmail.com>
Subject Re: Can't find resource 'solrconfig.xml' in classpath or 'example/solr\conf/', cwd=C:\bea\wlserver_10.3\samples\domains\wl_server
Date Thu, 13 Oct 2011 21:28:03 GMT
Hi, 

I am new to lucene solr. I am trying to deploy solr application on Web logic
10.3. I am having issue with setting up solr home is solrconfig.xml.  I am
using 

<env-entry>
 <env-entry-name>solr/home</env-entry-name>

 <env-entry-value>example/solr</env-entry-value>
 <env-entry-type>java.lang.String</env-entry-type>
</env-entry>  

in web.xml. 


I am getting the following error 


Severe errors in solr configuration. Check your log files for more detailed
information on what may be wrong. If you want solr to continue after
configuration errors, change: false in null
-------------------------------------------------------------
java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in
classpath or 'example/solr\conf/',
cwd=C:\bea\wlserver_10.3\samples\domains\wl_server at
org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:262)
at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:230)
at org.apache.solr.core.Config.(Config.java:101) at
org.apache.solr.core.SolrConfig.(SolrConfig.java:130) at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:134)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:329)
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:95) at
weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:58)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1788)
at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
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:37)
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:37)
at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at
weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 

Can anyone please help me with this.

-----
Thanks
Kevin
--
View this message in context: http://lucene.472066.n3.nabble.com/Can-t-find-resource-solrconfig-xml-in-classpath-or-example-solr-conf-cwd-C-bea-wlserver-10-3-samplesr-tp3419851p3419889.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message