I have an apache 2.2 server infront of a tomcat 6 server. using mod_proxy_ajp on apache to proxy requests to tomcat. pretty standard setup.
If I need to disable keep-alive connections for browsers, how do i do this?
I need to do disable keep-alive http requests because i suspect some of my users have firewalls that might be dropping an...
Hello,
I am trying to do something trivial and can't see what I'm missing. I have the following web.xml...
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.do</url-pattern...
I want to use to implement only REST service - a very simple one returning 'person' by full name or id in JSON. Im probably will be using JAX-RS and maybe JAXB - im not sure if tis is a right choise. I want to use it with following technologies/products and their versions:
JDK 1.5
Eclipse 3.5 EE
Tomcat 6.0
CXF 2.2.5
Spring 2.5.1
My q...
I have a Grails application, built to a war file (~30mb). When I attempt to deploy the war file on Tomcat 6 via the application manager, it takes upwards of 10 minutes to deploy, or hangs indefinitely. When it hangs I can restart Tomcat and the app is usually deployed, however sometimes I have to repeat the process. I've also noticed tha...
Where should I store persistent files in a Tomcat web app ?
javax.servlet.context.tempdir is not feasible, it's erased when the app is redeployed/removed
Don't want to use an absolute path in e.g. servlet init parameters
Storing the files in a database is not an option
...
Following up on a prior question, I'm trying to figure out how to set up container-based authentication for a J2EE application. Specifically, I need to be able to apply a password digest algorithm other than the ones supported by the java.security.MessageDigest (which are SHA, MD2, or MD5 - here's where I think that limitation is documen...
Hi,
I am developing a Jetspeed portal application running on Tomcat, using the Eclipse IDE with the Sysdeo Tomcat launcher plugin to enable debugging of the application running in Tomcat/Jetspeed.
I was wondering how to enable hot deploy of development changes for this environment? Does anyone know how to configure a Jetspeed portal web...
Hi all,
I got a java web project handling several objects (again containing n objects of type A (e.g. time and value) and m objects of type B (e.g. time and String array)). The web projects itself contains several servlets/jsps for visualization as well as some logic for data manipulation and currently runs on an Apache Tomcat.
Is it ...
Does anyone know how to configure Tomcat 6.0 as a standalone web server (on Windows XP) that can handle 20,000 simultaneous connections? Please help me.
...
Hi,
Anyone has some pointers/recipe for must/should do configurations for putting a war into production with Tomcat 6.0.20?
I understand that it depends on my application, I just want to leverage the communities experience :-)
My application will mainly receive webservice requests (CXF and Spring security) store them to DB (JPA/Hiberna...
I'd like to use this kind of a pattern for my Java web app:
<url-pattern>/*/test.html</url-pattern>
and then parse the URL in the servlet to get what the value of the star is, and use that value to query a different table in the database.
However this seems to be an illegal pattern for Tomcat.
Is there any way I can achieve this with...
My app have this architecture:
struts
spring
dwr
hibernate
Now we use apache tomcat 5.5.28. We wanna switch to Glassfish for performance.
My question are:
anyone know if there are problem for porting using this 4 framework?
anyone know a guide for porting? or ... there are an official guide for porting from tomcat to glassfish?...
I'm running Tomcat 6 on Windows. I've got the "Monitor Tomcat" system tray icon which allows me to start and shutdown Tomcat, but is there another little tool that allows me to easily reload my web app when I've changed the class files? I know the "manager" app that comes with Tomcat does this but just wondering if there's a native app t...
I'm tryin to change the path of a deployed war file in Tomcat. Reading the documentation I can't figure out if this is possible without moving the context-file to the /conf directory.
Is it possible to deploy a war-file without having a external (outside the war) context file and set path to /something
Cheers!
Tomas
...
Is it possible to get a list of all available web services on a tomcat server?
...
I am deploying my application to Tomcat 6.0.20.
Application uses Hibernate as ORM, Spring, and JSF for web-tier.
I also made simple runner from main() method to test Spring-Hibernate collaboration. And it does work fine and hibernate.cfg.xml is parsed pretty well.
I can append some code or full stack trace but I'm not sure that it's n...
I haven't been able to figure out how to deploy multiple grails applications with Apache/Tomcat where a virtual host is mapped to each grails app
I can get it so that
http://virtualhost1.example.com/myGrailsApplication-0.1/
works, but what I want is for
http://virtualhost1.example.com/
to go directly to my application. A lot of tu...
Hi,
For a customer, I need to write a Servlet which can print values in a form post. The form is hosted on another server and looks somewhat like this:
<form action="http://myserver/myServlet" method="POST">
<input type="text" id="someName" value="someInterestingValue"/>
<input type="submit" value="submit" />
</form>
I have a Tomcat ...
I'd like to use the source code of maven-managed dependencies when debugging our webapp in myEclipse 8.
I have managed to attach the sources to the libraries in the "Maven Managed Dependencies" classpath container, i.e. when I open a class file from a dependency (e.g. using Ctrl-Shift-T), I see the source code.
However, when I define a...
I have a Java web application, using Spring and Struts, running on Tomcat 5.5. I want to load static images that will be shown both on the Web UI and in PDF files generated by the application. Also new images will be added and saved by uploading via the Web UI.
It's not a problem to do this by having the static data stored within the th...