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

learn more… | top users | synonyms

0
votes
0answers
20 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
25 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
28 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
20 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
0answers
21 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
27 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
16 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
654 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
34 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
11 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
45 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
10 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
178 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
19 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
308 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
222 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 ...
0
votes
0answers
169 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
86 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
74 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
15 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
169 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
54 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
55 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
499 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
57 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
18 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
576 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 ...
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
154 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
96 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
225 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 ...
0
votes
0answers
139 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
48 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
0answers
37 views

Rename Tomcat7.exe for different instances?

I'm running JIRA and Confluence on the same server. Both show up in the task manager as Tomcat7.exe. I'm planning to write a monitoring script to restart the appropriate services if the tasks crash. ...
0
votes
1answer
119 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 ...
0
votes
1answer
110 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
152 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
290 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
81 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
325 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
0answers
14 views

how to run kill command in windows from batch file without Right-Click selection [duplicate]

I am trying to embed a DOS command in my tomcat batch file. the command is `taskkill /f /im java.exe I want to embed this into tomcat's shutdown batch file. Without right-clicking and running the ...
0
votes
1answer
53 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 ...
0
votes
0answers
79 views

Why Tomcat is Killed?

In Linux system which is an host account, Tomcat is Killed after start up and sometime middle of start up, it happens automatically. No log is shown, just Killed message is displayed. What could be ...
0
votes
1answer
3k 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 ...
0
votes
1answer
80 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 ...
0
votes
0answers
189 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://xxx/ or http://xxx/index.html, the static index.html file ...
1
vote
0answers
920 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 ...
2
votes
0answers
136 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 ...
1
vote
1answer
93 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 ...