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

learn more… | top users | synonyms

0
votes
0answers
3 views

Wait tomcat startup until jprofiler start

How do we hold tomcat startup until jprofiler connect? I wanted to see how CPU is changing during tomcat startup. But when I connect to the tomcat process using jprofiler, tomcat startup is finished.
0
votes
0answers
16 views

AWS Bitnami Tomcat Stack: Connection refused on :8080

I installed KIE Server and Drools Workbench following this tutorial on an AWS EC2 instance based on a ready to use Apache Tomcat stack by Bitnami. The installation went well and so I'm able to start ...
0
votes
1answer
32 views

Difficulty getting /etc/rc.d/init.d tomcat startup script working

I have the following startup script that on reboot does not bring up tomcat: #!/bin/bash # # description: Apache Tomcat init script # processname: tomcat # chkconfig: 234 20 80 # ### BEGIN INIT INFO #...
1
vote
1answer
47 views

How do I stop Tomcat / rsyslog from logging to console?

At my work someone once setup Tomcat to log to syslog. The problem is that these messages also get sent to the console. The system is RHEL6, these are the involved RPM's rsyslog-5.8.10-10.el6_6....
0
votes
0answers
9 views

Tomcat filter against certain URLs

I'm deploying an application using Tomcat8 and I'm trying to apply some security restrictions. The restrictions are to deny all users some defined paths, for example: http://myapplication/page1 ...
0
votes
0answers
18 views

Docker Clustering multiple proxies fronting multiple tomcats

I want to move a cluster of application servers fronted by proxies to a Kubernetes Docker environment. We now have a failover crossed clustering like cluster and we are using sticky sessions to limit ...
1
vote
2answers
60 views

how to see which process is using which port in windows 8

I am trying to start the Tomcat server at my pc by eclipse. But it is showing the following message Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already in use. ...
0
votes
0answers
14 views

Unable to connect NGINX to Tomcat Server

I have Nginx Server running on port 80 and and Tomcat Service is running on port 8080. I followed some of the tutorials for setting Nginx as proxy server but getting 502 Bad Gateway. I have created a ...
0
votes
0answers
49 views

Edit server.xml and get “This site can’t be reached” IP “refused to connect” error

I literally added a period(.) in the tomcat/conf/server.xml file, restarted Tomcat, and got the above error. That was expected.. But after I remove the period, save and restart Tomcat, the error ...
0
votes
0answers
47 views

RHEL 7 - tomcat start and stop as a 'tomcat' user vs 'root' user

In RHEL 7, I could start apache tomcat using the following command as a tomcat user /usr/sbin/tomcat-sysd start However, when I tried to stop apache tomcat as a root user using systemd using the ...
0
votes
0answers
42 views

Tomcat and Jetty only work once in Windows and then crash

I've had a series of issues with both SparkJava and SpringMVC's embedded servers in my Windows 7 installation. These two web frameworks use Jetty and Tomcat respectively as embedded web servers. ...
0
votes
0answers
70 views

Tomcat 7 has high cpu usage then fails when run as windows service

I put a ROOT.war in the webapps folder and tried to run the windows tomcat 7 service, but after starting it, it just hangs, spikes its cpu usage and then stops. There's nothing about the crash in the ...
0
votes
0answers
36 views

Tomcat do not reload conf\Catalina\localhost\ for one app

Environment: Windows 2008 server When I make a change to the file %TOMCAT_HOME\webapps\myapps1\META-INF\context.xml, the file %TOMCAT_HOME\conf\Catalina\localhost\myapps1.xml does not include this ...
0
votes
1answer
53 views

How to start a server via Jenkins without outputting the server trace in the Jenkins console?

I have written a windows batch script to start an apache tomcat server via Jenkins. When the server starts to run, server trace is shown in the Jenkins console. But all on a sudden the window of the ...
0
votes
0answers
70 views

Install Saiku CE (Tomcat web app) as a Windows Service

I have downloaded Saiku CE. It's an WEB app that runs under tomcat. The downloadable version comes with a preconfigured instance of tomcat, and when I fire the server with catalina.bat everything ...
0
votes
1answer
30 views

Can I set a process name for my tomcats on CentOS ?

I have several tomcats running on my centos. If I try "top", all of them are shown as "java" . Is there anyway, such as changing the catalin.sh, that I can make each of the tomcat has its own name ...
3
votes
3answers
719 views

Cannot delete directory on Ubuntu 14.04.3 LTS

As you can see below the root user cannot remove myapp directory but can write and delete files in this directory. The filesystem is ext4. Is this a filesystem issue? Do you have any ideas on it? ...
-1
votes
1answer
45 views

Trying to make Tomcat 7 work on a machine locally, with no network connection

What I'm trying to do is run Tomcat on a machine, and to use it locally. The machine will not have a network connection, no network adapter. When I try to navigate to localhost or 127.0.0.1 I just ...
0
votes
0answers
5 views

Starting Tomcat as a service in Mac

Just like I can start tomcat 8 as a service in Windows, is there anything like that where I can start the tomcat as a service in Mac? I know the command line way of starting the tomcat in mac but not ...
0
votes
0answers
16 views

Context path configuration in Apache tomcat 8.0.30

I currently have an apache tomcat application running on my machine. I need to make this application accessible over an external URL. I can access the application locally at http://localhost/c. I ...
0
votes
1answer
96 views

CSRF Token getting lost

I have a Tomcat on which my application is running and now I am trying to configure an Apache as reverse proxy. I am doing this because I want to add a few headers to the requests I receive from a few ...
0
votes
0answers
12 views

Changing the way I run tomcat

So far I have been running the tomcat using command line by going into bin directory and running catalina jpda start for debug mode. But recently I installed tomcat as a Windows service and started it ...
1
vote
0answers
459 views

tomcat 8 as windows service

I have installed Tomcat as a Windows service and I can see it in Windows Service section of my computer. I followed the stems as shown in the screenshot below: I want to perform the following step ...
0
votes
1answer
20 views

Centos 7 - Tomcat matter

I just installed tomcat on to my web server, and i've got a little question to ask. If i create a java servlet into my www directory, will it get executed by tomcat, or do i need to place it in a ...
0
votes
0answers
454 views

Add Tomcat 8 Server to Eclipse Mars in Ubuntu

I followed this tutorial to install tomcat 8 on my Ubuntu 14.04. As you can see, tomcat is not run on the root user but on another user tomcat. My eclipse Mars is installed on the root user. But when ...
0
votes
1answer
461 views

CentOs 7.1 - Install Tomcat 8

I am using this tutorial as a setup reference to getting a Tomcat 8 running on CentOs 7.1, but after typing: [root@localhost tomcat]# sudo systemctl start tomcat I get the error: Job for tomcat....
1
vote
0answers
259 views

Keycloak invalid_redirect_uri

am adding SSO on a sample application within tomcat 7 Added jars to tomcat lib, valve to the application meta-inf/context.xml and sample keycloak-saml.xml within the WEB-INF as per the guide My ...
0
votes
2answers
111 views

Strange error from Easy Tomcat 7 connecting to MySQL database

I'm fairly new to Java servlet and web app development, but this is puzzling. I have built a project in Eclipse (Mars) that consists mostly of static HTML pages with one JSP that contains a form that ...
0
votes
0answers
89 views

Run Apache http, Apache tomcat and nodejs on same port

I'm a web developer and for a project I need to run tomcat and nodejs without using port. I've seen some posts about proxy module in httpd, so I've created two virtual hosts as follow : <...
0
votes
0answers
17 views

LB to tomcat SSL offloading

We are offloading the https traffic at load balancer (Hardware based) and redirect to tomcat on http port. We are noticing the second redirect that happens from tomcat is happening on http protocol ...
0
votes
1answer
315 views

Cannot open port 443 on modem

I'm developing a website, which requires an https connection because of the login system. I opened my Tomcat's Connector on port 443 and connecting through https://localhost works well, but i need it ...
0
votes
2answers
138 views

Is it possible to hot swap a single class manually with Tomcat?

Is it possible to reload a single class manually with Tomcat 8 without having to restart the server? This is for a production environment that I'm talking about, so I don't want to use the reloadable ...
0
votes
0answers
93 views

Run Tomcat in exe startup mode

I'm configuring Tomcat to run as a service and I wanted to know what is an exe startup mode and what should I specify in image path field, should it be a java executable or Tomcat.exe? I tried both ...
0
votes
0answers
783 views

Unable to connect to sql server 2012 with SSL encryption enabled using sqljdbc4

I am trying to connect my web application to SQL server 2012 with SSL encryption enabled using sqljdbc4 but i get the below error : com.microsoft.sqlserver.jdbc.SQLServerException: The driver ...
3
votes
1answer
60 views

Saving as PDF differences from one PC to another using Remote Desktop Connection

I have a VM running Windows Server 2008 and there is a web application deployed on a Tomcat instance that is installed on that machine. Tomcat is configured to run as a service on behalf the local ...
1
vote
1answer
47 views

How to open tomcat project from virtualbox guest?

I have a tomcat (Liferay) project, up and running on my Ubuntu laptop. So, I wanted to be able to run it on virutualbox guest. I created the virtual machine,deployed the files and now it's up and ...
1
vote
0answers
843 views

How to uninstall Tomcat from MAC OS X

I have tomcat installed in my MAC 10.10.5 It was running fine on first installation. After that I have changed some configuration and now I am not able to see localhost:8080 I am using ./bin/...
0
votes
0answers
8 views

Tomcat Context Issue

I have Tomcat installed where I'm currently hosting 2 websites. I have context1 and context2 within the same Tomcat App Container. Now I'm facing issues with context2 but context1 is working fine ...
0
votes
0answers
214 views

Multiple webapps with Tomcat 7 only results in “It works” page

I'm not able to get the correct webapp requested for my domain. I would like to have the webapp beside the ROOT webapp in /var/lib/tomcat7/webapps. Here's my /etc/tomcat7/server.xml: <?xml ...
0
votes
0answers
143 views

Cannot start Tomcat server from Mac terminal?

I am trying to start the Tomcat server on my Mac. When I navigate to the bin folder, the startup.sh file is there but when I try to run it, it says the file doesn't exist: quickCoder-MacBook-Air:bin ...
0
votes
1answer
293 views

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 ...
1
vote
1answer
210 views

Use Tomcat's “endorsed” directory for JDBC implementation jar?

Our vendor recommends to place the MySQL JDBC jar into the Tomcat 6 "$CATALINA_HOME/endorsed" directory. It is unclear to me what the purpose of that recommendation is. The Classloader Howto for ...
0
votes
1answer
56 views

Why does this bash file stop my tomcat if the session closes?

The following bash script starts an Apache Tomcat and tails the log file to the screen: #!/bin/bash ~/tomcats/TC1_8083/bin/startup.sh tail -f ~/tomcats/TC1_8083/logs/catalina.out If I CTRL-C the ...
0
votes
1answer
170 views

How to daisy chain two web (Apache) servers with one in DMZ and the other in secure zone?

I need to daisy chain two Apache servers for following reason. A server-side application is compiled as a CGI module. It needs to work with databases, which are in secure zones behind firewalls. That ...
1
vote
1answer
132 views

Remove version information from maven generated war file

I am trying to automate the deployment of war files that are generated by our build server using maven. I need to be able to extract the project name from the war filename so I can rename the file ...
0
votes
1answer
204 views

How to stop the Spring Source TC server on my Windows 7 system

Today on Windows 7 system when I hit localhost:8080 in my browser I saw SpringSource tc Server running, quite unexpectedly. Here is the message that I found. As you may have guessed by now, this ...
1
vote
2answers
337 views

apache-tomcat-8.0.22; Error occurred in initializing VM java.lang.NoClassDefFoundError : java/lang/Object

I have reinstalled JRE with latest version JRE1.8.0_45 . Whenever I try to run Tomcat :startup.bat this error occurs . Installation of JRE done with Oracle online installer and was perfect. ...
0
votes
1answer
95 views

Jira, Tomcat and JBoss behind Apache

I need to install these environment in the same machine. Jira : ( installer, port: 8080, tomcat-jira) Tomcat : ( tomcat for other applications, port: 8084 ) JBoss : ( port: 8086 ) Apache2: (as a ...
1
vote
2answers
412 views

tomcat8w.exe not in 'notification area' / and sometimes is in 'notification area'

Using Java8/64 and Tomcat8/64 on Windows Server 2008 R2. On one server, the 'tomcat8w.exe' shows up in the notification area, and I can use it from there to start/stop/configure. On two other exact ...
0
votes
1answer
59 views

CPU usage in Apache Tomcat

I had a query regarding Tomcat's CPU usage, I'm using it for J2EE applications. While experimenting with applications deployments on Tomcat I see that # of applications deployed is directly ...