centos6.5的tomcat无法启动项目

centos6.5 tomcat无法启动项目并且报错且jdk版本和本地相同,Windows的tomcat服务器正常运行项目;报错内容图图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
centos6.5,tomcat启动失败
centos6.5,tomcat启动项目失败,![图片说明](https://img-ask.csdn.net/upload/201706/30/1498804249_474275.png) 本地启动该项目时,一切正常!
linux-CentOs6.5下tomcat换成80端口无法启动工程
linux-CentOs6.5下,把tomcat端口换成80端口后,工程无法启动, 其他端口都能够启动(81端口也能够启动),当前用户也是root,不存在非 root用户端口限制问题。最奇怪的是,在tomcat下部署一个全部静态页面的工程,80端口就能够启动。找不出原因,希望各位大神帮帮忙。
centos6.5安装了tomcat后无法访问8080端口(防火墙accept8080)
centos6.5安装了tomcat后无法访问8080端口(防火墙accept8080)![图片说明](https://img-ask.csdn.net/upload/201706/28/1498635898_609806.png)
centos6.5,跑了一个tomcat,8080端口的,一段时候后第一次访问很慢
公司在电信机房托管了一台服务器,装的是centos6.5的系统,最小化安装.上面跑了一个mysql5.6的数据库,一个8080端口的tomcat8,自己安装的jdk1.8.0_121的JDK,还要一个放SSH撞库的DenyHosts软件.现在有一个很棘手的问题.我现在tomcat上跑了一个项目,项目还没正式上线,一般除了我自己上去测试是没有人访问的.问题就出在这里,只要是一段时间没有访问,过一段时间后的第一次访问就会变得很慢(期间tomcat没有认为的重启或者其他操作,就是挂着一会不动,时间大概是半个小时左右),非常非常慢,只要第一次请求完成后,第二次开始速度又会正常了,然后如果又一段时间没人去访问的话,就又会出现这种问题,非常奇怪,求各位前辈帮一下忙
tomcat除了自带的项目,其他项目都不能访问
centos6.5上的tomcat服务器,除了自带的项目,其他项目都不能访问,
简直奔溃,搭建centos+nginx+tomcat+redis做session共享,启动报错
环境是 centos6.4+nginx1.8+tomcat7.0.65+redis3.0.5+jdk1.7.......... 配置应该没有问题,但是启动tomcat的时候报 caused by: org.apache.catalina.LifecycleException: Unable to attach to session handling valve; sessions cannot be saved after the request without the valve starting properly. 网上都查不到这个错误,有没有遇到这个问题的?
CentOS Tomcat 内存占用问题
CentOS 6.5 Tomcat 7.0.55 和在win7下面跑同样个程序内存占用相差巨大 win7下任务管理器看内存占用500-600M之间浮动 CentOS 刚启动500M 随着时间推移越来越大 最高达到过1.7G 用jconsole看过CentOS下堆内存和非堆内存 稳定在150M和60M左右 用jmap看到的也是相同数据 并且检查过DirectMemory 直接通过OS分配的内存 也没有超过默认64m限制 栈内存已经调整到256k最小值 线程是有波动的 但是总内存是越来越大和线程数波动不成正比 用jmap dump出内存 然后用eclipse mat分析过 大概有80M+的内存泄露 求大神指点可能的问题 我已经黔驴技穷了
java的websocket,在负载均衡环境下无法运行
我现在应用里面实现了websocket,用来做扫码登录,现在windows环境下可以正常 运行,正式服务器是linux的centos6.5,负载均衡用的nginx1.8,运行和开发环境都是 jdk8.0和tomcat8.0,启动应用的时候websocket无法正常运行,报400错误,bad request,希望大神协助解决,感激不尽
centos7下,tomcat启动成功,但页面无法访问
## tomcat启动 ``` [root@ bin]# sh startup.sh Using CATALINA_BASE: /usr/share/tomcat Using CATALINA_HOME: /usr/share/tomcat Using CATALINA_TMPDIR: /usr/share/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre Using CLASSPATH: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar Tomcat started. [root@ bin]# ps -ef|grep tomcat root 81659 1 99 11:41 pts/0 00:00:40 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/bin/java -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512m -Xmx1024m -Xss2048K -XX:PermSize=256m -XX:MaxPermSize=512m -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.io.tmpdir=/usr/share/tomcat/temp org.apache.catalina.startup.Bootstrap start root 81694 81477 0 11:41 pts/0 00:00:00 grep --color=auto tomcat ``` ## 浏览器访问 ![图片说明](https://img-ask.csdn.net/upload/201907/30/1564417712_701672.png) ## 端口情况 ``` [root@ bin]# netstat -lnp|grep 8081 tcp6 1 0 :::8081 :::* LISTEN 81659/java ``` ## server.xml ``` <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- Note: A "Server" is not itself a "Container", so you may not define subcomponents such as "Valves" at this level. Documentation at /docs/config/server.html --> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.startup.VersionLoggerListener" /> <!-- Security listener. Documentation at /docs/config/listeners.html <Listener className="org.apache.catalina.security.SecurityListener" /> --> <!--APR library loader. Documentation at /docs/apr.html --> <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> <!-- Prevent memory leaks due to use of particular java/javax APIs--> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> <!-- Global JNDI resources Documentation at /docs/jndi-resources-howto.html --> <GlobalNamingResources> <!-- Editable user database that can also be used by UserDatabaseRealm to authenticate users --> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <!-- A "Service" is a collection of one or more "Connectors" that share a single "Container" Note: A "Service" is not itself a "Container", so you may not define subcomponents such as "Valves" at this level. Documentation at /docs/config/service.html --> <Service name="Catalina"> <!--The connectors can use a shared executor, you can define one or more named thread pools--> <!-- <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="150" minSpareThreads="4"/> --> <!-- A "Connector" represents an endpoint by which requests are received and responses are returned. Documentation at : Java HTTP Connector: /docs/config/http.html Java AJP Connector: /docs/config/ajp.html APR (HTTP/AJP) Connector: /docs/apr.html Define a non-SSL/TLS HTTP/1.1 Connector on port 8080 --> <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <!-- A "Connector" using the shared thread pool--> <!-- <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> --> <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 This connector uses the NIO implementation. The default SSLImplementation will depend on the presence of the APR/native library and the useOpenSSL attribute of the AprLifecycleListener. Either JSSE or OpenSSL style configuration may be used regardless of the SSLImplementation selected. JSSE style configuration is used below. --> <!-- <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true"> <SSLHostConfig> <Certificate certificateKeystoreFile="conf/localhost-rsa.jks" type="RSA" /> </SSLHostConfig> </Connector> --> <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2 This connector uses the APR/native implementation which always uses OpenSSL for TLS. Either JSSE or OpenSSL style configuration may be used. OpenSSL style configuration is used below. --> <!-- <Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol" maxThreads="150" SSLEnabled="true" > <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /> <SSLHostConfig> <Certificate certificateKeyFile="conf/localhost-rsa-key.pem" certificateFile="conf/localhost-rsa-cert.pem" certificateChainFile="conf/localhost-rsa-chain.pem" type="RSA" /> </SSLHostConfig> </Connector> --> <!-- Define an AJP 1.3 Connector on port 8009 --> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> <!-- An Engine represents the entry point (within Catalina) that processes every request. The Engine implementation for Tomcat stand alone analyzes the HTTP headers included with the request, and passes them on to the appropriate Host (virtual host). Documentation at /docs/config/engine.html --> <!-- You should set jvmRoute to support load-balancing via AJP ie : <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1"> --> <Engine name="Catalina" defaultHost="localhost"> <!--For clustering, please take a look at documentation at: /docs/cluster-howto.html (simple how to) /docs/config/cluster.html (reference documentation) --> <!-- <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> --> <!-- Use the LockOutRealm to prevent attempts to guess user passwords via a brute-force attack --> <Realm className="org.apache.catalina.realm.LockOutRealm"> <!-- This Realm uses the UserDatabase configured in the global JNDI resources under the key "UserDatabase". Any edits that are performed against this UserDatabase are immediately available for use by the Realm. --> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> </Realm> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="/" docBase="radar" debug="0" privileged="true" reloadable="true" /> <!-- SingleSignOn valve, share authentication between web applications Documentation at: /docs/config/valve.html --> <!-- <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> --> <!-- Access log processes all example. Documentation at: /docs/config/valve.html Note: The pattern used is equivalent to using pattern="common" --> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" /> </Host> </Engine> </Service> </Server> ``` ## tomcat关闭 ``` [root@ bin]# sh shutdown.sh Using CATALINA_BASE: /usr/share/tomcat Using CATALINA_HOME: /usr/share/tomcat Using CATALINA_TMPDIR: /usr/share/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre Using CLASSPATH: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar OpenJDK 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 七月 30, 2019 12:29:29 下午 org.apache.catalina.startup.Catalina stopServer 严重: Could not contact [localhost:[8005]]. Tomcat may not be running. 七月 30, 2019 12:29:29 上午 org.apache.catalina.startup.Catalina stopServer 严重: Catalina.stop: java.net.ConnectException: 拒绝连接 (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:503) 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.stopServer(Bootstrap.java:406) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:498) ``` ## 防火墙已经关闭 ``` [root@LENOVO-LA0X1824 bin]# systemctl status firewalld.service · firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1) 七月 30 00:09:56 LENOVO-LA0X1824 systemd[1]: Starting firewalld - dynamic fi.... 七月 30 00:09:57 LENOVO-LA0X1824 systemd[1]: Started firewalld - dynamic fir.... 七月 30 00:19:35 LENOVO-LA0X1824 systemd[1]: Stopping firewalld - dynamic fi.... 七月 30 00:19:36 LENOVO-LA0X1824 systemd[1]: Stopped firewalld - dynamic fir.... Hint: Some lines were ellipsized, use -l to show in full. ``` ## tomcat内存已调整 ``` # OS specific support. $var _must_ be set to either true or false. JAVA_OPTS="-Xms512m -Xmx1024m -Xss2048K -XX:PermSize=256m -XX:MaxPermSize=512m" cygwin=false ``` ## tomcat日志 ``` 30-Jul-2019 00:41:04.731 警告 [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to [] 30-Jul-2019 00:41:04.737 警告 [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property. 30-Jul-2019 00:41:04.758 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.35 30-Jul-2019 00:41:04.758 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 3 2018 17:39:20 UTC 30-Jul-2019 00:41:04.758 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.35.0 30-Jul-2019 00:41:04.758 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 30-Jul-2019 00:41:04.758 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-862.14.4.el7.x86_64 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_212-b04 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/share/tomcat 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat 30-Jul-2019 00:41:04.759 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms512m 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xss2048K 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:PermSize=256m 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=512m 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 30-Jul-2019 00:41:04.760 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/share/tomcat 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/share/tomcat/temp 30-Jul-2019 00:41:04.761 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] 30-Jul-2019 00:41:04.863 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8081"] 30-Jul-2019 00:41:04.876 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Jul-2019 00:41:04.889 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 30-Jul-2019 00:41:04.891 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 30-Jul-2019 00:41:04.891 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 576 ms 30-Jul-2019 00:41:04.916 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 30-Jul-2019 00:41:04.916 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.35 30-Jul-2019 00:41:09.189 信息 [localhost-startStop-1] org.springframework.boot.StartupInfoLogger.logStarting Starting RadarHealthLegalApplication v0.0.1-SNAPSHOT on LENOVO-LA0X1824 with PID 6604 (/usr/share/tomcat/webapps/radar/WEB-INF/classes started by root in /usr/share/tomcat/bin) 30-Jul-2019 00:41:09.191 信息 [localhost-startStop-1] org.springframework.boot.SpringApplication.logStartupProfileInfo No active profile set, falling back to default profiles: default 30-Jul-2019 00:41:09.233 信息 [localhost-startStop-1] org.springframework.context.support.AbstractApplicationContext.prepareRefresh Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3ca98b77: startup date [Tue Jul 30 00:41:09 HKT 2019]; root of context hierarchy 30-Jul-2019 00:41:11.119 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'shiroConfiguration' of type [com.huichuang.radar_health_legal.configuration.ShiroConfiguration$$EnhancerBySpringCGLIB$$8552a5e1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.394 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'org.springframework.boot.context.properties.ConversionServiceDeducer$Factory' of type [org.springframework.boot.context.properties.ConversionServiceDeducer$Factory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.601 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'mybatis-org.mybatis.spring.boot.autoconfigure.MybatisProperties' of type [org.mybatis.spring.boot.autoconfigure.MybatisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.620 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$91557f45] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.625 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.660 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties' of type [org.springframework.boot.autoconfigure.jdbc.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:11.751 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'dataSource' of type [com.alibaba.druid.pool.DruidDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.510 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.526 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.527 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'upUserMapper' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.530 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'upUserMapper' of type [com.sun.proxy.$Proxy61] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.537 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'upRoleMapper' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.539 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'upRoleMapper' of type [com.sun.proxy.$Proxy62] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.540 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'loginSerImp' of type [com.huichuang.radar_health_legal.service.shiro.imp.LoginSerImp] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.541 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'customShiroRealm' of type [com.huichuang.radar_health_legal.utill.shiro.CustomShiroRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.547 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'rememberMeCookie' of type [org.apache.shiro.web.servlet.SimpleCookie] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.554 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'rememberMeManager' of type [org.apache.shiro.web.mgt.CookieRememberMeManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.569 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.691 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.761 信息 [localhost-startStop-1] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5e812e15] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 30-Jul-2019 00:41:12.997 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.prepareWebApplicationContext Root WebApplicationContext: initialization completed in 3765 ms 30-Jul-2019 00:41:13.506 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'characterEncodingFilter' to: [/*] 30-Jul-2019 00:41:13.507 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'errorPageFilter' to: [/*] 30-Jul-2019 00:41:13.507 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 30-Jul-2019 00:41:13.507 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'httpPutFormContentFilter' to: [/*] 30-Jul-2019 00:41:13.507 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'requestContextFilter' to: [/*] 30-Jul-2019 00:41:13.507 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'UrlFilter' to urls: [/*] 30-Jul-2019 00:41:13.508 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'webStatFilter' to urls: [/*] 30-Jul-2019 00:41:13.508 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'delegatingFilterProxy' to: [/*] 30-Jul-2019 00:41:13.508 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'corsFilter' to: [/*] 30-Jul-2019 00:41:13.508 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.AbstractFilterRegistrationBean.configure Mapping filter: 'shiroFilter' to: [/*] 30-Jul-2019 00:41:13.508 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.ServletRegistrationBean.addRegistration Servlet statViewServlet mapped to [/druid/*] 30-Jul-2019 00:41:13.510 信息 [localhost-startStop-1] org.springframework.boot.web.servlet.ServletRegistrationBean.addRegistration Servlet dispatcherServlet mapped to [/] 30-Jul-2019 00:41:14.707 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 30-Jul-2019 00:41:15.311 信息 [localhost-startStop-1] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@3ca98b77: startup date [Tue Jul 30 00:41:09 HKT 2019]; root of context hierarchy 30-Jul-2019 00:41:15.439 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getDataFromDatabase.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getDataFromDatabase(java.lang.String) 30-Jul-2019 00:41:15.440 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getWarningInfo.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getWarningInfo() 30-Jul-2019 00:41:15.440 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getRadarWarningInfo.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getRadarWarningInfo(java.lang.String) 30-Jul-2019 00:41:15.441 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/theRadarInfo.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.theRadarInfo() 30-Jul-2019 00:41:15.441 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getHistoryInfo.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getHistoryInfo(java.lang.String[],java.lang.String) 30-Jul-2019 00:41:15.442 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getInfoByField.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getInfoByField(java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.442 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/data/getFieldByChName.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.SimData.getFieldByChName(java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.444 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/test/test]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.TestTest.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.445 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/index/index]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.bigScreen.IndexCtl.first_page(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.446 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/parameterList/parameterList]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.bigScreen.ParameterListCtl.third_page(org.springframework.ui.Model,javax.servlet.http.HttpServletRequest,java.lang.String) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.446 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/radarInfo/radarInfo]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.bigScreen.RadarInfoCtl.second_page(org.springframework.ui.Model,javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.447 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/forgetPs/forgetPs],methods=[GET]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.login.ForgetPsCtl.toLogin(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.448 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/login/getCode]}" onto public void com.huichuang.radar_health_legal.controller.login.LoginCtl.getCode3(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession) throws java.io.IOException 30-Jul-2019 00:41:15.448 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/login/login],methods=[GET]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.login.LoginCtl.toLogin(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.449 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/login/goLogin],methods=[POST]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.login.LoginCtl.login(java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpSession,java.lang.Integer) 30-Jul-2019 00:41:15.449 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/register/register],methods=[GET]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.login.RegisterCtl.toLogin(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.450 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/register/register],methods=[POST]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.login.RegisterCtl.register(javax.servlet.http.HttpSession,com.huichuang.radar_health_legal.model.shiro.UpUser) 30-Jul-2019 00:41:15.451 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/setGroupData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.452 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/allGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.allGroup() 30-Jul-2019 00:41:15.452 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/allGT]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.allGT(int) throws java.lang.NoSuchFieldException,java.lang.InstantiationException,java.lang.IllegalAccessException,java.lang.reflect.InvocationTargetException 30-Jul-2019 00:41:15.453 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/insertNewGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.insertNewGroup(java.lang.String) 30-Jul-2019 00:41:15.453 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/deleteGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.deleteGroup(int) 30-Jul-2019 00:41:15.453 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setGroupData/deleteTemplate]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetGroupData.deleteTemplate(int) 30-Jul-2019 00:41:15.455 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/setMonomerData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.455 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/getAllTemProp]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.getAllTemProp() 30-Jul-2019 00:41:15.455 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/deleteTemProp]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.deleteTemProp(int) 30-Jul-2019 00:41:15.455 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/getAllTemplate]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.getAllTemplate() 30-Jul-2019 00:41:15.456 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/changeTemplateProperty]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.changeTemplateProperty(int,int,int) 30-Jul-2019 00:41:15.456 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/checkAdd]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.checkAdd(java.lang.String,int,int) 30-Jul-2019 00:41:15.456 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerData/deleteTemPropById]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerData.deleteTemPropById(java.lang.Integer[]) 30-Jul-2019 00:41:15.457 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerGroup/setMonomerGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerGroup.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.457 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerGroup/getAllGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerGroup.getAllGroup() 30-Jul-2019 00:41:15.458 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerGroup/loadingData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerGroup.loadingData() 30-Jul-2019 00:41:15.458 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/monitor/setMonomerGroup/changeTemplateGroup]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.monitor.SetMonomerGroup.changeTemplateGroup(int,int) 30-Jul-2019 00:41:15.458 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/mainMenu/getMenu.do]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options.MainMenu.getMenu(javax.servlet.http.HttpSession) 30-Jul-2019 00:41:15.459 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/options]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options.Options.toOptions(org.springframework.ui.Model,javax.servlet.http.HttpSession) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.460 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/menuManager/menuManager]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_menu.MenuManagerCtl.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.460 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/menuManager/saveMenu]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_menu.MenuManagerCtl.saveMenu(java.lang.String,javax.servlet.http.HttpSession) throws java.lang.IllegalAccessException,java.lang.InstantiationException,java.lang.NoSuchMethodException,java.lang.NoSuchFieldException,java.lang.reflect.InvocationTargetException 30-Jul-2019 00:41:15.460 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/menuManager/getMenu]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_menu.MenuManagerCtl.getMenu(javax.servlet.http.HttpSession) 30-Jul-2019 00:41:15.461 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingObj/settingObj]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_monitoring.SettingObjCtl.toVesselModule() 30-Jul-2019 00:41:15.462 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingModule/getModule]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingModuleCtl.getModule() 30-Jul-2019 00:41:15.462 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingModule/settingModule]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingModuleCtl.toVesselModule() 30-Jul-2019 00:41:15.462 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingModule/settingModuleState]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingModuleCtl.updateModuleState(int,int) 30-Jul-2019 00:41:15.462 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingModule/relDelModule]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingModuleCtl.relDelModule(java.lang.String) 30-Jul-2019 00:41:15.464 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/settingPage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.toSettingModule(org.springframework.ui.Model) 30-Jul-2019 00:41:15.464 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/getAllPage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.getAllPage() 30-Jul-2019 00:41:15.464 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/savePage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.savePage(java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.464 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/deletePage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.deletePage(java.lang.String) 30-Jul-2019 00:41:15.465 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/updatePage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.updatePage(java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.465 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/reldelPage]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.reldelPage(int,java.lang.String) 30-Jul-2019 00:41:15.465 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/settingPage/getModuleReferences]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.SettingPageCtl.getModuleReferences() 30-Jul-2019 00:41:15.466 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/testVessel/testVessel]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_pageModule.TestVesselCtl.toTestVessel(org.springframework.ui.Model,javax.servlet.http.HttpServletRequest) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.466 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleManager/roleManager]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_role.RoleManagerCtl.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.467 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleManager/loadingAllRoles]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_role.RoleManagerCtl.loadingAllRoles() 30-Jul-2019 00:41:15.467 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleManager/deleteById]}" onto public boolean com.huichuang.radar_health_legal.controller.options_role.RoleManagerCtl.deleteById(java.lang.Integer[]) 30-Jul-2019 00:41:15.467 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleManager/saveRole]}" onto public boolean com.huichuang.radar_health_legal.controller.options_role.RoleManagerCtl.saveRole(java.lang.String) 30-Jul-2019 00:41:15.469 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/userManager]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.469 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/loadingUser]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.lodingUser(int) 30-Jul-2019 00:41:15.469 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/deleteSelectRole]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.deleteSelectRole(int,int) 30-Jul-2019 00:41:15.470 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/addSelectRole]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.addSelectRole(int,int) 30-Jul-2019 00:41:15.470 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/deleteUserById]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.deleteUserById(java.lang.Integer[],int) 30-Jul-2019 00:41:15.470 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/recoverByUserId]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.recoverByUserId(int) 30-Jul-2019 00:41:15.470 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/checkUserName]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.checkUserName(java.lang.String) 30-Jul-2019 00:41:15.471 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/loadingAllRole]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.loadingAllRole() 30-Jul-2019 00:41:15.471 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/saveNewUser]}" onto public boolean com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.saveNewUser(java.lang.String,int) 30-Jul-2019 00:41:15.471 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/userManager/addRole]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.options_userManager.UserManagerCtl.addRole(int) 30-Jul-2019 00:41:15.472 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/index2/index2]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2Ctl.toIndex2(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.472 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/index2/getData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2Ctl.getData() 30-Jul-2019 00:41:15.473 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/parameterList2/parameterList2]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2ParamListCtl.toParameterList2(org.springframework.ui.Model,java.lang.String) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.473 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/parameterList2/getParamter]}" onto public <T> java.lang.String com.huichuang.radar_health_legal.controller.page.Index2ParamListCtl.getParamter(java.lang.String) 30-Jul-2019 00:41:15.473 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/parameterList2/getHistoryData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2ParamListCtl.getHistoryData(java.lang.String,java.lang.String,java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.474 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/parameterList2/refreshHistoryData]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2ParamListCtl.refreshHistoryData(java.lang.String,java.lang.String,java.lang.String,java.lang.String) 30-Jul-2019 00:41:15.474 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/index2_second/index2_second]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2SecondCtl.toMenuManager(org.springframework.ui.Model,java.lang.String) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.474 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/index2_second/theSystemInfo]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.page.Index2SecondCtl.theSystemInfo(java.lang.String) 30-Jul-2019 00:41:15.475 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/roleMenu]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.toMenuManager(org.springframework.ui.Model) throws com.huichuang.radar_health_legal.exception.The404Exception 30-Jul-2019 00:41:15.476 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/deleteById]}" onto public boolean com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.deleteById(java.lang.Integer[],int) 30-Jul-2019 00:41:15.476 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/loadingRoleSelect]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.loadingRoleSelect() 30-Jul-2019 00:41:15.476 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/inverseMenuById]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.inverseMenuById(int) 30-Jul-2019 00:41:15.476 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/insertRoleMenu]}" onto public boolean com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.insertRoleMenu(int,int) 30-Jul-2019 00:41:15.477 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/options/roleMenu/getMenu]}" onto public java.lang.String com.huichuang.radar_health_legal.controller.role_menu.RoleMenuCtl.getPermission(java.lang.String,int) 30-Jul-2019 00:41:15.482 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 30-Jul-2019 00:41:15.482 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry.register Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 30-Jul-2019 00:41:15.509 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController] 30-Jul-2019 00:41:15.534 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 30-Jul-2019 00:41:15.534 信息 [localhost-startStop-1] org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] ``` ## 请教大神,为什么访问不了页面,怎么解决?
Centos7(阿里云)启动不了tomcat9
问题:启动tomcat9失败。 环境:jdk1.8.0 + tomcat9 + apr+ tomcat-native 日志: 02-Apr-2018 23:12:28.183 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.6 02-Apr-2018 23:12:28.185 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 5 2018 09:34:35 UTC 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.6.0 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-514.26.2.el7.x86_64 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_161-b14 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/tomcat 02-Apr-2018 23:12:28.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs= 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3]. 02-Apr-2018 23:12:28.187 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 02-Apr-2018 23:12:28.188 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 02-Apr-2018 23:12:28.207 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2k-fips 26 Jan 2017] 02-Apr-2018 23:12:28.373 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 02-Apr-2018 23:12:28.397 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 02-Apr-2018 23:12:28.416 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"] 02-Apr-2018 23:12:28.417 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 02-Apr-2018 23:12:28.432 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1040 ms 02-Apr-2018 23:12:28.467 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 02-Apr-2018 23:12:28.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.6 02-Apr-2018 23:12:28.499 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs] 之前有报找不到APR的错误,后来根据教程安装了apr,apr-util,tomcat-native后那个错误消失了,但是启动tomcat还是异常(无法正常关闭,无法访问),每次只能通过杀进程的方法关闭。 求大神解答!
急求帮助,centOS下tomcat的java进程无故终止
求助! 目前环境centOS6.6+Nginx1.8.0+tomcat7.0.42+mysql5.6.24 另外还装了安全狗和clamd杀毒软件。 碰到的问题是tomcat的java进程隔几天会无故终止。tomcat的catalina日志里没有 tomcat停止的日志。操作系统日志/var/adm/messages里也没有tomcat的java进程停止的日志。 tomcat的home目录下也没有找到java虚拟机崩溃的日志。 打开进程日志,看到tomcat的java进程收到终止信号停止,java进程有X标志。 cat root __ 0.00 secs Thu Jul 30 09:48 sh root __ 0.00 secs Thu Jul 30 09:48 egrep root __ 0.00 secs Thu Jul 30 09:48 cat root __ 0.00 secs Thu Jul 30 09:48 sh root __ 0.00 secs Thu Jul 30 09:48 awk root __ 0.00 secs Thu Jul 30 09:48 head root __ 0.00 secs Thu Jul 30 09:48 cat root __ 0.00 secs Thu Jul 30 09:48 ## java S X root __ 2728.72 secs Wed Jul 29 10:38 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 du root __ 0.00 secs Thu Jul 30 09:48 sh root __ 0.00 secs Thu Jul 30 09:48 awk root __ 0.00 secs Thu Jul 30 09:48 head root __ 0.00 secs Thu Jul 30 09:48 cat root __ 0.00 secs Thu Jul 30 09:48 sh root __ 0.00 secs Thu Jul 30 09:48 awk root __ 0.00 secs Thu Jul 30 09:48 head root __ 0.00 secs Thu Jul 30 09:48 cat root __ 0.00 secs Thu Jul 30 09:48 sh root __ 0.00 secs Thu Jul 30 09:48 grep root __ 0.00 secs Thu Jul 30 09:48 grep root __ 0.00 secs Thu Jul 30 09:48 ps S root __ 0.02 secs Thu Jul 30 09:48 但是在这个时间段并没有kill发送信号,那这个信号是由哪个进程发起的,有没有办法查看。 我最初怀疑过操作系统内存耗尽,tomcat进程被OOM_killer杀死了,但是操作系统日志/var/adm/messages里会有out of memory杀进程的日志,我在虚拟机上测试,/var/adm/messages里是有相应日志。下面是free -m的输出: total used free shared buffers cached Mem: 32085 26304 5780 1 258 21274 -/+ buffers/cache: 4771 27313 Swap: 16111 50 16061 也怀疑过ssh连接异常关闭导致tomcat进程被杀,但是我在虚拟机上并没有模拟重现故障。 因为centOS ssh登录采用公钥秘钥的方式,并且在故障时间段进程日志里并没有找到kill命令,暂时排除人为强杀进程的情况。 不知道现在的情况我能通过什么方式来定位故障原因。求指点。 另外在tomcat的localhost日志里,有类似如下的异常日志: Jul 30, 2015 12:14:27 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [javax.servlet.ServletException: javax.servlet.jsp.JspException: Problem accessing the absolute URL "http://www.d1wudal.com:80/getHomeItem.action?navBz=1". java.io.FileNotFoundException: http://www.d1wudal.com:80/getHomeItem.action?navBz=1] with root cause java.io.FileNotFoundException: http://www.d1wudal.com:80/getHomeItem.action?navBz=1 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625) at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireReader(ImportSupport.java:331) at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:241) at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161) at org.apache.jsp.index_jsp._jspx_meth_c_005fimport_005f0(index_jsp.java:177) at org.apache.jsp.index_jsp._jspService(index_jsp.java:109) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96) at com.st.core.filter.Struts2Filter.doFilter(Struts2Filter.java:24) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 我在虚拟机上模拟重现了这个异常,是由客户端的异常请求造成的。我也怀疑过遭到了类似DDOS的攻击,但是查看了系统的连接数量应该不足以让tomcat进程终止。 麻烦帮忙分析下!
Java Web项目部署在云服务器数据库查询结果为空,本地运行正常
我在本地写的Java web项目,在本地使用本机MySQL数据库一切正常, 但是部署在云服务器的Tomcat,使用云服务器的MySQL数据库查询数据库结果却是空的, 服务器的数据表中确实是有数据的,但就是查询不出来,但是可以执行插入操作。 在服务器的命令行界面登录MySQL是可以查询出数据的,但就是用浏览器访问网页查询结果为空 Java web项目 jsp + servlet + java bean + mysql 5.6 服务器操作系统Centos 6.5 64位 Tomcat 8.0 JDK 1.8 数据库操作的用户对该数据库具有所有的权限 百度没有找到相关的问题 求助,O(∩_∩)O谢谢
关于session共享失败的问题
1、两个tomcat在同一台机器上、seesion共享成功。(tomcat端口不同) 2、tomcat在不同的机器上,session共享失败。日志如下: Jul 23, 2015 5:41:27 AM de.javakaffee.web.msm.MemcachedSessionService requestFinished FINE: No session found in session map for 5556F95BE394E00AF2AB3D024AE77A97-n1 总是找不到session 3、tomcat配置文件context.xml <Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager" memcachedNodes="n1:192.168.8.20:11211" sticky="false" lockingMode="auto" sessionBackupAsync="false" requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)$" sessionBackupTimeout="1000" transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory" /> 所有tomcat的配置都一样、版本都是7.0.54、tomcat在不同机器上的时候、负载不管用nginx、还是lvs都session共享失败。 系统版本为centos6.5、放火强都已经关闭。 4、求大神给小弟分析下、这是什么原因造成。小弟不胜感激。
ueditor编辑在服务器下不能上传,报错500,求指导
<span id="trace" style="display:none"> java.lang.NoSuchMethodError: org.apache.commons.fileupload.FileUploadBase.isMultipartContent(Lorg/apache/commons/fileupload/RequestContext;)Z at org.apache.commons.fileupload.servlet.ServletFileUpload.isMultipartContent(ServletFileUpload.java:71) at com.baidu.ueditor.upload.BinaryUploader.save(BinaryUploader.java:30) at com.baidu.ueditor.upload.Uploader.doExec(Uploader.java:24) at com.baidu.ueditor.ActionEnter.invoke(ActionEnter.java:80) at com.baidu.ueditor.ActionEnter.exec(ActionEnter.java:49) at _jsp._ueditor._jsp._controller__jsp._jspService(ueditor/jsp/controller.jsp:12) at com.caucho.jsp.JavaPage.service(JavaPage.java:61) at com.caucho.jsp.Page.pageservice(Page.java:578) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649) at java.lang.Thread.run(Thread.java:662) </span> ``` 公司服务器centos 6.5,tomcat;前框架freemaker;实在找不出来毛病,在本地上传又可以,就是部署服务不行。服务器我是最高权限,可以直接上传图片 ```
centos的hosts文件被改了导致网站无法访问
不小心修改了/etc/hosts 的内容和 /etc/sysconfig/network的内容;把tomcat启动之后无法访问工程了,修改这两个文件之前还好好的。请大仙用通俗易懂的预言解释一下这俩文件的意义,并还原。新手刚接触linux。。。谢谢!!! # lsb_release -a LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.6 (Final) Release: 5.6 Codename: Final
使用Dockerfile自定义的tomcat镜像,但是启动镜像会失败
**报错:docker: Error response from daemon: Container command not found or does not exist..** 按照教程利用本地jdk和tomcat软件包搭建的docker镜像。 Dockerfile: FROM ubuntu:14.04 #install jdk ADD jdk1.8.0_91 /opt/jdk1.8.0_91 ENV JAVA_HOME /opt/jdk1.8.0_91 ENV PATH $PATH:$JAVA_HOME/bin RUN mkdir -p "$JAVA_HOME" #install tomcat ADD apache-tomcat-8.5.3 /opt/apache-tomcat ENV CATALINA_HOME /opt/apache-tomcat ENV PATH $CATALINA_HOME/bin:$PATH RUN mkdir -p "$CATALINA_HOME" WORKDIR $CATALINA_HOME EXPOSE 8080 CMD ["catalina.sh","run"] jdk:1.8.0.9 tomcat:8.5.3 基础镜像:ubuntu:14.04 用的虚拟机VMWare,装的centos7 build: docker build -t tomcat . **运行: docker run -d -p 27945:8080 tomcat:latest 运行之后: [root@localhost user2]# docker run -d -p 27945:8080 c44 4f0befe7569eda0eb11a2500b2a9e15fdfdf9807d2786a70ecd45a73f6afb556 docker: Error response from daemon: Container command not found or does not exist..** Docker ps: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 没有显示任何容器
Springboot gradle项目打包jar web页面无法正常访问
最开始报错: ``` The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] ``` ![图片说明](https://img-ask.csdn.net/upload/201910/14/1571057814_406699.png) 然后我根据: [link](https://stackoverflow.com/questions/57708552/the-apr-based-apache-tomcat-native-library-was-not-found-on-the-java-library-pat )添加了缺少的native 再次启动: ``` 16:33:11.191 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode! 16:33:11.464 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data repositories in DEFAULT mode. 16:33:12.521 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface cn.waner.was.domain.LogSearchHistoryRepository. 16:33:12.526 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface cn.waner.was.event.repository.EventRecordRepository. 16:33:12.528 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface cn.waner.was.event.repository.EventRepository. 16:33:13.687 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface cn.waner.was.logrecord.repository.RecordEventRepository. 16:33:13.688 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data Elasticsearch - Could not safely identify store assignment for repository candidate interface cn.waner.was.repository.AssetIdentifierRepository. 16:33:14.204 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 2528ms. Found 1 repository interfaces. 16:33:14.835 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode! 16:33:14.835 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data repositories in DEFAULT mode. 16:33:14.862 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface cn.waner.was.logrecord.repository.LogRecordRepository. 16:33:14.972 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 136ms. Found 5 repository interfaces. 16:33:21.041 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.kafka.annotation.KafkaBootstrapConfiguration' of type [org.springframework.kafka.annotation.KafkaBootstrapConfiguration$$EnhancerBySpringCGLIB$$8e6398e7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 16:33:33.221 [main] INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 443 (https) 9443 (http) 16:33:33.438 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["https-openssl-nio-0.0.0.0-443"] 16:33:33.549 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-9443"] 16:33:35.227 [main] INFO org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read 16:33:35.230 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] 16:33:35.231 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/9.0.12 16:33:35.245 [main] INFO org.apache.catalina.core.AprLifecycleListener - Loaded APR based Apache Tomcat Native library [1.2.23] using APR version [1.4.8]. 16:33:35.245 [main] INFO org.apache.catalina.core.AprLifecycleListener - APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 16:33:35.245 [main] INFO org.apache.catalina.core.AprLifecycleListener - APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 16:33:35.249 [main] INFO org.apache.catalina.core.AprLifecycleListener - OpenSSL successfully initialized [OpenSSL 1.0.2k-fips 26 Jan 2017] 16:33:35.490 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 16:33:35.491 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 34757 ms 16:33:35.631 [main] INFO org.springframework.boot.web.servlet.ServletRegistrationBean - Servlet dispatcherServlet mapped to [/] 16:33:35.634 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*] 16:33:35.635 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 16:33:35.635 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'formContentFilter' to: [/*] 16:33:35.635 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*] 16:33:35.635 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'methodFilter' to: [/*] 16:33:35.635 [main] INFO org.springframework.boot.web.servlet.FilterRegistrationBean - Mapping filter: 'XFrameFilter' to: [/*] ``` 还是无法正常访问web页面,程序也未出现任何报错信息,觉得很是离奇,希望指点
求救,阿里云Linux服务器Tomcat报错,被折磨了一下午也没找到问题出在哪儿。
我的流程:1、阿里云Linux,重装系统盘CentOS7.6 x64,清空磁盘内容。2、用Xftp传输apache-tomcat-7.0.82和jdk-7u80-linux-x64.tar.gz并用指令解压。3、向etc/profile内export JAVA环境变量并用sorce刷新文件。4、用vim指令更改Tomcat/conf/server.xml中的8080接口为80。5、转到/bin目录下启动startup.sh,可ping通但外网无法访问,随后启动shutdown.sh。 第5步的控制台内容如下: [root@iZj6c1q38vbvbchvmhrp3gZ bin]# ./startup.sh Using CATALINA_BASE: /usr/web/apache-tomcat-7.0.82 Using CATALINA_HOME: /usr/web/apache-tomcat-7.0.82 Using CATALINA_TMPDIR: /usr/web/apache-tomcat-7.0.82/temp Using JRE_HOME: /usr/web/jdk1.7.0_80/jre Using CLASSPATH: /usr/web/apache-tomcat-7.0.82/bin/bootstrap.jar:/usr/web/apache-tomcat-7.0.82/bin/tomcat-juli.jar Tomcat started. [root@iZj6c1q38vbvbchvmhrp3gZ bin]# ./shutdown.sh Using CATALINA_BASE: /usr/web/apache-tomcat-7.0.82 Using CATALINA_HOME: /usr/web/apache-tomcat-7.0.82 Using CATALINA_TMPDIR: /usr/web/apache-tomcat-7.0.82/temp Using JRE_HOME: /usr/web/jdk1.7.0_80/jre Using CLASSPATH: /usr/web/apache-tomcat-7.0.82/bin/bootstrap.jar:/usr/web/apache-tomcat-7.0.82/bin/tomcat-juli.jar Oct 07, 2017 3:12:04 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Could not contact localhost:8005. Tomcat may not be running. Oct 07, 2017 3:12:05 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:208) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:499) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:430) [root@iZj6c1q38vbvbchvmhrp3gZ bin]# 不尽感激!!!!
linux服务器通过nginx配置正向代理服务器,可以上网启动tomcat连不上数据库
首先描述下我现在的问题: 我在我本地电脑装了一个虚拟机,虚拟机创建了两个linux系统(CentOS6.5),我在一个系统上配置了两个网卡,当做代理服务器,以下简称A机器,另一个系统配置了一个网卡,通过A机器来上网,以下简称B机器,下面简单说下这两个机器的配置情况: A机器:两个网卡,192.168.0.x是外网,通过桥接的方式连接,192.168.176.x内网,通过NAT的方式连接 ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493346575_716608.png) 具体的网络配置: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493346860_926877.png) ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493346908_744133.png) B机器:一个网卡只有内网地址(192.168.176.129),通过NAT的方式连接, ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493346468_723498.png) 具体的网络配置: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493346739_754369.png) 另外我是通过nginx做的正向代理,也就是从B到A通过nginx来访问外网,下面看下A机器中nginx配置: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493347203_702863.png) 目前我把A和B的防火墙都已经关了,在B机器的浏览器中配置了代理,代理如下: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493347065_767865.png) 我现在的问题是B浏览器可以访问外网,但是我在B中通过命令行ping 192.168.0.249可以ping通,ping192.168.0.38ping不通, 因为0.38是我们数据库的地址,但是现在ping不通,所以我在B中启动tomcat服务器的时候报错,连接数据库超时。 请问现在的问题在哪里,我应该怎么解决呢,我在B中的命令行中已经执行了export http_proxy=http://192.168.176.128:8090这个命令。 补充下A机器的路由列表: ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493360423_781664.png) B机器的路由列表 ![图片说明](https://img-ask.csdn.net/upload/201704/28/1493360430_527374.png)
终于明白阿里百度这样的大公司,为什么面试经常拿ThreadLocal考验求职者了
点击上面↑「爱开发」关注我们每晚10点,捕获技术思考和创业资源洞察什么是ThreadLocalThreadLocal是一个本地线程副本变量工具类,各个线程都拥有一份线程私...
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小人工智障。 思路可以运用在不同地方,主要介绍的是思路。
Python 植物大战僵尸代码实现(2):植物卡片选择和种植
这篇文章要介绍的是: - 上方植物卡片栏的实现。 - 点击植物卡片,鼠标切换为植物图片。 - 鼠标移动时,判断当前在哪个方格中,并显示半透明的植物作为提示。
死磕YOLO系列,YOLOv1 的大脑、躯干和手脚
YOLO 是我非常喜欢的目标检测算法,堪称工业级的目标检测,能够达到实时的要求,它帮我解决了许多实际问题。 这就是 YOLO 的目标检测效果。它定位了图像中物体的位置,当然,也能预测物体的类别。 之前我有写博文介绍过它,但是每次重新读它的论文,我都有新的收获,为此我准备写一个系列的文章来详尽分析它。这是第一篇,从它的起始 YOLOv1 讲起。 YOLOv1 的论文地址:https://www.c
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的 回答 - Bravo Yeung,获得该问题下回答中得最高赞(236赞和1枚专业勋章),对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalk
记一次腾讯面试:进程之间究竟有哪些通信方式?如何通信? ---- 告别死记硬背
有一次面试的时候,被问到进程之间有哪些通信方式,不过由于之前没深入思考且整理过,说的并不好。想必大家也都知道进程有哪些通信方式,可是我猜很多人都是靠着”背“来记忆的,所以今天的这篇文章,讲给大家详细着讲解他们是如何通信的,让大家尽量能够理解他们之间的区别、优缺点等,这样的话,以后面试官让你举例子,你也能够顺手拈来。 1、管道 我们来看一条 Linux 的语句 netstat -tulnp | gr...
20行Python代码爬取王者荣耀全英雄皮肤
引言 王者荣耀大家都玩过吧,没玩过的也应该听说过,作为时下最火的手机MOBA游戏,咳咳,好像跑题了。我们今天的重点是爬取王者荣耀所有英雄的所有皮肤,而且仅仅使用20行Python代码即可完成。 准备工作 爬取皮肤本身并不难,难点在于分析,我们首先得得到皮肤图片的url地址,话不多说,我们马上来到王者荣耀的官网: 我们点击英雄资料,然后随意地选择一位英雄,接着F12打开调试台,找到英雄原皮肤的图片
网络(8)-HTTP、Socket、TCP、UDP的区别和联系
TCP/IP协议是传输层协议,主要解决数据如何在网络中传输,而HTTP是应用层协议,主要解决如何包装数据。 一、TCP与UDP的不同 1. 是否需要建立连接。 UDP在传送数据之前不需要先建立连接;TCP则提供面向连接的服务; 2. 是否需要给出确认 对方的传输层在收到UDP报文后,不需要给出任何确认,而 TCP需要给出确认报文,要提供可靠的、面向连接的传输服务。 3.虽然UDP不提供可靠交...
简明易理解的@SpringBootApplication注解源码解析(包含面试提问)
欢迎关注文章系列 ,关注我 《提升能力,涨薪可待》 《面试知识,工作可待》 《实战演练,拒绝996》 欢迎关注我博客,原创技术文章第一时间推出 也欢迎关注公 众 号【Ccww笔记】,同时推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《提升能力,涨薪可待篇》- @SpringBootApplication注解源码解析 一、@SpringBootApplication 的作用是什
防劝退!数据结构和算法难理解?可视化动画带你轻松透彻理解!
大家好,我是 Rocky0429,一个连数据结构和算法都不会的蒟蒻… 学过数据结构和算法的都知道这玩意儿不好学,没学过的经常听到这样的说法还没学就觉得难,其实难吗?真难! 难在哪呢?当年我还是个小蒟蒻,初学数据结构和算法的时候,在忍着枯燥看完定义原理,之后想实现的时候,觉得它们的过程真的是七拐八绕,及其难受。 在简单的链表、栈和队列这些我还能靠着在草稿上写写画画理解过程,但是到了数论、图...
西游记团队中如果需要裁掉一个人,会先裁掉谁?
2019年互联网寒冬,大批企业开始裁员,下图是网上流传的一张截图: 裁员不可避免,那如何才能做到不管大环境如何变化,自身不受影响呢? 我们先来看一个有意思的故事,如果西游记取经团队需要裁员一名,会裁掉谁呢,为什么? 西游记团队组成: 1.唐僧 作为团队teamleader,有很坚韧的品性和极高的原则性,不达目的不罢休,遇到任何问题,都没有退缩过,又很得上司支持和赏识(直接得到唐太宗的任命,既给
开挂的人生!那些当选院士,又是ACM/IEEE 双料Fellow的华人学者们
昨日,2019年两院院士正式官宣,一时间抢占了各大媒体头条。 朋友圈也是一片沸腾,奔走相告,赶脚比自己中了大奖还嗨皮! 谁叫咱家导师就是这么厉害呢!!! 而就在最近,新一年度的IEEE/ACM Fellow也将正式公布。 作为学术届的顶级荣誉,不自然地就会将院士与Fellow作比较,到底哪个含金量更高呢? 学术君认为,同样是专业机构对学者的认可,考量标准不一,自然不能一概而论。 但...
聊聊C语言和指针的本质
坐着绿皮车上海到杭州,24块钱,很宽敞,在火车上非正式地聊几句。 很多编程语言都以 “没有指针” 作为自己的优势来宣传,然而,对于C语言,指针却是与生俱来的。 那么,什么是指针,为什么大家都想避开指针。 很简单, 指针就是地址,当一个地址作为一个变量存在时,它就被叫做指针,该变量的类型,自然就是指针类型。 指针的作用就是,给出一个指针,取出该指针指向地址处的值。为了理解本质,我们从计算机模型说起...
Python语言高频重点汇总
Python语言高频重点汇总 GitHub面试宝典仓库——点这里跳转 文章目录Python语言高频重点汇总**GitHub面试宝典仓库——点这里跳转**1. 函数-传参2. 元类3. @staticmethod和@classmethod两个装饰器4. 类属性和实例属性5. Python的自省6. 列表、集合、字典推导式7. Python中单下划线和双下划线8. 格式化字符串中的%和format9.
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观...
代码详解:如何用Python快速制作美观、炫酷且有深度的图表
全文共12231字,预计学习时长35分钟生活阶梯(幸福指数)与人均GDP(金钱)正相关的正则图本文将探讨三种用Python可视化数据的不同方法。以可视化《2019年世界幸福报告》的数据为例,本文用Gapminder和Wikipedia的信息丰富了《世界幸福报告》数据,以探索新的数据关系和可视化方法。《世界幸福报告》试图回答世界范围内影响幸福的因素。报告根据对“坎特里尔阶梯问题”的回答来确定幸...
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般程序猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般程序员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
(经验分享)作为一名普通本科计算机专业学生,我大学四年到底走了多少弯路
今年正式步入了大四,离毕业也只剩半年多的时间,回想一下大学四年,感觉自己走了不少弯路,今天就来分享一下自己大学的学习经历,也希望其他人能不要走我走错的路。 (一)初进校园 刚进入大学的时候自己完全就相信了高中老师的话:“进入大学你们就轻松了”。因此在大一的时候自己学习的激情早就被抛地一干二净,每天不是在寝室里玩游戏就是出门游玩,不过好在自己大学时买的第一台笔记本性能并不是很好,也没让我彻底沉...
如何写一篇技术博客,谈谈我的看法
前言 只有光头才能变强。 文本已收录至我的GitHub精选文章,欢迎Star:https://github.com/ZhongFuCheng3y/3y 我一直推崇学技术可以写技术博客去沉淀自己的知识,因为知识点实在是太多太多了,通过自己的博客可以帮助自己快速回顾自己学过的东西。 我最开始的时候也是只记笔记,认为自己能看得懂就好。但如果想验证自己是不是懂了,可以写成技术博客。在写技术博客的...
字节跳动面试官这样问消息队列:分布式事务、重复消费、顺序消费,我整理了一下
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式和人才交流群,欢迎Star和完善 前言 消息队列在互联网技术存储方面使用如此广泛,几乎所有的后端技术面试官都要在消息队列的使用和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸...
面试还搞不懂redis,快看看这40道面试题(含答案和思维导图)
Redis 面试题 1、什么是 Redis?. 2、Redis 的数据类型? 3、使用 Redis 有哪些好处? 4、Redis 相比 Memcached 有哪些优势? 5、Memcache 与 Redis 的区别都有哪些? 6、Redis 是单进程单线程的? 7、一个字符串类型的值能存储最大容量是多少? 8、Redis 的持久化机制是什么?各自的优缺点? 9、Redis 常见性...
大学四年自学走来,这些珍藏的「实用工具/学习网站」我全贡献出来了
知乎高赞:文中列举了互联网一线大厂程序员都在用的工具集合,涉及面非常广,小白和老手都可以进来看看,或许有新收获。
互联网公司的裁员,能玩出多少种花样?
裁员,也是一门学问,可谓博大精深!以下,是互联网公司的裁员的多种方法:-正文开始-135岁+不予续签的理由:千禧一代网感更强。95后不予通过试用期的理由:已婚已育员工更有责任心。2通知接下来要过苦日子,让一部分不肯同甘共苦的员工自己走人,以“兄弟”和“非兄弟”来区别员工。3强制996。员工如果平衡不了工作和家庭,可在离婚或离职里二选一。4不布置任何工作,但下班前必须提交千字工作日报。5不给活干+...
【设计模式】单例模式的八种写法分析
网上泛滥流传单例模式的写法种类,有说7种的,也有说6种的,当然也不排除说5种的,他们说的有错吗?其实没有对与错,刨根问底,写法终究是写法,其本质精髓大体一致!因此完全没必要去追究写法的多少,有这个时间还不如跟着宜春去网吧偷耳机、去田里抓青蛙得了,一天天的....
《面试宝典》:检验是否为合格的初中级程序员的面试知识点,你都知道了吗?查漏补缺
欢迎关注文章系列,一起学习 《提升能力,涨薪可待篇》 《面试知识,工作可待篇》 《实战演练,拒绝996篇》 也欢迎关注公 众 号【Ccww笔记】,原创技术文章第一时间推出 如果此文对你有帮助、喜欢的话,那就点个赞呗,点个关注呗! 《面试知识,工作可待篇》-Java笔试面试基础知识大全 前言 是不是感觉找工作面试是那么难呢? 在找工作面试应在学习的基础进行总结面试知识点,工作也指日可待,欢...
关于研发效能提升的思考
研发效能提升是最近比较热门的一个话题,本人根据这几年的工作心得,做了一些思考总结,由于个人深度有限,暂且抛转引入。 三要素 任何生产力的提升都离不开这三个因素:人、流程和工具,少了其中任何一个因素都无法实现。 人,即思想,也就是古人说的“道”,道不同不相为谋,是制高点,也是高层建筑的基石。 流程,即方法,也是古人说的“法”。研发效能的提升,也就是要提高投入产出比,既要增加产出,也要减...
微博推荐算法简述
在介绍微博推荐算法之前,我们先聊一聊推荐系统和推荐算法。有这样一些问题:推荐系统适用哪些场景?用来解决什么问题、具有怎样的价值?效果如何衡量? 推荐系统诞生很早,但真正被大家所重视,缘起于以”facebook”为代表的社会化网络的兴起和以“淘宝“为代表的电商的繁荣,”选择“的时代已经来临,信息和物品的极大丰富,让用户如浩瀚宇宙中的小点,无所适从。推荐系统迎来爆发的机会,变得离用户更近: 快...
相关热词 c# 时间比天数 c# oracle查询 c# 主动推送 事件 c# java 属性 c# 控制台 窗体 c# 静态类存值 c#矢量作图 c#窗体调用外部程式 c# enum是否合法 c# 如何卸载引用
立即提问