All Questions
Tagged with tomcat web-applications
919
questions
0
votes
2
answers
122
views
Disabling custom error pages in Tomcat 9 based appservice on Azure
I have a Tomcat 9 based app service on Azure (see my stack attached) that has an in-out of season usage pattern and I need to swtich it to a lower app service plan for the summer.
The app has been ...
0
votes
0
answers
19
views
Managing Tomcat urls with apache
I would like to access the tomcat urls via Apache such that i can forward requests from tomcat to apache as below
Unfortunately I cannot access https://host.com as I am getting Forbidden ( no ...
0
votes
0
answers
21
views
Unable to access a Webapp on Tomcat in Vagrant box
I have deployed a test application on Tomcat 9.0 installed on Vagrant (Ubuntu 14.04.6 trusty).
Placed the appropriate .war file in webapps path of the same Tomcat.
Configured the correct Connection ...
0
votes
0
answers
281
views
How can i create webapps-javaee directory in external linux tomcat 10
I have javaEE webapp which initialize in external tomcat. After upgrading to tomcat 10, it is not initialized. In default configuration, there is no webapps-javaee directory in external tomcat 10.
I ...
0
votes
0
answers
41
views
Tomcat Basic Authentication for 1 Webapp only
I have Apache Tomcat8 running on a windows server and have multiple webapps deployed inside it.
I am trying to add basic auth to just 1 webapp, so users can continue to use the other apps without ...
0
votes
0
answers
41
views
Import class in file jsp [duplicate]
A class that is in src/main/webapp/WEB-INF/classes and the .jsp file doesn't read that class.
I have a class called DbUtilities in src/main/webapp/WEB-INF/classes directory. The index.jsp file doesn't ...
0
votes
1
answer
106
views
How do I remove HTTP Servlet cannot be resolved to a type, in my web app project
I am a beginner when it comes to dynamic web projects so far I have setup a web project.
The guide I am [following(https://www.javatpoint.com/how-to-build-a-web-application-using-java)a guide.
It says ...
0
votes
1
answer
55
views
Need to dictate tomcat deployment order by renaming deployable war files
I have the following war files for deployment
usapp.war
Phonix.war
VelotownAPI.war
I wish to have the deployment-order as below:
Phonix.war -- First
usapp.war -- Second
VelotownAPI.war -- Third
...
0
votes
0
answers
147
views
How to detect that all WARs are fully deployed and operational in Tomcat? (in other words, not starting or stopping)
I need a way to verify that all Apps/WARs on a Tomcat 10 server are fully deployed and operational.
I can manually see the apps deployment status in the logs, and in the provided Tomcat ...
0
votes
1
answer
38
views
ContextListener at tomcat within eclipse triggering on every request
I thought implementing the ContextListener and adding it to web.xml like this:
class:
public class StartupContextListener implements ServletContextListener{
@Override
public void contextInitialized(...
0
votes
0
answers
22
views
HTTP Status 500 – Internal Server Error followed by Error instantiating servlet class [com.example.FirstServlet] [duplicate]
this is the coming while triggering the URL pattern in browser
(https://i.sstatic.net/rt8O7.png)
I am using maven build tool and this is my servlet class.i already try to re-depoly the war file and ...
1
vote
0
answers
682
views
apache tomcat not able to load certificate key - website down when using https
I'm using certbot to add https to a webapp using tomcat9.0.75.
I've been hable to generate the certificate files, signed them, and moved to /opt/tomcat/conf.
Configured the connector in the server.xml ...
0
votes
1
answer
1k
views
How to deploy a web application on Tomcat with SSL on Docker
I have a web application (.war) and want to deploy it on a tomcat server. Additionally the REST API communication should be through SSL and handover the docker image with all these changes.
0
votes
0
answers
23
views
How to incoperate responses from other webapps running in same Tomcat instance?
In a running servlet request I need to request data from an other servlet of a different webapp running in the same Tomcat instance. Using new URL connections to the same Tomcat connector/port would ...
0
votes
1
answer
202
views
FileNotFoundException exception for jar explicitly removed from war in tomcat
We recently upgraded our application from Spring - 4.3.2.RELEASE to 4.3.30.RELEASE and started observing following FileNotFoundException for our application in .war format with following tech stack:
...