Java Tools Section Index | Page 5
If I have two indexes and use the MultiSearcher will it be faster than only one index with all my documents?
That depends on the environment where MultiSearcher is used.
If you have a single computer with a single CPU, then it may actually be a bit slower. However, it could be faster if you're either r...more
How to make ANT keep source line numbers When I build with ANT 1.3, exceptions show source code line numbers.
How to make ANT keep source line numbers
When I build with ANT 1.3, exceptions show source code line numbers. For example:
java.lang.Exception: com.ge.med.gemsit.rs.dise.app_server_not_available
...more
How the catalina.home and catalina.base system properties are used?
The presence of those two properties is required only when you want to use multiple instances of Tomcat without having to install the software multiple times, and not wasting disk space.
The first...more
What version of the JDK is required to use Lucene?
Lucene requires at least version 1.2 of the JDK. Versions 1.3 and 1.4 of the JDK are also supported.
Which version of the JDK does Lucene require?
Lucene requires at least version 1.2 of the JDK. Versions 1.3 and 1.4 of the JDK are also supported.
How to configure ANT such that some specific user messages are directed to file and not console output? I would like to configure some of my echo statements such that they point to a file and write to a file and not to console.
<echo file="..." append="true"/>, it´s described in the manual.
Can I search an index while it is being optimized?
Yes, an index can be searched and optimized simultaneously.
Can I search an index while it is being optimized?
Yes, an index can be searched and optimized simultaneously.
Cross Site Scripting (XSS) with Jakarta Tomcat.
Hi,
The XSS vulnerability has been found at the time Tomcat 4.0.3 has been released (and 4.1.2 was in beta). The problem was connected to the fact that it was possible to run some specific classes...more
Tomcat 4.x and servlet mapping.
Tomcat 4.x and /servlet/ mapping.
Can junit task take command-line arguments?
Can junit task take command-line arguments?
I am trying to run junit tests with Ant's <junit> task. The problem is that my tests takes in some sample data and sample outout as arguments to ...more
Evaluating properties based on other properties
Evaluating properties based on other properties
Hi all
My question involves a little explanation, so I hope it makes sense...
I have a properties file that defines a comma-delimited list of na...more
Problem with a simple delete task
Problem with a simple delete task
I'm trying to do a very simple Ant equivalent of "make clean" where I delete Emacs temp file (e.g. rm -f *~) but I can't get Ant to find those files. Here is my ...more
How to change the location of TOMCAT_HOME/webapps on Tomcat 4.1.x?
That is explained in the Server Configuration Reference - The Host Container official documentation page.
Just change the appBase attribute of the <Host/> tag, according to this:
appBase
Th...more
Why Are The Tomcat 4.1.24 MBean Server And Admin Tool Not Available? (Bootstrap: Service started javax.servlet.UnavailableException: MBeanServer is not available)
Additional Info
When this problem occurs, the following exception shows up in the logs on startup:
Bootstrap: Service started
javax.servlet.UnavailableException: MBeanServer is not availa...more