Questions tagged [Tomcat] (225)

1
answer

Why when I deploy war to remote Tomcat error: Cannot invoke Tomcat manager: Connection reset by peer: socket write error?

Trying to deploy war using tomcat7:deploy on Tomcat. Do everything according to the instructions from the site https://mkyong.com/maven/how-to-deploy-maven-based... On the local computer all teplitsa to cheer. And on the remote server an error occurs: Cannot invoke Tomcat manager: Connection reset by peer: socket write er...
marquise.Dool asked April 19th 20 at 12:38
0
answer

How to work with wildcard certificate from localhost?

There is an internal work service signed wildcard certificate. More precisely: set up https for the service, and tossed the Sert and configured for the host job site https. But for domain names 4-level https is not working. that is : https://sitename.domain.com - works https://temp1.sitename.domain.com - does not work. O...
barton_Hilpert asked April 19th 20 at 12:07
2
answers

Upload war file to TomCat when trying to access a 404 error?

Hello faced with this problem. A simple application with Springboot, in fact, REST services c index page Two servers one on Windows 10, the second on Cent OS. On both servers TomCat, Java same versions. When you download the war file on Windows, all the rules, the application is loaded on server start issues index.html the ...
Peter_K asked April 18th 20 at 13:31
1
answer

How to give data in tomcat?

learn the basics of java ee (servlets, jdbc). For practice I use tomcat. Created a simple client - I send him text data, catch them on tomcat without problems. Trying to send a response and... do not know how to do it! At the docks on the HttpServletResponse is simply not find any similar to what I want method. I am suffer...
jocelyn asked April 8th 20 at 10:00
1
answer

To send to the server user agent?

I am weak in js, send a ua for a web server, tomkat, and preferably in the servlet to write to the database, or advise another web server which does it
Hermina62 asked April 8th 20 at 02:20
0
answer

Get external ip and user agent?

Use on backend java+tomcat+mysql and I want to fill in such a table, it is basically all hands entered besides the ip and user agent how to do it and whether the selected field? CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `nickname` varchar(30) NOT NULL, `email` varchar(256) NOT NULL, `password` varchar...
esmerald asked April 8th 20 at 02:09
0
answer

The problem with embedding YouTube videos?

Embed a video, and I such here the message: In the video settings allowed embedding Here is the code: <p align="center"> <iframe width="560" height="315" src="https://www.youtube.com/watch?v=Bt4P5mRJv0Y" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </p>
Eden54 asked April 8th 20 at 01:58
1
answer

Does anyone have a good quick man for setting up apache tomcat and/or nginx — base and the inclusion of ssl certificates for https?

Hello! does anyone have a good quick man for setting up apache tomcat and/or nginx - base and the inclusion of ssl certificates for https ?
Garnet64 asked April 7th 20 at 09:32
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