tomcat9

Springboot -The AJP Connector is configured with secretRequired=“true” but the secret attribute is either null or “” after upgrade to 2.2.5

孤街醉人 提交于 2020-07-01 13:25:30
问题 Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid. at org.apache.coyote.ajp.AbstractAjpProtocol.start(AbstractAjpProtocol.java:264) at org.apache.catalina.connector.Connector.startInternal(Connector.java:1035) ... 22 common frames omitted I am seeing the above errors after upgrading the springboot from 2.1.9 to 2.2.5. The upgrade was necessary to overcome

Websocket CdiUtils NPE using <f:websocket />

笑着哭i 提交于 2020-06-27 16:39:14
问题 This application has been working fine in TC7, Spring 3, and JSF 2.2 but I wanted to add the push capabilities of JSF 2.3 so I upgraded to TC 9.0.8, Spring 5.0.5, and JSF 2.3.0 After some simple initial problems due to the upgrades The app deploys fine and Spring Security works (I can login) but then I get this error: May 11, 2018 2:24:06 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException SEVERE: Error Rendering View[/index.xhtml] java.lang

JasperListener? Upgrading from Tomcat 8 to Tomcat 9

蹲街弑〆低调 提交于 2020-06-27 08:46:06
问题 Since Tomcat 8.0 has reached end of life, I want to upgrade my application directly to Tomcat 9. When I deploy my Java based App from local to my server, I have a script which overrides the server.xml. I upgraded the server to a tomcat 9 and tried to put my application in there, but I get an error when trying to start it. org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener at java.net

Blocked because of a disallowed MIME type (“text/html”) : Angular 8 deployed on tomcat 9.0.30 fails to serve the assets

雨燕双飞 提交于 2020-06-27 08:06:36
问题 I have a project in which the user interface is based on angular 8 and the backend is a springboot java service. The entire project is a multi module project with the angular part being a separate module with front-end builder being used to build the angular code into a single executable jar. The application runs fine when the embedded tomcat is used. I have a new requirement to try and deploy the angular ui part separately on an external tomcat . But when i copy the dist folder to the

Encoding problem with APEX app builder caused by CAS

三世轮回 提交于 2020-04-18 03:46:12
问题 I have a problem with APEX app builder/sql workshop for a while. There is a encoding issue (APEX must serve EastEuropean chars). Finnaly i found the source of the issue. I have implemented a CAS sso into APEX thru web.xml (APEX is on Tomcat/ORDS). Without CAS evrything is working fine, but i need it. Below there is the web.xml configuration. <filter> <filter-name>CAS Single Sign Out Filter</filter-name> <filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class> <init-param>

create symbolic link for access file using tomcat 9 - not working

﹥>﹥吖頭↗ 提交于 2020-04-17 15:31:59
问题 I am migrating tomcat 7 to tomcat 9.0.33, below are the symbolic link access config for tomcat 7 but the link is not working on tomcat, can anyone pls suggest how to fix this <?xml version='1.0' encoding='utf-8'?> <Context path="/" docBase="/usr/local/apache-tomcat-7.0.63/webapps/ROOT" allowLinking="true" deployXML="false"> 回答1: in tomcat 9 & 8 need to add into tomcat/conf/context.xml <Context> <Resources allowLinking="true" /> .... got help from here 来源: https://stackoverflow.com/questions

create symbolic link for access file using tomcat 9 - not working

自作多情 提交于 2020-04-17 15:31:53
问题 I am migrating tomcat 7 to tomcat 9.0.33, below are the symbolic link access config for tomcat 7 but the link is not working on tomcat, can anyone pls suggest how to fix this <?xml version='1.0' encoding='utf-8'?> <Context path="/" docBase="/usr/local/apache-tomcat-7.0.63/webapps/ROOT" allowLinking="true" deployXML="false"> 回答1: in tomcat 9 & 8 need to add into tomcat/conf/context.xml <Context> <Resources allowLinking="true" /> .... got help from here 来源: https://stackoverflow.com/questions