tomcat8

Spring Boot: redirect from HTTP to HTTPS results in 405 error for PUT method

狂风中的少年 提交于 2020-08-07 04:19:26
问题 I have a problem very similar to this one: Redirect Post method HTTP -> HTTPS - HTTP Status 405 (Spring boot) Basically, I'm trying to make Spring Boot serve both HTTP and HTTPS with the redirection from HTTP to HTTPS. It works, but only for GET requests. If I perform PUT request, I get "Request method 'GET' not supported" error, so looks like my PUT request is being converted to GET request somewhere somehow. I tried both ways of configuring such redirect: define HTTPS connectivity in

Connecting to MQ manager get MQ error 2495

我只是一个虾纸丫 提交于 2020-07-07 06:55:10
问题 We have an application that was fully working in staging but when we deploy it on production we are getting MQ error 2495. We are running the application in a Tomcat 8.5 and we are using the same MQ libraries (8.0.0.6). The server OS is Windows. The code for reading the message from the MQ looks like: MQEnvironment.hostname = queueSettings.getServer(); MQEnvironment.channel = queueSettings.getChannel(); MQEnvironment.port = queueSettings.getPort(); MQQueueManager queueManager = new

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

no executable code found at line intellij 14

六眼飞鱼酱① 提交于 2020-06-24 16:38:10
问题 I am unable to debug remote applications due to: No executable code at line I am running ultimate edition of Intellij, version 14.0.3. My application is running inside tomcat 8 and i'm building it from the command line using Maven. This problem appeared after i switched from the community edition to the ultimate edition. Project sources are the same and I am able to connect to tomcat for remote debugging. The only issue is that all my breakpoints are invalidated. Please advice on how to fix

no executable code found at line intellij 14

你。 提交于 2020-06-24 16:37:51
问题 I am unable to debug remote applications due to: No executable code at line I am running ultimate edition of Intellij, version 14.0.3. My application is running inside tomcat 8 and i'm building it from the command line using Maven. This problem appeared after i switched from the community edition to the ultimate edition. Project sources are the same and I am able to connect to tomcat for remote debugging. The only issue is that all my breakpoints are invalidated. Please advice on how to fix