我正在使用带有MySQL DB的jasperserver 5.6.1社区版以及mariadb-client 1.1.2。一旦我将手动构建的jasperserver.war文件部署到运行在Linux上的远程服务器上,它就会向我显示war文件已部署。但是我在jasperserver.log文件中收到以下错误消息的404错误。
Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to 192.100.151.113:3306 : Connection refused
at org.mariadb.jdbc.internal.SQLExceptionMapper.get(SQLExceptionMapper.java:136) [mariadb-java-client-1.1.2.jar:]
at org.mariadb.jdbc.internal.SQLExceptionMapper.throwException(SQLExceptionMapper.java:106) [mariadb-java-client-1.1.2.jar:]
at org.mariadb.jdbc.Driver.connect(Driver.java:114) [mariadb-java-client-1.1.2.jar:]
at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:260)
... 117 more
Caused by: org.mariadb.jdbc.internal.common.QueryException: Could not connect to 192.100.151.113:3306 : Connection refused
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:597) [mariadb-java-client-1.1.2.jar:]
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.<init>(MySQLProtocol.java:216) [mariadb-java-client-1.1.2.jar:]
at org.mariadb.jdbc.Driver.connect(Driver.java:110) [mariadb-java-client-1.1.2.jar:]
... 118 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) [rt.jar:1.6.0_45]
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) [rt.jar:1.6.0_45]
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) [rt.jar:1.6.0_45]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) [rt.jar:1.6.0_45]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [rt.jar:1.6.0_45]
at java.net.Socket.connect(Socket.java:529) [rt.jar:1.6.0_45]
at java.net.Socket.connect(Socket.java:478) [rt.jar:1.6.0_45]
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:303) [mariadb-java-client-1.1.2.jar:]
at org.mariadb.jdbc.internal.mysql.MySQLProtocol.connect(MySQLProtocol.java:593) [mariadb-java-client-1.1.2.jar:]
... 120 more
任何想法?提前谢谢..