I start tomcat using startup.bat and do nothing more with it. It is a plain vanilla installation (Version 7.0.47), as far as I know. When connecting with a JMX tool, like VisualVM I see the usage of Heap space constantly increasing. Until some garbage collection happens. And then it starts all over, again. Why is that so? What is tomcat
Tag: tomcat
How to install Tomcat in Amazon Web Services EC2
I have created an instance in Amazon web services, and I have connected to the server using putty through ssh. But I do not know how to install tomcat 8 in amazon ec2. Please help me with this. Answer You can use yum tool to install the tomcat8 packer from amazon default repository. The command is: yum install tomcat8-webapps tomcat8-admin-webapps
Spring Boot with container security
I’ve been using spring boot for some projects lately and I really like it. For a new project, we’d like to use tomcat-users.xml for really basic authentication, but I can’t figure out how to use the mechanism without a web.xml file. Most people using spring boot seem to be using spring security. Is it possible to use tomcat container security
Maven build: Tomcat server doesn’t start
I am new to Maven and trying to setup a web project using Maven. I have setup the project in Eclipse and I am using Tomcat 7.0.53. In run configuration for Maven build and I have set tomcat:run in Goals. When I run this configuration, following log is seen in the Eclipse console: Nothing happens after this. There is no
Tomcat vs Vert.x
For the past few days I have been reading Vert.x documents. I know that Vert.x is polyglot, single threaded, non-blocking IO, modular architecture, high scalability. Is there any other major differences between tomcat and Vert.x? Also when we should use tomcat and when to use Vert.x? Answer Tomcat is a servlet container, so it offers you a platform that helps
Jaas Basic Authentication tomcat 7
I keep on getting the same error, I have already changed the tomcat7w file that specifies the jaas config file location I have already added this tom my tomcat7w.exe file. another is that I also have this realm so what am I missing? please help me, I am using netbeans, tomcat 7.0.47. I have resolved to using glassfish! Answer According
JSP / JSTL causes NoClassDefFound error for TagSupport
This problem has been driving me mad for several weeks now and I suspect that the resolution, once I find it, will be simple. I have looked at every relevant answer I can find in StackOverflow but haven’t managed to resolve it, so I am hopeful that someone will be able to help me. I have re-created the problem in
Tomcat 7.0.43 “INFO: Error parsing HTTP request header”
I use Tomcat 7.0.43 with a websocket application. My app works fine in Tomcat 7.0.42 but with 43 I get the following output when I try to access my server on websockets: My browser console shows the following: Here is the access log for that request: What has changed in Tomcat 7.0.43? What do I have to change? Answer If
I’m not able to log in Tomcat Manager App
I have read a lot of topics in stackoverflow for solve my problem, but none was useful. When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) using a lot of different configurations, but I always obtained 401 Unauthorized after attempted to log in using the rights credentials. I restarted the tomcat server a couple of times. This is my last
PageOutputStream causing java.lang.OutOfMemory
We have a struts2 web application running in Tomcat 7 that is intermittently experiencing the same problem: Application operating perfectly normally After a variable amount of time (anywhere from 10 minutes to 7 days) the application slows down to a halt Multiple java.lang.OutOfMemory errors in catalina.out Linux free -m shows all physical and swap memory is used up (even though