Questions tagged [tomcat]

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process.

Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2. Apache Tomcat is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project. To learn more about getting involved, click here.

Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

296 questions
33
votes
4 answers

best practice for access permission to users for apache tomcat

I have a Linux box being shared by various developers. They want to deploy their war files in apache tomcat which in shared location (/opt/tomcat). Since they don't have sudo access, I have to change the folder permission for tomcat directory.…
Kunal
  • 433
24
votes
5 answers

How to make my IP publicly accessible to make my local Tomcat server public?

I'm working on my desktop computer. On this machine I also run Tomcat for my Java development so that I can visit my local address: http://192.168.1.1:8080/myapp Now I go to whatsmyip.com and get my IP lets say it is: 119.56.1.78 Now what I want…
jayesh
  • 351
15
votes
5 answers

Linux services: is there a GUI for services?

I am looking for a GUI program, that shows running services from /etc/init.d (and /etc/init), and allows to manage (start / stop / runlevel) them. What can you recommend? Background: even though I like working with the command line, this could ease…
pwn4g3
  • 325
12
votes
1 answer

Where to find log messages in tomcat7 installed on Amazon EC2?

I have installed Tomcat 7 on an Amazon EC2 running Amazon Linux. I have installed a WAR file on tomcat and I am using java.util.logging for logging messages in my code. Now how to access those log messages in Amazon EC2?
Gaurav Agarwal
  • 921
  • 5
  • 17
  • 30
7
votes
3 answers

How to install several Tomcat instances on Ubuntu?

I need to have two instances of Tomcat 6 running on Ubuntu 10.04. I know it should be doable pretty simply by something like: copy /var/lib/tomcat6 to /var/lib/tomcat6-2 modify ports in /var/lib/tomcat6-2/conf/server.xml copy /etc/init.d/tomcat6 to…
tputkonen
  • 405
6
votes
5 answers

Cannot find /Users/user/tomcat/bin/setclasspath.sh

This file is needed to run this program. I am new to Mac OS X and its terminal. I am installing Apache Tomcat, using steps provided through this URL http://www.editrocket.com/articles/tomcat_mac.html, but when I run sh startup.sh I get the…
Ankit
  • 61
6
votes
6 answers

Tomcat7 Service Cannot Start on Windows 7 Even When It Is Set to Log In as Administrator

I cannot automatically start the Tomcat7 service at startup on my Windows 7 laptop. On restarting Windows, I get the message "Access is Denied. Unable to Open the Service Tomcat7" even though I have the service set to log in as Administrator. I've…
aliahy
  • 395
6
votes
5 answers

Permissions for tomcat 8 service file not working

I'm trying to install tomcat 8 on ubuntu 16.04. This is the guide I'm following: https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 The basic idea is that you're supposed to create an additional user…
5
votes
1 answer

How to free a port on OS X when lsof(1) reports that it is not in use

I am a developer working in OS X on Eclipse. A bug I have been working to fix in a web application results in some very strange behavior when resetting an instance of Tomcat, resulting in the following error message upon forcing a shutdown and…
javanix
  • 1,389
5
votes
4 answers

How to setup Apache Tomcat on OS X?

I'm trying to setup Apache Tomcat 7 for some work. I need to get it done, but I think I've setup things incorrectly. What is the right way? I'm using NetBeans, and have set the install directory for the server in the Netbeans folder under…
T145
  • 201
5
votes
1 answer

/manager/html in tomcat installation not accessible

I just installed tomcat 6 in Debian 6 with the apt-get: apt-get install tomcat6 tomcat6-common tomcat6-docs tomcat6-admin tomcat6-user After that, http://localhost:8080 is accessible without any problems, also the jsp and servlet examples run as…
4
votes
0 answers

Proxies, Apache, Tomcat - VHosts

I have a setup as so: Internet -- router -[DMZ]- pfsense -- webserver router =jenky plastic cheap-o router (my nice mikrotik/routerboard died). Has ip address of pfsense set to DMZ. pfsense =doing basic firewalling plus proxy/reverse-proxy. The…
SnakeDoc
  • 693
4
votes
2 answers

How to reset admin password in Tomcat?

I want to use the status manager on my local installation of Tomcat 7 but it asks for a password and I can't recall what it is. How do I reset it without reinstalling?
Sled
  • 412
4
votes
1 answer

Why is my "catalina.out" 500MB big?

I noticed that my catalina.out in /var/log/tomcat is this big... why? How do I avoid this?
user19203
  • 181
4
votes
1 answer

SSL - how to trust localhost in Chrome?

In this previous question, SSL in Tomcat 7, I worked out how to get IE to trust a localhost certificate from my local Tomcat. That's ok for IE, but Chrome still doesn't trust it: I understand that Chrome just uses the same certificate store as IE,…
1
2 3
19 20