2023-03-31 10:12

@杜福忠 我刚看了,DruidPlugin里边没有start这个
DataSource ds = new DataSource() {

@Override
public T unwrap(Class iface) throws SQLException {
// TODO Auto-generated method stub
return null;
}

@Override
public boolean isWrapperFor(Class iface) throws SQLException {
// TODO Auto-generated method stub
return false;
}

@Override
public void setLoginTimeout(int seconds) throws SQLException {
// TODO Auto-generated method stub

}

@Override
public void setLogWriter(PrintWriter out) throws SQLException {
// TODO Auto-generated method stub

}

@Override
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
// TODO Auto-generated method stub
return null;
}

@Override
public int getLoginTimeout() throws SQLException {
// TODO Auto-generated method stub
return 0;
}

@Override
public PrintWriter getLogWriter() throws SQLException {
// TODO Auto-generated method stub
return null;
}

@Override
public Connection getConnection(String username, String password) throws SQLException {
// TODO Auto-generated method stub
return null;
}

@Override
public Connection getConnection() throws SQLException {
// TODO Auto-generated method stub
return null;
}

};

2023-03-30 11:02

DruidDataSource 默认是无限重连,导致服务卡死。

2022-02-23 09:20

@JFinal 我这个方法是确实存在CardController中的,数据都正常请求,就是一直报这个错。

2021-10-22 15:08

@杜福忠 嗯嗯,直接重写就行了,谢谢,非常感谢。

2019-03-29 15:25

@JFinal 不行,把常见的中文编码都用了,依然乱码

2019-03-29 15:18

我看这个也没有解决!http://www.jfinal.com/feedback/5081

2019-02-19 10:06

获取项目路径,然后把upload中的删除掉@yunmuzhou

2019-01-11 15:39

需要使用 sh ./start.sh

2019-01-11 12:42

我查看了,包也存在,并且shell也是支持的

[root@localhost ht_data_service]# ls
config lib start.bat start.sh stop.sh webapp
[root@localhost ht_data_service]# cd lib
[root@localhost lib]# ls
c3p0-0.9.1.jar javax.servlet-api-4.0.1.jar slf4j-log4j12-1.7.5.jar
cglib-nodep-3.2.5.jar jaxen-1.1.1.jar undertow-core-2.0.16.Final.jar
cos-2017.5.jar jboss-logging-3.3.2.Final.jar undertow-servlet-2.0.16.Final.jar
dom4j-1.6.1.jar jdom-1.0.jar xalan-2.6.0.jar
druid-1.0.29.jar jfinal-3.4.jar xercesImpl-2.6.2.jar
ehcache-core-2.6.11.jar jfinal-undertow-1.4.jar xml-apis-1.0.b2.jar
fastjson-1.2.38.jar log4j-1.2.17.jar xmlParserAPIs-2.6.2.jar
ht_data_service-3.2.jar mysql-connector-java-5.1.20.jar xnio-api-3.3.8.Final.jar
hutool-all-4.1.14.jar ojdbc14-10.2.0.4.0.jar xnio-nio-3.3.8.Final.jar
icu4j-2.6.1.jar slf4j-api-1.7.5.jar xom-1.0.jar
[root@localhost lib]# cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh
[root@localhost lib]#