Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 51330 invoked from network); 3 Aug 2010 11:13:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 11:13:03 -0000 Received: (qmail 55237 invoked by uid 500); 3 Aug 2010 11:13:03 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 55176 invoked by uid 500); 3 Aug 2010 11:13:01 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 55159 invoked by uid 99); 3 Aug 2010 11:13:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 11:13:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of in.imtiaz@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-px0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 11:12:51 +0000 Received: by pxi12 with SMTP id 12so1646489pxi.6 for ; Tue, 03 Aug 2010 04:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references :subject:date:mime-version:content-type:content-transfer-encoding :x-priority:x-msmail-priority:x-mailer:x-mimeole; bh=sWEc++AMycDWlWohOPiqk9JBgpt0ea1ZlR9twub1pzs=; b=KfxVAtm43VLuw//7uOnohHU6iF6eoWgvY8jQI5tjUPLnzF6F1BS6Dtq/Dh0supuYBL qzbwqEgaRYLGpP7RgIvhdw+igs6t3SGOo4lGrHoS3X9lDSCh+cihOJhyx74AQLQP9oKA vftMit0oX+QA4YLEQMMQN7umZMWSNCoJpKgIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=K6DSAWX61p8VJnGRXYXOgX8qFE+xVls7XqqbQFSLAHrlZvezdFzEjUn1+LEFMpPeOD u1LFgu6N8BArjrEytZTSvod7NV3h3hR/70iZnOYdEi3nMp+R/ixqp8lgiNL85IAtnfmD tc+POd+ffd3xusQOaKAFJZRvKES99VGKBv6N8= Received: by 10.142.136.1 with SMTP id j1mr6625900wfd.343.1280833949761; Tue, 03 Aug 2010 04:12:29 -0700 (PDT) Received: from imtiaz20100131 ([122.166.81.201]) by mx.google.com with ESMTPS id x18sm9014215wfd.20.2010.08.03.04.12.26 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 04:12:28 -0700 (PDT) Message-ID: <0308BC17040D41589E347BF7ECBE29FC@imtiaz20100131> From: "Imtiaz Ahmed H E" To: References: <5732C36264DE4025868DAD5733027510@imtiaz20100131><50BF7B0DD0AF471F807AA1326364F792@imtiaz20100131> Subject: Re: Search error when using JDBC for search (was "Metadata handling") Date: Tue, 3 Aug 2010 16:42:23 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Virus-Checked: Checked by ClamAV on apache.org The JDBC-only compass index case itself was not working and I have fixed that alone in the patch now attached to Esme Jira-205. (File EsmeJira205_JDBC_Only_Fix_Patch.diff) Rename the file props/compass.jdbc.cfg.xml to compass.cfg.xml & package & run, and you have a jdbc compass index (Derby db). The jdbc-jndi usage should be possible now with the appropriate setup of Compass & app container config ? Ethan, if you attend to this, let me know further... Imtiaz ----- Original Message ----- From: "Ethan Jewett" To: Sent: Monday, August 02, 2010 5:15 PM Subject: Re: Search error when using JDBC for search (was "Metadata handling") Hi Imtiaz, Using the filesystem option works fine for me if I check out the latest trunk and do a "mvn jetty:run". No modification to any files. Doing a clean checkout might be required if there is an existing compass index that has gotten corrupted. It should find any term that exists in a message, so just send a new message ("Test message" for example) and then search for a word in the message ("test"). If that doesn't work, then we have an issue. Ethan On Saturday, July 31, 2010, Imtiaz Ahmed H E wrote: > Ethan or anyone else, > > I have a checkout of ESME readonly without local modifications and search > in the non-jdbc/non-jndi case itself *appears* to be not working on my > system ( i.e., in the file system index case!). > > I think I'm not searching for a term that actually exists. > > So, a basic question, > > If I'm logged in and enter a term in the search box and hit return, where > is esme supposed to search for the term. I don't know till today. Is it > supposed to look for the term in *all* messages in the db regardless of > user/pool etc. If not, in which subset is it supposed to look? > > Imtiaz > > --- Original Message ----- From: "Anne Kathrine Petterře" > > To: > Sent: Friday, July 30, 2010 3:24 PM > Subject: Re: Search error when using JDBC for search (was "Metadata > handling") > > > > Hi, > > I am sorry but I cannot help out here either. > > Anne > > > On 30 July 2010 09:59, Ethan Jewett wrote: > > > Hi Imtiaz, > > Unfortunately I do not know the answer to either of those questions > :-( I think we'll have to wait for Dick to give us more info on how he > does the Stax deployment and what worked before. > > Ethan > > On Friday, July 30, 2010, Imtiaz Ahmed H E wrote: >> Ethan, >> >> Couple of questions: >> >> 1. I'm not familiar with the Stax environment, so I wondered if Esme > >> used > Derby (JavaDB) there too for the Esme store (nothing to do with search, > this > question). >> >> 2. Re search, is it/was it ever working with just jdbc not jndi. i.e, > with the setup of the compass config file, compass.jdbc.cfg.xml. >> I guess your answer will be the same as in your mail below... >> >> Imtiaz >> >> >> ----- Original Message ----- From: "Ethan Jewett" >> To: >> Sent: Thursday, July 29, 2010 5:28 PM >> Subject: Re: Search error when using JDBC for search (was "Metadata > handling") >> >> >> >> Hi Imtiaz, >> >> Hopefully Dick will see this and answer at some point, because he >> really knows. But I do believe that it was working on Stax using the >> JDBC connector and then stopped working. Stax has never allowed us to >> use the file system, so if it was ever working on Stax then it was >> using the JDBC connector. >> >> Thanks, >> Ethan >> >> On Thu, Jul 29, 2010 at 1:39 PM, Imtiaz Ahmed H E > wrote: >> >> Ethan, >> >> Need to know - >> >> Re ESME-205, viz, Search is Broken.... >> >> Has this been implemented in the first place, with jndi/jdbc I mean...? > And >> if it was, was it ever working ? >> >> Just getting into all the related stuff along with Lucene... >> >> Imtiaz >> >> ----- Original Message ----- From: "Imtiaz Ahmed H E" < > in.imtiaz@gmail.com> >> To: >> Sent: Monday, July 26, 2010 5:03 AM >> Subject: Re: Search error when using JDBC for search (was "Metadata >> handling") >> >> >> >> Will look into this and try and fix it asap. >> Getting to know Lucene etc...even bought the Lucene in Action book ! > >> The >> Java eco-system never ceases to give you pleasure ! >> >> Imtiaz >> >> ----- Original Message ----- From: "Ethan Jewett" >> To: >> Sent: Thursday, July 22, 2010 12:21 PM >> Subject: Re: Search error when using JDBC for search (was "Metadata >> handling") >> >> >> Not in front of my computer now, so please forgive mistakes. >> >> My testing indicated that in the Compass object in Boot.scala the >> conf.buildCompass() method call was failing silently during the setup >> of the object. >> >> The exception then occurs later on when the system attempts to use the >> Compass.compass value, which I believe was never populated. >> >> So, the actual failure occurs in the SearchMgr object, I think, so it >> has Lift methods in the stack trace, but I don't think it's a Lift >> issue. I'm not sure why we don't see an exception bubble up from the >> buildCompass() method. >> >> That is unfortunately about as far as far as I got. >> >> Ethan >> >> On Thursday, July 22, 2010, Imtiaz Ahmed H E > wrote: >> >> >> I mean, is this a compass thing ? but why is the exception name not >> printed in the log... >> >> ----- Original Message ----- From: "Imtiaz Ahmed H E" >> >> To: >> Sent: Thursday, July 22, 2010 11:39 AM >> Subject: Re: Search error when using JDBC for search (was "Metadata >> handling") >> >> >> >> So that I can take a quick step forward, can you tell me, how is the >> following trace produced...is this a slf4j produced log message. >> >> Andwhy is the exception name itself, I