This is a follow up to my earlier question.
Tomcat 5.0.28 had a bug where the Servlet's destroy() method was not being invoked by the container on a shutdown. This is fixed in Tomcat 5.0.30, but if the Servlet's destroy() method had a System.exit(), it would result in the Tomcat windows service throwing the Error 1053 and refusing to sh...
I am about to migrate a web application from PHP to JAVA (GWT) but I would like to do it iteratively, chunk by chunk. Currently I use apache to serve the HTML and PHP files, but in the conversion period I also need Jetty or Tomcat to handle the servlets. And also from port 80 I guess? How can I do such a mix?
...
I am using Tomcat to compress my HTML content like this:
<Connector port="8080" maxHttpHeaderSize="8192"
maxProcessors="150" maxThreads="150" minSpareThreads="25"
maxSpareThreads="75" enableLookups="false" redirectPort="8443"
acceptCount="150" connectionTimeout="20000" disableUploadTimeout="true"
compression="on" compressionMinSize="128...
We have been using System.getProperties("user.dir") to get the location of a properties file. Now that it has been deployed on Tomcat(via servlet), the System call is giving the location as tomcat and not at the location at where the properties file exist.
How can we call the the properties file dynamically?
Given:
Tomcat is not t...
I had happen in the past that one of our IT Specialist will move the robots.txt from staging from production accidentally. Blocking google and others from indexing our customers' site in production. Is there a good way of managing this situation?
Thanks in advance.
...
We run the 32-bit Sun Java 5 JVM on 64-bit Linux 2.6 servers, but apparently this limits our maximum memory per process to 2GB. So it's been proposed that we upgrade to the 64-bit JVM's to remove the restriction. We currently run multiple JVM's (Tomcat instances) on a server in order to stay under the 2GB limit, but we'd like to consol...
My application is running on Windows Server 2000. The memory usage keeps growing (from 145m).
Is that normal? I am new to Java. The version is Tomcat5.5.
...
I am following the tutorial here:
http://nutch.sourceforge.net/docs/en/tutorial.html
Crawling works fine, as does the test search from the command line.
When I try to fire up tomcat after moving ROOT.war into place(and it unarchiving and creating a new ROOT folder during startup), I get a page with the 500 error and some errors in...
I'm a senior-ish C# developer used to ASP.NET & IIS, but a project's come along for which I'll need to use Java/JSP and Tomcat, both of which are new to me. I've got a bit of experience with Java, but none with Tomcat or JSP, so I'm looking for a book ( or books) that'll help me get up and running with JSP and Tomcat quickly. (The proj...
Hello I am looking to install Apache-Tomcat on a RedHat linux and I am interested if there is a standard place for this to be installed. in other work I have seen tomcat installed at
/opt/apache-tomcat-[VERSION]/
but I would expect it to be found under /usr.
Best answer will have a link to authoritative site.
Thanks so much,
David.
...
We have a locally-developed triple store based on b-trees which I want to use for persistent storage in a number of servlet applications. Rather than embed the b-tree index files in the servlet .war, I would like to store them at a known location and have the servlets access them directly. This all works in Jetty, but raises a security e...
Best practice to specify external directory for storing images in Tomcat?
...
Hello, I would like to collect some best-practices on deployment of a web-application to a running Tomcat. Not long ago I had to describe the deployment process of our web-application and the process appeared rather confusing.
Say, we have an application in a WAR file (foo.war) correctly configured and not requiring additional configura...
Recently our Software Analytic provider (NETTRACKER) sent us a plugin in order to be able to capture visitors in a better way. This plugin is for Apache 1.x and Apache 2.x. They said and I quote
that since Apache Tomcat is built on Apache HTTP server the configuration of the plugin should be the same.
I have looked for a httpd....
We are looking for a free to use website software for spell checking our sites before they go to production. A basic search online took me to these pages:
Net MECHANIC
Text Trust
Orango
I did the trial in NetMechanic and I got a bogus email with no result and encouraging me to buy their paid subscription. Any suggest...
Can anyone help me to configure struts 2.0.14 (I'm using tomcat 6.0). I want to know what is the procedure to build my first application in struts. Also tell me how xml is used to build a struts application. I have tried and tired of Google and that's why I'm here. Please suggest me some nice tutorial for struts out of your own experienc...
I'm referencing LDAP in a Tomcat security realm in the Tomcat server.xml file. However I'm getting an unusual error: Tomcat doesn't start, and going into the logs I see that it's failed to connect to localhost:389 - Tomcat's default LDAP URL.
However, Tomcat is configured to point at a different URL (not the external URL of the same mac...
We are seeing frequent java.net.SocketException: Connection reset errors in our logs for a component that calls a third party Web service that sends SMS messages.
Our application is written in Java and is sat on top of Tomcat 5.5. It was written by contractors who are no longer with us. The current team has no real Java expertise, and w...
I have already created a user database file using Apache's htpasswd command. This file is now used by several other application like apache and subversion.
Users in are created like this:
htpasswd /path/to/users.htpasswd peter
This user file is global, not per directory.
How I can make Tomcat 6 use this same file as a security real...
We want to integrate a prepost rutine in our webserver (tomcat). A filter that will capture the post before sent to the user and add a line of code in the html before sent to the user. We are looking for tutorial or any help on this.
...