Questions tagged [Tomcat] (225)

1
answer

How to pass Java Options in Tomcat 9 9?

How to pass 9 Tomcat Java Options for Java 9+ (such as --add-exports-add-reads, etc.) if Tomcat is running as Windows service? Judging by the documentation, can only pass the -X and-D parameters but how to transfer everything else? If you pass the settings as-is (e.g. --add-reads), then Tomcat does not start due to the fact...
alvena_Ziemann14 asked April 3rd 20 at 23:39
0
answer

How to write the servlet path, so you don't have to repeat the name of the WAR file?

Good day! After "deploy" varnika on Tomcat project is opened with this URL: localhost:8080/MyWebApp and localhost:8080 opens the welcome page of Tomcat. QUESTION: When I create a servlet and put this path web.xml I would like to set the path approximately /secondpage and NOT had to include the name varnika in the URL , for...
trevor_Hauck63 asked April 2nd 20 at 16:28
2
answers

How to remove the project name from the url Tomcat?

Created for educational purposes servlet is the most common, after launching Tomcat via Eclipse, all servlets are opened by adding the name of the project.Example 1)localhost:8080/KaizerProject (home page) 2) localhost:8080/KaizerProject/test I wanted to be worked so localhost:8080 localhost:8080/test Please help, who ...
Neil_Zieme56 asked April 2nd 20 at 16:22
1
answer

How to do a redirect in tomcat?

Good afternoon, friends. In General, there is following need. I have a website, for example, https://sat160.ispvds.com . I need to set up a redirect in TomCat, i.e. to user when he enters in the address bar https://sat160.ispvds.com, redirected to https://sat160.ispvds.com:8080/login . Can anyone suggest how to do this? Exp...
Terrill_Mraz22 asked April 1st 20 at 17:47
1
answer

Tomcat Servlets?

Did I understand correctly from the article in the wiki, under the servlet refers to the java class which inherits from HttpServlet? In this case, when they say that Tomcat is a container mean that it stores all servlets within themselves and manages their lifecycle( As Spring and Bina) ?
Garnett.Schuppe asked April 1st 20 at 17:33
2
answers

How to make sure that the web application did not use all of?

In General there is a class that implements show all users from the database and anyone who guess what to enter in the address bar can get a list of how to limit?
katelyn.Breitenberg asked March 31st 20 at 22:05
1
answer

When you run the servlet on Tomcat Intelligi error Error running 'Tomcat 9.0.27': port out of range:-1?

Error running 'Tomcat 9.0.27': Unable to open debugger port (127.0.0.1:57537): java.net.SocketException "socket closed" what to do?
dorian_Schad asked March 31st 20 at 20:08
1
answer

The problem with the ways in tomkat?

To 127.0.0.1:8080 is issued file index.html lying in apache-tomcat-9.0.27\webapps\ROOT here are its contents:<html> the <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>MySite</title> <link rel = "stylesheet" ...
Daisy_Kirlin4 asked March 31st 20 at 19:52
0
answer

Tomcat consumes all memory after you log in to the admin panel?

9.02 TomCat, Java 1.8 Hello, faced such problem: once I log in the admin panel of the web server( even if it is then close), tom cat starts fast enough to eat all available memory. If you do not go to the admin panel then the memory consumption of published application all day ~2.5 gig. Where to look for the cause of the pr...
hope.Stoltenbe asked March 31st 20 at 15:19
1
answer

What are the minimum requirements to the "hardware" application-Tomcat/Pure Servlets/MySQL?

Write your goals for a small application in Java Servlets (without the heavy Spring and other frameworks) MySQL, I want to understand how much it will cost me VPS: in fact the question of how much RAM you need, because, in my case, this is the main criterion of the cost of a VPS? How many may be simultaneous requests is di...
Bernice_Abbo asked March 30th 20 at 01:00