Re: JSessionID Confusion

2006-10-24 Thread Ryan O'Hara
session cookie. As long as the same session cookie is returned, tomcat see's just one client. The issue can be mitigated by storing state information in the request via hidden form fields or GET params on the page links. --David Ryan O'Hara wrote: Is there anyway to create JSessionIDs per

JSessionID Confusion

2006-10-23 Thread Ryan O'Hara
Is there anyway to create JSessionIDs per window rather than per browser? I am having the problem of when you open multiple tabs within a browser, and enter two simultaneous queries, the results returned are corrupted. Any suggestions? Thanks for the help. -Ryan

Help with Custom Analyzer

2006-10-16 Thread Ryan O'Hara
I have a few questions regarding writing a custom analyzer. My situation is that I would like to use the StandardAnalyzer but with some data-specific rules. I was wondering if there was a way of telling the StandardAnalyzer to treat a string of text, that would normally be tokenized into

Re: Help with Custom Analyzer

2006-10-16 Thread Ryan O'Hara
Ah. Thank you. Sorry, wrong list. -Ryan On Oct 16, 2006, at 4:08 PM, Christopher Schultz wrote: Chuck, Looks like this guy accidentally posted a Lucene question to the Tomcat list. I hope he comes back to see the responses. shrug -chris Caldarale, Charles R wrote: From: Ryan O'Hara

Re: Create an object that's shared with multiple applications?

2006-08-09 Thread Ryan O'Hara
How can I create a single object when Tomcat starts up and access that object from multiple web apps? Thanks, Matt Have you added listener and listener-class tags in each applications' web.xml? Ryan - To start a new

Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Ryan O'Hara
Currently, we have a few three development instances of the same application being run - webapps/A, webapps/B, and webapps/C. By same I mean the same application, although each instance is usually a bit different, as the developers work on their individual instance. The problem we are

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Ryan O'Hara
in your restart script, you are setting the classpath manually to include the classes. another would be that your classes are in shared/classes or shared/lib if not, you'd need to dig deeper. Ryan O'Hara wrote: Currently, we have a few three development instances of the same application

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Ryan O'Hara
else) the CLASSPATH is being set to ~/cvs/fable/ web/info rather than /usr/local/tomcat/webapps/fable(_[user])/WEB-INF/classes/info. Now, if I can only find where this is happening.. Anyone have any ideas? Thanks so much. -Ryan On Aug 4, 2006, at 1:15 PM, Ryan O'Hara wrote: Unfortunately

Re: Initializing Parameter

2006-07-31 Thread Ryan O'Hara
You're looking for init-param. You can add these parameters to any filter or servlet, or at the top-level for the entire webapp, and get them when the filter or servlet runs (or any time you can get an instance of the ServletContext which represents the webapp). The usual way of doing this is to

Re: Initializing Parameter

2006-07-31 Thread Ryan O'Hara
You are creating a ServletContextListener, which must be configured in the listeners section of your web.xml file: simply mention the ServletContextListener in there, and the contextInitialized() method will be called when the webapp is initialized (i.e. once for the life of the webapp). If

Re: Initializing Parameter

2006-07-31 Thread Ryan O'Hara
One more question: What is the best method for retrieving the values? Thanks again. -Ryan On Jul 31, 2006, at 2:47 PM, David Smith wrote: ServletContextListener is a new feature of servlet spec 2.4 (tomcat 5.0.x, 5.5.x). The essential parts are: 1. write a class implementing the