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
6 views

How can I stop\start Tomcat service installed on this CentOS 7 machine?

I am not so into system administration (I am more a software developer) and I have the following problem. A client give me a Centos 7 machine where Tomcat is up and running. If I open http://SERVER_IP:...
2
votes
2answers
38 views

Tomcat 400 Bad Request: How to accept < (less than sign) on URI?

When I send this request to Tomcat it is working http://example.org/?foo=%3Cbar/%3E But this one gives "400 Bad Request" http://example.org/?foo=<bar/> I do know that the request is ...
0
votes
0answers
31 views

Tomcat running on CentOS being killed

I'm running Tomcat 9 on CentOS 7 and Tomcat is being killed and I can't find any logs indicating why. In the past, it was being killed due to being out of memory. Unfortunately, I can't remember where ...
0
votes
1answer
102 views

Apache tomcat 9 SSL connector: have to manually write https:// the first attempt on a browser

thanks in advance for any help. I've set up an apache tomcat 9 environment to access my site with an SSL certificate. The issue is that I need it to be able to access to the site by just typing in the ...
0
votes
0answers
39 views

How to set CATALINA_OPTS when using Tomcat 9 in NetBeans 12?

My web application requires oracle.jdbc.autoCommitSpcCompliant=false and file.encoding=utf-8. When running Tomcat 9 on Linux, I use export CATALINA_OPT="-Doracle.jdbc.autoCommitSpcCompliant=...
0
votes
0answers
65 views

Tomcat does not find servlet based on urlPatterns definition

When a browser form requests a servlet, TomCat shows the message HTTP Status 404, with the following explanation: "Type Status Report Message The requested resource [/Conversao/convert] is not ...
0
votes
1answer
188 views

Change default path for VS Code workspace files [workspaceStorage]?

I am desperately trying to debug a Java Tomcat application, run in a local network of an enterprise, using VS Code, and am using a Tomcat extension to do the job: The Tomcat extension saves a ...
0
votes
1answer
28 views

What happens when exception occurs in a thread in tomcat

I want to know how Tomcat works. As I know Tomcat assigns a thread when receiving a request from clients. Then what happens when exception occurs in a thread in tomcat? All threads in tomcat die due ...
0
votes
1answer
80 views

What do I need to get rid of Permission denied error on Linux?

I have tomcat installed in /opt/tomcat and would like to get access to sub-folders for user 'mck'. mck@hp15-pc:/opt/tomcat$ ls bin ls: cannot open directory 'bin': Permission denied mck@hp15-pc:/opt/...
0
votes
0answers
10 views

How Tomcat SSL works over simple httpd proxy?

I have a Tomcat server installed configured with SSL support on port 8443. I m accessing it behind a httpd server using Proxy or JkMount. When I point into the tomcat url on port 8443 I get the self-...
0
votes
1answer
185 views

selinux is preventing from execute access on the file centos

I want to launch the Tomcat service on CentOS with the cmdlet : systemctl start tomcat.service but i get the error Failed to start Apache ExecStart=/opt/tomcat/bin/startup.sh (code=exited, status=...
0
votes
0answers
23 views

Why m2 folder has not been updated after each project running

I work in Java project using tomcat as server and maven as packages and dependencies manager. As I understand, m2 folder contain all project artifacts, including my project code and its external ...
0
votes
1answer
5k views

I run Tomcat 9 and it keeps saying: GRAVE: A child container failed during start

GRAVE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]...
0
votes
0answers
50 views

Multiple SSL Certificate Configuration for Tomcat with HAProxy Issue

I have a single RHEL VM in Azure, and I have 2 different tomcat deployments on the same VM. These tomcat deployments are for 2 different non-Identical JIRA Installations on the same VM. Now, I have a ...
0
votes
1answer
541 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
930 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
79 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
154 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
1answer
275 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
18 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
1k 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
22 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
111 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
150 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-...
1
vote
1answer
37 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
3k 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
1k 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
905 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
1answer
600 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 ...
2
votes
2answers
3k 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 ...
1
vote
1answer
271 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
5k 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
38 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
88 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
85 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
37 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
1answer
190 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
1answer
377 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
21 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
1answer
2k 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
34 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....
1
vote
2answers
921 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
1answer
709 views

MariaDB, tomcat connection pool access denied Error

First of all, I am sorry, I am not good at English. Hi! I have some problems about connecting mariaDB from Java web project using tomcat connection pool and JNDI. Here are Exception logs from ...
0
votes
1answer
53 views

Serving three tomcat instances on the same linux machine by one apache-http-server

I am trying to serve three tomcat instances on the same linux machine by one apache-http-server. App1 on tomcat listening to 8080, App2 listening to 8081 and App3 on 8082. There should be three ...
1
vote
0answers
79 views

Access Adminer on CentOS with Apache web server and Tomcat installed

I have a VPS running CentOS 7. I got it a month ago to run a website for a local club. I have had quite some issues with getting it running, but after a few days finally everything worked. What I did: ...
1
vote
0answers
422 views

Tomcat Server 9 - Hangs after some time

I have recently upgraded my application server from an tomcat 6 to tomcat 9. After the upgrade, we migrated one of our applications to the new server, by upgrading all the libraries to move to the new ...
1
vote
0answers
28 views

Apache2 load balancing with 2 balancer nodes

I am trying to set up a simple load balancer with Apache2. Here is the configuration that I have made ProxyPass /myapp balancer://mycluster ProxyPassReverse /myapp balancer://mycluster ...
0
votes
0answers
1k views

Embedded Tomcat 9 and SpringJUnit4ClassRunner Missing Method

I am trying to resolve this exception I am getting from a integration test I wrote using SpringJUnit4ClassRunner and Tomcat 9. I believe this is happening because when the class runner goes to ...
0
votes
0answers
67 views

My Tomcat 8.5 doesn't work properly

I started AWS EC2, and installed Java and Tomcat 8.5 then I tried to access Tomcat and access Manager App to deploy.. But it's not loading front page.. just displaying 404 Error. Of course I turned on ...
0
votes
2answers
3k views

MySQL access denied for user connection with JDBC

I just did a new install on Ubuntu 16.04 and MySQL 5.7. Im able to connect on the command line by my application running in Tomcat is getting access denied for the same user. Here is how I created my ...

1
2 3 4 5 6