Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 40513 invoked from network); 3 Nov 2007 20:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2007 20:00:15 -0000 Received: (qmail 73635 invoked by uid 500); 3 Nov 2007 20:00:02 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 73365 invoked by uid 500); 3 Nov 2007 20:00:02 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 73356 invoked by uid 99); 3 Nov 2007 20:00:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2007 13:00:02 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Nov 2007 20:00:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24429714236 for ; Sat, 3 Nov 2007 12:59:51 -0700 (PDT) Message-ID: <25848872.1194119991146.JavaMail.jira@brutus> Date: Sat, 3 Nov 2007 12:59:51 -0700 (PDT) From: "Hoss Man (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-337) Solr home wrong or missing generates class not found exception In-Reply-To: <32831452.1187058450567.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539979 ] Hoss Man commented on SOLR-337: ------------------------------- Note: a specific error about not finding a "./conf" dir in the solr home dir would be handy too. > Solr home wrong or missing generates class not found exception > -------------------------------------------------------------- > > Key: SOLR-337 > URL: https://issues.apache.org/jira/browse/SOLR-337 > Project: Solr > Issue Type: Improvement > Environment: Tomcat 5.5.23 > Reporter: Paul Sundling > Priority: Minor > > If a user types in a bad location for solr/home in JNDI or doesn't have one set, it causes a stack trace that has no obvious relationship with the cause (No Class Defined). It would be nice if the user got an error message instead about what the problem is. Given the number of non-Java users, this could be especially confusing to them. > INFO: Solr home set to '/solr_bad_dir/' > 18:59:38,427 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/search-solr] > Exception starting filter SolrRequestFilter > java.lang.NoClassDefFoundError > at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:74) > at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) > at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302) > at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:78) > at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222) > at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) > at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) > at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) > at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at org.apache.catalina.core.StandardService.start(StandardService.java:448) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) > at org.apache.catalina.startup.Catalina.start(Catalina.java:552) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) > 18:59:38,427 ERROR org.apache.catalina.core.StandardContext > Error filterStart > 18:59:38,427 ERROR org.apache.catalina.core.StandardContext > Context [/search-solr] startup failed due to previous errors -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.