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
0answers
21 views

Apache Reverse Proxy not passing through POST

today I setup a reverse proxy that goes from port 80->443->8443, which works perfectly. However whenever use a POST request i get an error page. for example, my registry GET page works fine but when i ...
0
votes
0answers
9 views

Logging to a file in Apache Tomcat

I'm running a webapp context in Tomcat and would like to route the output to a text file. <Context path="/book" docBase="/Users/mini/apache-tomcat-9.0.31/webapps/book" reloadable=...
0
votes
1answer
38 views

Cannot connect to Tomcat server from outside network

I cannot connect to my Apache Tomcat server from outside network. I can do a localhost:8080 from a browser and it returns a page. I can also use the internal and public ip addresses and it works - ...
0
votes
1answer
32 views

How to block a port on localhost?

Here's my scenario: I have an Apache load balancer in front of two Tomcats (this is on Windows). Periodically I'd like to ensure that traffic gets routed to a specific Tomcat. Stopping one Tomcat is ...
0
votes
1answer
56 views

tomcat with does start with SSL arguments for JMX

I have Tomcat 8.0.23 (I know, should be upgraded) running on CentOS and I need to set up JMX with authentication and SSL. I am able to connect with SSL and with password through SSL tunnel from my ...
1
vote
1answer
55 views

Keeping the processes running even after exiting SSH to a windows machine

I am connecting to a remote machine through OpenSSH client from Windows 10. It is an Open SSH server installed on Windows server 2016. I usually run tomcat 7 from such ssh session. But, as soon as ...
0
votes
0answers
13 views

How tomcat with Active directory?

We have local web page installed on a tomcat 8, I need to restrict it to a group of users, is there any way to integrate tomcat with Active directory?
0
votes
0answers
14 views

ebextensions no longer running on deploy or reboot under Ubuntu

I'm not super conversant in AWS, but know just enough to get myself into trouble... I have a handful of .ebextensions configs that used to work (for a couple years) but appear to have stopped working ...
0
votes
1answer
108 views

Windows Service rundll32.exe always listening on port8080, even when stopped

I have a problem when i start my Java application by Spring (using tomcat), the port 8080 is allready listening by a service, which is "rundll32.exe", apparently a legitime file from system32, but ...
0
votes
0answers
16 views

Apache-tomcat stops at regular intervals

I need to start tomcat every morning. One thing I suspect is there is a crontab written to clear the Catalina.out at Midnight, does it lead to stopping of tomcat by any means? echo '' > /opt/apache-...
0
votes
1answer
129 views

tomcat-service can't start access denied

I am using Tomcat on a Windows server and faced a problem while updating the tomcat version. The problem is that the assgined user doesn't have the rights to start Tomcat. Here my attempts with ...
0
votes
0answers
21 views

Launch tomcat as service

I have a question, currently my webapp are launched as the service. They have added the webapp in the init.d and all app have an entry in init.d. For me this way is bad So for each webapp I have new ...
1
vote
1answer
53 views

Difference between httpd and tomcat

What is the generic difference between the two processes on a linux box ? I always thought they are the same thing, basically a web server so the users have some ui where they can make requests.
1
vote
1answer
88 views

Restart ea-tomcat85 from crontab

I have written a script to restart tomcat service # timestamp ts=`date +%m-%d-%Y_%H:%M:%S` echo "$ts: Restarting ea-tomcat85..." &>> /home/account_name/restartservice.log ubic restart ea-...
0
votes
0answers
38 views

Tomcat failed to start with JRebel

I can start my Tomcat 9.0.27 without any problems from Eclipse, but when I set the checkbox "Enable JRebel agent" in my server settings, I can't start the server anymore. I only get a prompt: "...
1
vote
1answer
21 views

Tomcat 7 starts up my SSL-secured port without erroring, but is still not publicly accessible. How do I debug this?

At my job I have been tasked with securing a website (http -> https) I am new to this, so forgive me if my terminology is wrong. I've spent the past week setting up Tomcat's keystores and configuring ...
1
vote
1answer
904 views

Apache Guacamole Invalid Login

Very new to Guacamole but I do understand how it works. I'm fairly certain I've installed and configured everything correctly but I am getting an invalid login message when I try to log in, even with ...
0
votes
0answers
26 views

Java Web Application freezes in some client machines, Chrome and Mozilla Browsers

I'm facing a very weird problem. I have a Spring MVC Web application (Tomcat8 and Java8) hosted on Apache Server on Cent Os. There is no issue with majority of the application users. But for some ...
0
votes
0answers
486 views

Oracle APEX Ords restful services

I've got the errors validate ords.war in a test nodes. I have the exact same config for ords_params.properties in another node but one is working. INFO: Error cannot validate ORDS: Error the ...
1
vote
1answer
305 views

sometimes nginx return 501 error

I have a problem that nginx returns 501 error or 200 OK for same requests. I don't know why. I guess nginx doesn't have enough connections for upstream.(I connect nginx and tomcat by reverse proxy. ...
0
votes
0answers
140 views

Java Tomcat heap memory committed always near heap max value

I have a Java 7 web application running behind a Tomcat server. I have noticed that Java's committed memory is always near or exceeds the maximum heap allocated (xmx value). Please see the ...
0
votes
0answers
175 views

Error in build-impl.xml file results in failure of starting of tomcat in netbenas8.0

When i try to run my project in netbeans I am getting this error Starting of Tomcat failed. C:\Users\Rozy\Documents\NetBeansProjects\WebApplication4\nbproject\build-impl.xml:1070: Deployment error: ...
0
votes
1answer
232 views

How to configure Tomcat to use SSL encryption with the private key stored on a remote server?

I want to know if there is a way to configure Tomcat server.xml to use the SSL encryption with a private key stored remotely on a server I can imagine the server configuration would be something like ...
0
votes
0answers
90 views

tomcat server won't start in xampp

hey everybody the problem is tomcat in xampp refuse to start i have jdk 13 and it keep showing me the error : Tomcat Started/Stopped with errors, return code: 1 Make sure you have Java JDK or JRE ...
1
vote
1answer
679 views

Add TomCat to XAMPP installation

Months ago I've instelled XAMPP to my windows 10 computer with only: Apache MySQL but now, I need install TOMCAT. Actually I have 3 projects on my htdocs froder, what would be the best way to add ...
0
votes
0answers
97 views

Missing PID file for tomcat

I want to run tomcat under OpenSuse Linux Leap 15.1. This Linux version is coming with Tomcat version 9.0.21. I am going to run Tomcat under control of the Pacemaker/Corosync cluster management which ...
1
vote
1answer
145 views

Can't find X-Frame-Options in Tomcat 8.0.12

I have Tomcat 8.0.12 installed on a Centos 7 server and I am trying to set the "X-Frame-Options" to tighten security. I do not see it in web.xml or server.xml. Is there somewhere else to set it? Does ...
0
votes
1answer
2k views

Tomcat failed to start on Netbeans

I have a problem with starting Apache Tomcat 9 from Netbeans 11 (on 8.2 version I had the same troubles. Where I used Apache Tomcat 8). What I have tried: Removed quotation marks in catalina.bat. ...
0
votes
1answer
30 views

How to install TLS certificate on tomcat that way so it is able to connect to two-way-ssl application

I'm trying to integrate with webservice that uses two-way ssl. And I need to install the TLS certificate on my tomcat. Tomcat version is 8.5. TLS certificate is in .p12 format.
0
votes
0answers
61 views

trouble in eclipce with tomcat

i want to start tomcat server in eclipse and I got this message: I got this error message in the console sept. 22, 2019 7:55:32 PM org.apache.catalina.startup.VersionLoggerListener log INFOS: ...
0
votes
0answers
6 views

Unable to run Tomcat8 on Ubuntu Server

I tried to install and run Tomcat 8 on an ubuntu server, using the following command: sudo apt-get install tomcat8 - To Install sudo service tomcat8 status - To Check the Status I see tomcat up and ...
0
votes
0answers
68 views

Tomcat 8.5 does not start as a service in a Windows environment within VMWare

I have installed tomcat 8.5 on a windows machine inside a VMWare with OpenJDK11 from AdoptOpenJDK. When I start tomcat from command prompt the server starts up without any issues. However, when I ...
0
votes
1answer
35 views

Tomcat server is not detecting JARs

I am running a Tomcat server for my project. I kept my required JARs in ROOT/WEB-INF/classes. But when I start my server and send some requests, I am getting classNotFoundExceptions. Although, when I ...
0
votes
0answers
11 views

How to run a tomcat7 embedded .war in maven

When I try to run my embedded tomcat server 7 spring MVC program using "mvn tomcat7:run" it is running fine but I can't able to access it from my browser.It is showing 404 error.But When I am running ...
0
votes
1answer
68 views

Tomcat 9 change port number

Could anyone help me to solve this issue? Recently setting up the geo-server for storing the data, did couple research and was told need to change the port number from 8080 to 80 in tomcat because of ...
0
votes
0answers
10 views

ORDS Oracle REST data services sessions

I want to see APEX ORDS active sessions inside tomcat manager, but they are always 0. Tomcat does not see that ORDS has active sessions. I've tested other apps and there is no problem - tomcat shows ...
0
votes
1answer
107 views

Tomcat crashed with unexpected error

Tomcat server crashed with the unexpected error detected by the java virtual machine. And hs_err_pid.log file was also generated during the crash. hs_err_pid log file captured 'V [libjvm.so+...
2
votes
1answer
18 views

How to reset JDPA environmental variable on UBUNTU 18.04?

I set Tomcat debug mode port in Intellij. However, because could not see it running I set it again from the terminal. Since then I cannot run debug at all. I tried to solve by deleting my settings ...
0
votes
0answers
4 views

spring boot Configuring max-sparet-threads

In the spring boot build a microservice, how do I configure my tomcat idle scoker number, I can't configure it in application.yml because he doesn't have max-sparet-threads attribute
0
votes
0answers
384 views

JMX Exporter To Fetch Metrics From Tomcat

I'm trying to fetch metrics from Tomcat service and send them to Prometheus, but I cannot get the number of active sessions. Here is what I did so far: 1. Installed Tomcat and added the following ...
0
votes
1answer
466 views

How to get access to the WEB-INF/views/some.jsp? spring mvc

I successfully deployed my webapp to the Tomcat localhost. My app has 2 pages: localhost:8080/spring-mvc and localhost:8080/home. The first page has a link to the second. When I start my app, it ...
0
votes
0answers
117 views

Apache Tomcat Bad request - invalid hostname

When I installed Tomcat on my laptop it was successfully installed (I think so), but when I type the address localhost:8080 it displays Bad request - Invalid hostname. What should I do for it to run?
0
votes
0answers
9 views

Deploying failure of a war file on Tomcat8 on linux while working well on windows

I have installed tomcat 8 on linux more precisely Debian 9 and I have at the same time my war file which is the output of jenkins , and when deploying this file manually by choosing it in tomcat ...
0
votes
0answers
30 views

Intellij tomcat Input Console

I have a project in Intellij with tomcat server. In this project I have a thread with a localshell who read console input (System.in). In Eclipse I can typing in my console and localshell read system....
0
votes
0answers
173 views

Deploy WebGoat 8.0.0 on External Tomcat

I would like to deploy OWASP WebGoat 8, which is a spring boot multi-module application, on an external tomcat, to make it usable by colleagues. I tried to fiddle a bit with th project poms but i ...
0
votes
0answers
25 views

Java application executed via Windows task scheduler is “sleeping”

We have a java-application (in the form of http-server, Tomcat) on Windows Server 2008, it is started via Windows task scheduler. If no requests are processed during certain time interval the ...
1
vote
2answers
412 views

403 issue in Chrome only

I've been banging my head trying to figure out a 403 issue only with Chrome. I have a application running in tomcat8 and I front it with Nginx. The machine are hosted with a client and I suspect maybe ...
0
votes
0answers
386 views

logrotate not rotating my logs for a specific folder (tomcat)

Instance- CentOS 7 Logrotate version: logrotate 3.8.6 I am rotating my logs using logrotate and it shows the output as: "log does not need rotating (log has been rotated at 2019-7-19 3:43, that is ...
0
votes
0answers
12 views

Users are getting logged out automatically

I need some suggestion on users using EMR (web application) is getting logged out automatically intermittently, it may happen sometime in a week, maybe in two days or in 15 days. My application runs ...
0
votes
0answers
177 views

Deployment on tomcat server (ubuntu)

I deployed the application in my pc, with tomcat (windows). The application was up and running with no problems. I try to deploy on server (ubuntu linux) however it was not so easy. I used a JNDI to ...

1
2 3 4 5 6