Custom Error Page When Apache Tomcat7 is Restarting? - java

Currently using custom error pages on the Java web application which is great. To cover all bases, when restarting Tomcat after pushing out an update, there is a very minor 30 second delay restarting the Tomcat service which shows the standard Apache 503 error message. It just looks horrible.
I've looked everywhere for where to find this file to customise. Any ideas? The server is running CentOS6 with Apache Tomcat 7 which has been installed via Easy Apache 3 on cPanel's WHM.

Related

Why is Tomcat not running a simple web app from IntelliJ

This has been asked before but the only answers I saw were "restart or re-install tomcat" and similar and they're not working.
I'm trying to get a simple Java web app to work. I downloaded the example from a textbook website. The web app compiles with 0 errors but I get the following message:
org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server, server instance is not configured
This is a picture view of the error
Here is images of the run configuration
I hope this helps you guys see what could possibly be going wrong. I tried to install Apache tomcat 9 and 8 and I have both and I switch between them to see if any work but I get the same error each time. I know it has nothing to do with conflicting versions because the error was happening even when I only had Tomcat 9.

Getting 500 error with Grails 3.3.8 app using Tomcat ISAPI configuration with IIS 10

I followed this guide to configure Tomcat 8.5.12 to run behind IIS 10 on a Windows 2016 server. After I deploy my Grails 3.3.8 app to Tomcat, I can access it at http://hostname:8080/app_name/ through Tomcat directly, but I get a 500 error when I try to access it at https://hostname/app_name/ when the request goes through IIS. The Tomcat /examples/ work fine at https://hostname/examples/ so I know ISAPI is setup correctly.
The reason why I am doing this is 1) for SSL pass-through to Tomcat, and 2) because I have a .NET ERP application running on IIS that I am trying integrate the Grails app into in order to use the Grails Jasper Reports plug-in.
Is there a trick to get Grails 3.3.8 to work using a Tomcat ISAPI setup?

Unable to deploy application on Payara 4.1

I am trying to deploy my web application on my Payara 4.1 server. However I am getting the following error: java.lang.NoSuchMethodError: javax.faces.application.Application.addSearchKeywordResolver(Ljavax/faces/component/search/SearchKeywordResolver;)V
When I google this issue, I find a few people with the same problem, however they were all using outdated versions of Primefaces, but I am using the latest version (6.2) as you can see in the full logs below.
I've deployed my application before but I changed too much at one time so I don't know what triggered this error. However I did not change any of the library's/dependency's as for as I am aware.
If you need more information, let me know.
Full logs can be found here
I eventually deployed my application on a Glassfish 5 server and it worked again, I have no idea why though.

How Does One Deploy a Jersey Application to a Remote Tomcat Server

I need to state up front that I am not a Java developer. So it is fair to assume that I know very little about the tooling etc. that Java dev's will be naturally familiar with.
So, I have created a Jersey web api (2.25.1) on my home server running Windows 2012. It serves data to a Xamarin application. I need to deploy this to a Linux server (Ubuntu) on AWS which my friend spun up.
At the moment, the only access I have is via SSH (Putty).
Tomcat (and Glassfish) have been installed on the Linux machine.
How do I go about deploying that application to that AWS server?
The official Jersey documentation seems to be MIA, and my Googling efforts don't yield much. There's a lot of SO questions with a similar title to this one. But I have not found any of the answers (and in many cases, questions) helpful to my cause.
Cheers
I assume that you are using maven to create your jersey web app .
Upon build you will get a *.war file .Copy the same to tomcat/webapps folder .
Start your tomcat then.
To take your file there on remote use winscp tool with your ssh credentials.

Tomcat access in Coldfusion 11

I just switched from using Coldfusion 9 to using Coldfusion 11. Coldfusion9 included JRun as its application server, Coldfusion 11 is supposed to be using a custom version of Tomcat.
When I was using Coldfusion 9 I was able to use the JRun backend to deploy a few Java application WAR files as well. With the switch to Tomcat I was thinking it would be possible to do the same, just using Tomcat instead of JRun.
As of now, I have not been able to find a way to access the Tomcat instance running Coldfusion 11. When looking through the normal documentation there appears to be a line in the Server.xml for tomcat to enable access over port 8500. When I uncomment this line in the file and restart the server, the port is still not showing anything on it.
Is it possible to do this on the custom Tomcat version? Has anyone else tried with any luck?
Thanks for any help you can provide.

Categories

Resources