我把在tomcat下面运行正常的系统,换到了resin下面出现连接数据库错误,
503 Unavailable
javax.servlet.UnavailableException: Initializing application data source
mysql
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:810)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:82)
at com.caucho.server.http.Application.createServlet(Application.java:3114)
at com.caucho.server.http.Application.loadServlet(Application.java:3065)
at com.caucho.server.http.Application.initServlets(Application.java:1923)
at com.caucho.server.http.Application.init(Application.java:1849)
at com.caucho.server.http.VirtualHost.initWars(VirtualHost.java:837)
at com.caucho.server.http.VirtualHost.restartWarDir(VirtualHost.java:744)
at com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1251)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:250)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:595)