laubrence / minchat

基于tomcat 7. 0.56 websocket的在线客服系统
172 stars 90 forks source link

请教 #1

Open shenxs opened 8 years ago

shenxs commented 8 years ago

请问这个要怎么部署,需要注意些什么吗?我直接用mvn编译没有通过

laubrence commented 8 years ago

需要tomcat的websocket 包

laubrence commented 8 years ago

tomcat websocket jar的maven依赖已经更新到pom .xml ,可以直接maven clean install

shenxs commented 8 years ago

thanks 回去试试

shenxs commented 8 years ago

编译好的war包部署到Tomcat上了,但是无法启动

shenxs commented 8 years ago

tomcat的报错信息 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 四月 08, 2016 2:07:23 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/eric] startup failed due to previous errors 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 严重: The web application [/eric] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 严重: The web application [/eric] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-722816128] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-722816128] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1623673048] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1623673048] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-868484748] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-868484748] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1307686390] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1307686390] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-586235399] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-586235399] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-813774497] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-813774497] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-50658053] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-50658053] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1523671338] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1523671338] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-41551182] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-41551182] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-628399403] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-628399403] but has failed to stop it. This is very likely to create a memory leak.

laubrence commented 8 years ago

我用maven 打的war直接丢在tomcat里面是可以运行的

四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.57 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Nov 3 2014 08:39:16 UTC 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.57.0 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Windows 8.1 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 6.3 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: x86 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JAVA_HOME: E:\Program Files\Java\jdk1.7.0_79\jre 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.7.0_79-b15 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: E:\Program Files\apache-tomcat\apache-tomcat-7.0.57 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: E:\Program Files\apache-tomcat\apache-tomcat-7.0.57 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.config.file=E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\conf\logging.properties 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\endorsed 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=E:\Program Files\apache-tomcat\apache-tomcat-7.0.57 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=E:\Program Files\apache-tomcat\apache-tomcat-7.0.57 四月 08, 2016 3:00:59 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\temp 四月 08, 2016 3:00:59 下午 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: E:\Program Files\Java\jdk1.7.0_79\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\Program Files\Java\jdk1.7.0_79\bin;E:\Program Files\Java\jdk1.7.0_79\jre\bin;C:\Python27\Scripts;C:\Python27\Lib\site-packages\pytesseract;E:\Program Files\TortoiseSVN\bin;C:\Python27;E:\Program Files\apache-maven-3.1.1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;E:\Program Files\TortoiseSVN\bin;E:\Program Files\Subversion\bin;C:\Program Files\Redis\;E:\Program Files\nodejs\;C:\Users\Administrator\AppData\Roaming\npm;. 四月 08, 2016 3:01:00 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 四月 08, 2016 3:01:00 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 四月 08, 2016 3:01:00 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 290 ms 四月 08, 2016 3:01:00 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 四月 08, 2016 3:01:00 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.57 四月 08, 2016 3:01:00 下午 org.apache.catalina.startup.HostConfig deployWAR 信息: Deploying web application archive E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric.war 四月 08, 2016 3:01:01 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined 四月 08, 2016 3:01:02 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.findCandidateComponents(244) | Identified candidate component class: file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\com\eric\chat\dao\CtCustomerGuestDao.class] 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.findCandidateComponents(244) | Identified candidate component class: file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\com\eric\chat\dao\CtOnlineCustomerDao.class] 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.findCandidateComponents(244) | Identified candidate component class: file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\com\eric\chat\dao\CtOnlineGuestDao.class] 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.findCandidateComponents(244) | Identified candidate component class: file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\com\eric\chat\dao\CtUserMsgDao.class] 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.findCandidateComponents(244) | Identified candidate component class: file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\com\eric\sys\dao\SysUserDao.class] 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.doScan(164) | Creating MapperFactoryBean with name 'ctCustomerGuestDao' and 'com.eric.chat.dao.CtCustomerGuestDao' mapperInterface 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.doScan(164) | Creating MapperFactoryBean with name 'ctOnlineCustomerDao' and 'com.eric.chat.dao.CtOnlineCustomerDao' mapperInterface 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.doScan(164) | Creating MapperFactoryBean with name 'ctOnlineGuestDao' and 'com.eric.chat.dao.CtOnlineGuestDao' mapperInterface 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.doScan(164) | Creating MapperFactoryBean with name 'ctUserMsgDao' and 'com.eric.chat.dao.CtUserMsgDao' mapperInterface 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] ClassPathMapperScanner.doScan(164) | Creating MapperFactoryBean with name 'sysUserDao' and 'com.eric.sys.dao.SysUserDao' mapperInterface 2016-04-08 15:01:05 DEBUG [localhost-startStop-1] LogFactory.setImplementation(124) | Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter. 2016-04-08 15:01:06 INFO [localhost-startStop-1] DruidDataSource.init(638) | {dataSource-1} inited 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(362) | Property 'configLocation' not specified, using default MyBatis Configuration 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(472) | Parsed mapper file: 'file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\mapper\CtCustomerGuestMapper.xml]' 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(472) | Parsed mapper file: 'file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\mapper\CtOnlineCustomerMapper.xml]' 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(472) | Parsed mapper file: 'file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\mapper\CtOnlineGuestMapper.xml]' 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(472) | Parsed mapper file: 'file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\mapper\CtUserMsgMapper.xml]' 2016-04-08 15:01:06 DEBUG [localhost-startStop-1] SqlSessionFactoryBean.buildSqlSessionFactory(472) | Parsed mapper file: 'file [E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric\WEB-INF\classes\mapper\SysUserMapper.xml]' 2016-04-08 15:01:06 ERROR [localhost-startStop-1] DruidAbstractDataSource.setMaxIdle(918) | maxIdle is deprecated 2016-04-08 15:01:06 INFO [localhost-startStop-1] DruidDataSource.init(638) | {dataSource-2} inited 四月 08, 2016 3:01:08 下午 org.apache.catalina.startup.HostConfig deployWAR 信息: Deployment of web application archive E:\Program Files\apache-tomcat\apache-tomcat-7.0.57\webapps\eric.war has finished in 8,804 ms 四月 08, 2016 3:01:08 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 四月 08, 2016 3:01:08 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 四月 08, 2016 3:01:08 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 8865 ms

laubrence commented 8 years ago

可能是你的tomcat conf配置有问题,建议你用个全新的tomcat的试下,应该没问题的

laubrence commented 8 years ago

现在还有这个问题吗,你是怎么解决的?

2016-04-08 14:24 GMT+08:00 Richard notifications@github.com:

tomcat的报错信息 严重: One or more listeners failed to start. Full details will be found in the appropriate container log file 四月 08, 2016 2:07:23 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [/eric] startup failed due to previous errors 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 严重: The web application [/eric] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc 严重: The web application [/eric] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-722816128] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-722816128] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1623673048] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1623673048] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-868484748] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-868484748] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1307686390] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1307686390] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-586235399] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-586235399] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-813774497] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-813774497] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-50658053] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-50658053] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-1523671338] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-1523671338] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-41551182] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-41551182] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Create-628399403] but has failed to stop it. This is very likely to create a memory leak. 四月 08, 2016 2:07:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads 严重: The web application [/eric] appears to have started a thread named [Druid-ConnectionPool-Destory-628399403] but has failed to stop it. This is very likely to create a memory leak.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/laubrence/minchat/issues/1#issuecomment-207237229

shenxs commented 8 years ago

已经解决了,是因为conf文件夹下面的spring-mybatis.xml 配置文件有问题,没有设置usrname 以及password 然后我自己改了参数,去手动建了数据库就可以跑起来了 不过还有两个参数不知道怎么写

shenxs commented 8 years ago

不过现在无法登陆

devilzhangzzz commented 8 years ago

你好,我发现你给的sql文件有问题,用户表里面的好多字段都没有,然后我把他加上去,知道了用户名和密码是admin,然后登录上去,没有任何人,这个怎么弄呢?

shenxs commented 8 years ago

能把sql文件发我一下吗?

devilzhangzzz commented 8 years ago

您好,我已经发到您的邮箱了。a247820400@gmail.com,请查收

laubrence commented 8 years ago

访客人员地址:http://localhost:8080/chat/guest

客服人员登录地址:http://localhost:8080/chat/customer admin/admin