Re: Where can I store data files in a tomcat war

2014-07-03 Thread Paul Taylor
On 03/07/2014 16:03, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 7/2/14, 4:28 PM, Paul Taylor wrote: On 02/07/2014 16:34, Christopher Schultz wrote: The solution is that the web application, packaged in a WAR file, needs to unpack the Lucene indexes

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
I guess I'm a little confused as to what this means. I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how do I modify my pom file to do this with maven I

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 11:49, Paul Taylor wrote: I guess I'm a little confused as to what this means. I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how do I

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 15:06, Mark H. Wood wrote: On Wed, Jul 02, 2014 at 11:49:36AM +0100, Paul Taylor wrote: I have a simple WAR based web application that uses Lucene created indexes to provide search results in a xml format. Especially given the following context: and supplementary question how do

Re: Where can I store data files in a tomcat war

2014-07-02 Thread Paul Taylor
On 02/07/2014 16:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 7/2/14, 6:49 AM, Paul Taylor wrote: [L]et me explain it a bit further. I'm trying to deploy an application that serves results from a lucene index in response to user requests. Deploying

Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
Hi I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml format, the location of the indexes (outside of the war) are referred in the web.xml. It works fine locally but I want to deploy it using Elastic Beanstalk within Amazon

Re: Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
On 27/06/2014 19:59, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 6/27/14, 8:34 AM, Paul Taylor wrote: I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml format, the location of the indexes

Re: Where can I store data files in a tomcat war

2014-06-27 Thread Paul Taylor
On 27/06/2014 21:22, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/27/2014 11:59 AM, Christopher Schultz wrote: Paul, On 6/27/14, 8:34 AM, Paul Taylor wrote: I have a simple WAR based web application that uses lucene created indexes to provide search results in a xml

Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml servlet-mapping servlet-nameSearchServerServlet/servlet-name

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml servlet

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 11:09, Paul Taylor wrote: Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what

Re: How do you handle 'rewrite queries' ?

2009-08-13 Thread Paul Taylor
Christopher Schultz wrote: If you're looking for URL rewriting in Java, you need go no further than http://tuckey.org/urlrewrite/ So I had a look at urlrewrite, when you first mentioned it I didnt realise you could plug it in as a filter, and it seems to be what I need I'm not sure you

Re: How do you handle 'rewrite queries' ?

2009-08-06 Thread Paul Taylor
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/5/2009 11:30 AM, Paul Taylor wrote: Thanks actually the default is not picking up the root case, I've got a simpler related issue by war get deployed as searchserver in webapps, is there a way I can leave

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/3/2009 11:03 AM, Paul Taylor wrote: Hi writing web app to replace an existing open source application (musicbrainz lucene search) that handles queries of the form http://host/?query=...type=...fmt

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? could you tell me how to do the mapping you specify in the tomcat config It's defined in the servlet spec, not the Tomcat config. Read section 11 of the spec

Re: How do you handle 'rewrite queries' ?

2009-08-05 Thread Paul Taylor
Caldarale, Charles R wrote: From: Paul Taylor [mailto:paul_t...@fastmail.fm] Subject: Re: How do you handle 'rewrite queries' ? servlet-mapping servlet-nameSearchServerServlet/servlet-name url-pattern//url-pattern /servlet-mapping The above causes the SearchServerServlet

How do you handle 'rewrite queries' ?

2009-08-03 Thread Paul Taylor
Hi writing web app to replace an existing open source application (musicbrainz lucene search) that handles queries of the form http://host/?query=...type=...fmt=... and also the alternative form of http://host/ws/type/?queryfmt=... using something called lighttpd.conf ,