For questions specific to Apache Tomcat version 7.
Questions tagged [tomcat7]
242 questions
0
votes
1 answer
Tomcat 7.0.42 crashes many times a day
I have a Tomcat7 server running and it crashes and shows sometimes a memory warning that there is not enough Heap Space.
What do I have to do here?
My server has 4GB RAM, 4CPU and runs on ubuntu 12.04 LTS 64-Bit
I am new with Tomcat so I will be…

Michael
- 183
- 1
- 2
- 8
0
votes
2 answers
capistrano-started tomcat dies immediately, ssh'ing the exact same command succeeds
so I was playing around with capistrano and a local dummy raring vm in vbox. everything was fine and my attention shifted to deployments on real machines. A couple of days later I want to deploy to my vm again and the script succeeds but afterwards…

Cpt. Senkfuss
- 193
- 6
0
votes
1 answer
What are the optimal Java Memory Settings for Railo 4.x / Tomcat 7?
I'm currently running Railo 4.0.4.001 final on an Amazon 64-bit Linux m1.medium cloud instance which has 3.75Gb of memory.
My setenv.sh script is currently starting Railo / Tomcat with ...
JAVA_OPTS="-Xms256m -Xmx1024m -XX:MaxPermSize=256m ";
My…

user183744
- 101
- 1
- 1
- 4
0
votes
1 answer
Two tomcat 7 instance running on same machine not accepting requests on AJP connector
I have setup a tomcat cluster with session replication running on same machine. I have modified the connector and shutdown ports as
node1
--http 8080
--ajp 8009
--shutdown 8005
node2
--http 9080
--ajp 9009
--shutdown …

Prasenjit Purohit
- 43
- 4
0
votes
1 answer
java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0
I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using teamcity with java.
user160910
0
votes
1 answer
getting https encrypted data passed over http
I'm trying to configure tomcat to work https port 8443.
using tomcat 7.
I enabled the https connectors with the following parameters:

ufk
- 333
- 3
- 8
- 31
0
votes
1 answer
EC2 Tomcat crashes each morning
I am preparing to launch a new web application and I have an EC2 instance, running Ubuntu 12.04, with Tomcat 7.0.4.29. For the last two mornings it has crashed at around 8am. There is no error in my Tomcat logs to suggest my web app has crashed (and…

leadoutbikes.com
- 101
- 1
0
votes
2 answers
Opening tomcat server to the public
I have a server that is pingable from the public internet. I've just installed tomcat on 8080 port on this server. From the server itself I can see the main page come up when accessing http://localhost:8080 however, from the internet if I try…

Omnipresent
- 227
- 2
- 7
- 13
0
votes
2 answers
page does not end up directly under domain
I'm trying to set up a java page using Apache and tomcat on a Ubuntu server. The problem I'm having is that the page does not end up under the domain but in a virtual folder on the domain like this.
example.com/example/
If i enter example.com the…

Icy Creature
- 223
- 2
- 5
- 11
0
votes
1 answer
Trailing slash and tomcat http connector
I'm configuring tomcat to forward visitors to a different domain and different port using the tomcat http connector, and proxy settings in the apache site config (as explained here).
A more specific explanation:
- I'm running a web app 'yasgui' on…

Laurens Rietveld
- 101
- 3
0
votes
2 answers
Sometimes Tomcat doesn't re-deploy on startup
The infamous rm -rf command is something we would rather avoid in Production, even if it's scripted. So if you have a war file named mywebapp.war and a directory its deployed to under webapps/ that is called webapps/mywebapp/ how can you force a…

user447607
- 493
- 1
- 6
- 9
0
votes
1 answer
Apache Reverse Proxy via mod_proxy_ajp not routing requests to Tomcat
I have two instances of Apache and Tomcat7 installed. One on my Macbook Pro with Mountain Lion and the other in a VirtualBox VM on that Mac with Ubuntu Server 12.10. Both have the same VirtualHost configuration and server.xml…

Darrell Brogdon
- 137
- 1
- 1
- 11
0
votes
3 answers
Tomcat7 fails deploy application
I have Tomcat7 installed on a Server 2008 R2 server as a service. When I start the service, there were no failures, but I got a 404 when I navigate to Localhost:8080.
I opened up cmd and tried running Tomcat7.exe, but I receive the following…

OrangeGrover
- 595
- 3
- 10
- 25
0
votes
1 answer
java 7: should users be aware of changes in heap memory handling?
After installing the latest Java 7 Development Kit (Java SE 7u11) on my Windows 7 Professional 32bit PC with 4Gb RAM, I noticed I can't allocate much memory for Tomcat.
Whereas these memory settings worked for Java Development Kit 6u38:
set…

rvdb
- 319
- 1
- 5
- 14
0
votes
1 answer
Tomcat 7. Images on server. Multiple contexts needed
I have a Rig project that has a Rig.xml deployed inside tomcat and looks as follows.