Questions tagged [tomcat]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
14k views

How to set CATALINA_HOME in Windows 7 command line?

After installing Tomcat on Windows 7, I would like to start Tomcat in the command line instead of using tomcat7.exe from the folder (Windows GUI). Tomcat is installed under C:\opt\Tomcat7. Added ...
LPGA's user avatar
  • 3
0 votes
1 answer
231 views

change port no on which tomcat is installed in ubuntu using SSH

I am accessing an Ubuntu instance through SSH, I installed tomcat7 on it. By default installed on port 8080. I need to install on port 9090, is there a way to change the port? Or how to install tomcat ...
Anil Bhaskar's user avatar
0 votes
0 answers
768 views

how to configure nginx to dispatch request to index.html and tomcat server?

I'm new to nginx configuration. There are a static HTML file: index.html and a tomcat server for dynamic pages. I want: When access http://example.com/ or http://example.com/index.html, the static ...
ShenLei's user avatar
  • 333
1 vote
0 answers
3k views

Tomcat startup failure with no error output in log that I can find

Sorry, this is long, here is a brief summary: I installed tomcat7 on an Ubuntu 14.04 VPS, it worked (serving the "tomcat was installed" page) until I changed the group owning /etc/tomcat7 to tomcat7 (...
Anachronomer's user avatar
2 votes
1 answer
2k views

How to make my local tomcat server accessible to www?

So I have my "Hello World" Java project, using Intellij Idea, tomcat 7 is running. OS Windows 7. When I go to http://localhost:8080/ from my PC, it works fine. Now, I want the world to see my creation....
Kolos's user avatar
  • 171
1 vote
1 answer
408 views

How do two users start/stop a service? eg: Tomcat

I found a big problem with sharing management of tomcat server. Eg: There are 2 Linux accounts (ua & ub) both in charge of start/stop certain tomcat server. ua: Start tomcat server with ...
ShenLei's user avatar
  • 333
0 votes
1 answer
162 views

Testing in tomcat when it is running multiple applications

I am new to java. I am currently working on a web application where tomcat has to load about 24 web applications for the whole thing to function. The problem I am facing is that every time I make a ...
Foo's user avatar
  • 269
0 votes
1 answer
315 views

How to disable SSLv3 for POODLE attack

I want to Disable SSLv3 to restrict the POODLE attack on my website My website is hosted on Microsoft Windows Server 2003 System I am using Apache Tomcat as an application server with thee version ...
Utkarsh Bhatt's user avatar
1 vote
1 answer
975 views

Can't connect to tomcat7 from public ip

I posted this question on stackoverflow and was recommended to ask here instead. I've been struggling with this issue for the past two days and am hoping someone here can help me out. I have a ...
Mitch's user avatar
  • 111
1 vote
1 answer
3k views

Guacamole, Tomcat, HTTPS-setup fails due to issues with certification

I'm using guacamole (http://guac-dev.org/) to access (parts of) my home (Debian) computer clientless, on the go. From my work computer (University Network) the screen is however not updating and only ...
sheß's user avatar
  • 75
3 votes
2 answers
22k views

How do I run Tomcat service as a specific user in Windows?

I needed to do this so that Tomcat could take advantage of some Active Directory stuff, and it took a lot of searching to get all the niggly bits sorted. Hopefully if I answer my own question here, it ...
Nobbynob Littlun's user avatar
0 votes
1 answer
2k views

I want to host my website from my home network

I want host my simple HTML site on my home network using Apache Tomcat 7 I have domain which is perfectely pointing to my router's IP Address I did forward my port (Router Port) Like below Screen ...
MRX's user avatar
  • 101
0 votes
1 answer
260 views

What is the difference between using "nbtstat -a IP" and "getmac /s IP"?

when trying to retrieve the MAC of a remote client connecting to a tomcat server running in a intranet, I would like to know which of these two is more suitable for this scenario. running nbtstat has ...
Raja Siddharth's user avatar
2 votes
0 answers
572 views

Chrome cache protocol: avoid too many redirects

I have a server running apache on http (port 80) and https (port 8443). On the same server I have tomcat running https (port 443) I want to disable https 8443 port on apache server, using only port ...
gipinani's user avatar
  • 131
0 votes
0 answers
2k views

Port forward not working for accessing Tomcat

I have an app running locally on Tomcat that I can access using : http://192.168.192.24:8080/findit/table.html However when I use : http://mypublic-ip-address:8080/findit/table.html I receive ...
blue-sky's user avatar
  • 629
1 vote
1 answer
59 views

IIS and tomcat site

Im new at IIS 7.5, so my I need some help. I have tomcat web server at my server, on this tomcat i have working app which is available at http://my_domain_name.com:8008/some_war. Due to a lot of ...
Java Dude's user avatar
  • 115
0 votes
0 answers
1k views

Tomcat6 - SSL received a record that exceeded the maximum permissible length

After following the instructions to setup a secure http connection on my tomcat server (link: https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html), I had this error pop up when I requested https://...
SalmonKiller's user avatar
0 votes
1 answer
190 views

pdftk under Tomcat - permissions for generated report file

I have a server with Ubuntu 12.04 and I have a Servlet under tomcat that is used to split PDF files. When the file is uploaded to the Servlet, It opens an external process (using commons-exec) and ...
user avatar
0 votes
0 answers
183 views

Need to source bash_profile each time

I have get a server space that runs linux. A user is created for me. I have a bash_profile in my home directory and I set environment variables for JAVA_HOME and JAVA. When I access server through ...
bula's user avatar
  • 141
0 votes
1 answer
3k views

HAProxy to handle multiple application subfolders in the same port

I have one application running on tomcat port 8086, and also Haproxy acting as a web server, I can load the application by going to IP/appname but this application has 3 different folders. I need to ...
Javier Gamarra's user avatar
1 vote
1 answer
3k views

Tomcat & Java not listening on IPv6 [closed]

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
j0hny's user avatar
  • 139
1 vote
1 answer
3k views

Run startup script with another user

I have two users user1 and user2. And tomcat has owenership of user1 and started with user1 only. I need to make a rule for user2 such that user2 can starts/stop tomcat but tomcat should always be ...
newbie17's user avatar
  • 357
2 votes
1 answer
993 views

How to get the OpenSSL version in a Tomcat 6 installation

After reading the below mentioned article I understand that it is a good practice to check which version of OpenSSL Tomcat is using. https://wiki.apache.org/tomcat/Security/Heartbleed In the article ...
Ziba Leah's user avatar
  • 133
0 votes
1 answer
4k views

accessing remote server with name instead of ip address and port number

I have question regarding accessing my web application with some name,which is deployed on remote server. Currently, I using following URL http://160.110.67.181:8080/myapp So, I'm wondering ...
cool_ravi's user avatar
  • 101
1 vote
1 answer
739 views

what does =~ in linux means used in if condition to compare values

Actually tomcat/conf/catalina.properties file contains line shared.loader=/usr/share/sfit/conf I mean value has some path. so using shell script we are updating shared.loader values in file. And also ...
user2783146's user avatar
0 votes
1 answer
3k views

Unable to stop tomcat server

I have Tomcat 7 running on a virtual machine running Linux. I started Tomcat as foreground process using a script and don’t know how to stop it. I have tried stop, restart, start but all of the are ...
yousafsajjad's user avatar
1 vote
1 answer
8k views

Best way to view tomcat logs from web

There is a tomcat installation. There is need to view its logs (catalina.out and maybe some more) through web. There is a way to set up apache webserver to look into folder and return logs as ...
Andrey Regentov's user avatar
1 vote
1 answer
80 views

Tomcat not being reloaded in Linux

I am using Fedora 19 and using Apache Tomcat for running servlet programs. I had some problems which I traced to the fact that once I made any changes to my program and recompiled, I had to restart ...
iammurtaza's user avatar
0 votes
2 answers
407 views

Installing TOMCAT on Debian without apt-get

I have access to a machine on a scientific hpc, and I'm setting up an environemnt to create a web application, made up basically of TOMCAT and postgresql. I cannot use another web server. The OS is ...
Daniele B's user avatar
  • 227
4 votes
4 answers
8k views

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 ...
T145's user avatar
  • 191
1 vote
1 answer
1k views

SSL not work for virtual IP

I have a website which was deployed with three real web servers and a load balancer with a virtual IP. I have applied an SSL certificate from a CA and imported to Tomcat using OpenSSL using the ...
fanchyna's user avatar
  • 151
0 votes
1 answer
44 views

Is there .exe package of apache tomcat somewhere?

I only see binary packages on apache website. Where can I find windows installer? I downloaded old version from some user of code.google.com, but that's definitely not the way they distribute it. I ...
jeefo88's user avatar
  • 31
1 vote
1 answer
3k views

Ubuntu: Tomcat upstart script. Logs end up in upstart log

I have a simple upstart script for tomcat. Here is the chef template: description "Tomcat Server" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 # run as non ...
Joe's user avatar
  • 13
2 votes
0 answers
128 views

How to install tomcat-native without need to install development utils

I am using tomcat on a RHEL machine. When starting tomcat, i get the following warning: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments ...
andre's user avatar
  • 21
0 votes
1 answer
1k views

Starting tomcat error

Starting Tomcat servlet engine tomcat7 [fail] CATALINA.LOG > Nov 26, 2013 9:02:09 AM org.apache.catalina.core.AprLifecycleListener > init INFO: The APR based Apache Tomcat Native library ...
user2361682's user avatar
3 votes
3 answers
2k views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state information......
user2361682's user avatar
0 votes
0 answers
503 views

iptables messing up Tomcat?

I encountered the following problem(s) using Tomcat 7 with iptables on. 1) Namely, there's this Tomcat 7 instance that I run on server-1 (directly exposed), and this Tomcat instance hosts a REST ...
Less's user avatar
  • 158
0 votes
1 answer
3k views

running multiple instances of tomcat on Centos

On Centos 6.4, I am trying to run multiple instances of tomcat based on this tutorial: http://www.openlogic.com/wazi/bid/188102/ in order to illustrate the problem, I copy the default configuration to ...
David Portabella's user avatar
-1 votes
1 answer
96 views

Does anyone know of a good StackOverflow/Bulletin type program for Java/Tomcat? [closed]

I am making a website for my school that is going to house a lot of data about: Dining Hall Foods Sports News & Rosters University Events I also wanted to see if I could try and add a Q&A(or ...
Sempus's user avatar
  • 119
1 vote
1 answer
22k views

can not change file permission even with root

Below is my problem , i am using Amazon linux AMI and there is a directory(Tomcat's webapps). when i try to remove that directory that says permission denied. How So? [root@ip-10-62-71-179 ...
Sachin Verma's user avatar
1 vote
1 answer
4k views

SSL in Tomcat with APR and CentOS 6 not working as expected

I'm facing a problem setting up my Tomcat with apr native lib, I have the following: Tomcat: 7.0.42 Java: 1.7.0_40-b43 OS: Centos 6.4 (2.6.32-358.18.1.el6.i686) APR: 1.3.9 Native lib: 1.1.27 OpenSSL: ...
nighter's user avatar
  • 71
0 votes
1 answer
40 views

Possible problems that may occur in CENTOS? [closed]

I have developed an application on fedora 13 that works fine. The dependencies of this application are jre 1.6.0_26,tomcat webserver 6.0.18 and mysql 14.12 distrib 5.0.67.Now we need to extend the ...
user260487's user avatar
0 votes
1 answer
399 views

Apache http server allow, deny

I am using apache http server 2.4.4 for load balancing purpose along with tomcat 7.0. I have hosted 2 applications under my tomcat for e.g. app1 and app2. What I want to achieve is for app1 I want ...
Priyank Thakkar's user avatar
0 votes
1 answer
94 views

How to enable SSL on Tomcat

I have a license server that is running Tomcat. I have been asked to enable SSL and I am clueless as where to start. I have the following files: FQDM.csr FQDM.key FQDM.crt FQDM.pkcs7 Outside of the ....
Gregory Ramos's user avatar
0 votes
1 answer
3k views

What does catalina_service.bat do?

Are installing XAMPP, there are three files related to catalina in the main folder: catalina_start.bat catalina_service.bat catalina_stop.bat I understand that catalina_start and catalina_stop ...
Pacerier's user avatar
  • 27.3k
3 votes
2 answers
32k views

We can't access to jenkins from anywhere

We have just installed Jenkins on our server (Debian 7 wheezy). It works on local network, but not on extern network. We search but we don't find any workaround for this problem. We can ping our ...
fische's user avatar
  • 31
0 votes
1 answer
2k views

Pages don't load after installing a certificate on tomcat, restart required

I posted this question before but not in the correct forum. I have configured tomcat7 to use SSL and have made it point to a keystore. The keystore has a self signed certificate by default. There are ...
The Governor's user avatar
33 votes
4 answers
132k views

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 ...
Kunal's user avatar
  • 433
0 votes
1 answer
3k views

How to redirect HTTP request on HTTPS port?

On a simple Tomcat 7 installation with HTTPS, sending an HTTP request on the HTTPS port returns a strange response of three control characters: $ wget -q -S -O - http://127.0.0.1:8443/ ^U^C^@ [I ...
Miserable Variable's user avatar
2 votes
1 answer
2k views

Linux command line: Kill vs Kill -9?

So I've set up some shell scripts to auto-deploy a fresh war file to a tomcat server. I call the shellscript to stop tomcat (shutdown.sh), and then I kill the catalina PID, however I've noticed that ...
user avatar