Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
14 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 ...
0
votes
0answers
6 views

Empty Stylesheet Using Vaadin Valo

I'm having a problem using Vaadin (in Eclipse) and its associated styling engine Valo, and the TouchKit package. I mention all of these because I'm not sure which, if any, is causing the problem. The ...
0
votes
1answer
56 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 ...
0
votes
1answer
22 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 ...
1
vote
0answers
26 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
10 views

Why does STS cannot add tomcat 7 as application server?

I have installed STS Version: 3.6.2.RELEASE(eclipse build) I am trying to add tomcat 7 as application server: But I cannot click next button. If I chose tomcat 8 - I can click. But I have only ...
0
votes
0answers
4 views

Pressing 'run' button for Tomcat in Intellij does nothing.

I have previously set up my Intellij project to use Tomcat and everything was working fine. However, something broke and now when I press the Run button for Tomcat, nothing happens. No messages ...
1
vote
1answer
23 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 ...
0
votes
0answers
66 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 ...
0
votes
0answers
19 views

TomCat(Apache) - Bitcoin Miner (.war?) - How to install

Basically I have a Tomcat server which hash's 2000 Khs CPU mining power (yes I know about the electric costs) I just want to try it out is there anyway I can install a Bitcoin miner or just a ...
0
votes
1answer
27 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 ...
0
votes
0answers
27 views

Port tunneling from windows machine to Tomcat on AWS for Jvisuamvm

I have an tomcat server running on AWS EC2 instance. To profile my application sitting on this tomcat server, I am trying to use jvisualvm tool provided by JDK. I am taking the help of this tutorial ...
0
votes
0answers
37 views

how to read file from different directory through jsp in centos

i am on centos 6 and created a jsp project on the directory /root/NetBeans/MyProject/ and my jsp page is on /root/NetBeans/MyProject/web/mypage.jsp My problem is that i want to access a sound file ...
0
votes
0answers
11 views

How can I edit startup items on ubuntu server using grub or external shell of some sort?

I have made some changes to my ubuntu server and now it won't boot. It hangs on starting tomcat servlet engine tomcat?. I don't actually use tomcat and accidentally enabled it while I was hastily ...
0
votes
0answers
24 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 ...
0
votes
1answer
78 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 ...
0
votes
0answers
26 views

Running Tomcat without Netbeans in Ubuntu 12.04

Few months back, I installed Netbeans 7.4 bundled together with Tomcat 7.0.41. I've always run my Tomcat server through Netbeans by running the project. How can I run this Tomcat server without ...
0
votes
1answer
340 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 ...
0
votes
0answers
41 views

Can I deploy multiple apps pointing to different domain names in one vps?

I plan on buying a vps from digital ocean with the intent of deploying web apps on it. I have deployed multiple apps(usually grails apps) before and I'm deploying them on Tomcat and they always point ...
0
votes
1answer
169 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 ...
0
votes
0answers
118 views

How do I set up YouTrack on our dev server so that we can all access it?

I have installed JetBrains YouTrack on our dev server, to listen on port 8585. On that server, the URL http://localhost:8585 brings up YouTrack nicely. Yet, if I work on my own desktop, and enter the ...
0
votes
0answers
46 views

Where to put dependencies for tomcat lifecycle listener?

I have a tomcat instance with a custom lifecycle listener (mule), and a complex application (jira). Mule have several jars as dependencies, and they are loaded by common.loader. Jira also have a lot ...
2
votes
1answer
206 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 ...
0
votes
1answer
355 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 ...
0
votes
0answers
12 views

Tomcat 5 keeps jumping between threads for no reason

I have Tomcat 5 server running on Windows Server 2003 with JDK 1.6.03 hosting one custom made webapp. App worked fine, but some time ago it started hanging for no reason. I connected via JMX and ...
1
vote
1answer
74 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 ...
0
votes
1answer
426 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 ...
0
votes
1answer
409 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 ...
1
vote
1answer
33 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 ...
0
votes
2answers
91 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 ...
0
votes
0answers
89 views

Have Tomcat set the correct group permissions on files it creates

I've got a number of Tomcat instances setup on my server. It's a single tomcat installation configured with the standard tomcat user and tomcat group. I've setup a number of different CATALINE_BASE ...
1
vote
4answers
815 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 ...
0
votes
0answers
101 views

Running a Tomcat 6 with java 6 (1.6.0_39) on CentOS as limited user

The problem is binding to ports under 1024 with a non-root user. I've tried authbind, but it does not support multithreading, and our App spawn multiple threads, and some failed to bind ports. I've ...
0
votes
0answers
23 views

Get response when user downloads or cancels file from server

I click on download button, prompt appears - Save , Open, Cancel. I want the response at server whether user has cancelled the download. I am deleting file once downloaded. I want to keep file if not ...
0
votes
0answers
502 views

How to integration of Tomcat and Apache through mod_jk

On http://site.local/java/ need to execute jsp. apt-get update & apt-get upgrade apt-get install sun-java6-jdk \ tomcat6 tomcat6-admin tomcat6-common \ ...
1
vote
1answer
55 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
1k 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 ...
1
vote
0answers
32 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 ...
0
votes
1answer
508 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 ...
0
votes
0answers
73 views

httpd.conf - DocumentRoot and JkMount for /?

If i define a VirtualHost like this: <VirtualHost 127.0.0.1:80> DocumentRoot / ServerName localhost JkMount /* node1 </VirtualHost> Do i in real need to have a DocumentRoot?
2
votes
3answers
581 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 ...
0
votes
0answers
116 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 ...
0
votes
1answer
917 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 ...
0
votes
0answers
51 views

Getting error while starting tomcat?

For my Tomcat installation process case is 1. cd /home/mpatil/Downloads/ 2. tar zxvf apache-tomcat-6.0.37.tar.gz 3. cd apache-tomcat-6.0.37/bin 4. ./startup.sh 5. tail -f ...
-1
votes
1answer
58 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 ...
0
votes
1answer
3k 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 ...
0
votes
1answer
1k views

SSL in tomcat with apr and Centos 6

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 ...
0
votes
1answer
30 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 ...