[JavaSE实验] JDBC and MySQL{ public static void main(String[] args) { Connection con = null; Statement st = null; ResultSet rs = null; String url = "jdbc:mysql://localhost:3306/testdb"; con = DriverManager.getConnection(url, user, password); st = con.createStatement(); rs = st.executeQuery("SELECT VERSION()"); if (rs.next()) { null) { rs.close(); } if (st != null) { st.close(); } if (con != null) {0 码力 | 23 页 | 2.52 MB | 1 年前3
Apache ActiveMQ Artemis 2.3.0 User Manualthe client side: ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://localho st:61617"); Connection jmsConnection = connectionFactory.createConnection(); Configuring the Netty transport route to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 186 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message0 码力 | 420 页 | 3.03 MB | 1 年前3
Apache ActiveMQ Artemis 2.6.0 User Manualthe client side: ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://localho st:61617"); Connection jmsConnection = connectionFactory.createConnection(); Configuring the Netty transport route to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native latest message will be kept in the queue: // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message0 码力 | 445 页 | 3.14 MB | 1 年前3
Apache ActiveMQ Artemis 2.4.0 User Manualserver-out:17:30:25,335 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-st omp-protocol]. Adding protocol support for: STOMP [INFO] awaiting server to start server-out:17:30:25 message will be kept in the queue: // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value property set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 265 页 | 2.84 MB | 1 年前3
Apache ActiveMQ Artemis 2.1.0 User Manualroute to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 172 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 407 页 | 1.93 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.5 User Manualroute to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 152 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 399 页 | 1.61 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.1 User Manualroute to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 152 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 399 页 | 1.61 MB | 1 年前3
Apache ActiveMQ Artemis 2.2.0 User Manualroute to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 172 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 407 页 | 1.93 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.2 User Manualroute to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native in the queue: Last-Value Queues 152 // send 1st message with Last-Value property set to STOCK_NAME TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set"); message here: Owner: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Issuer: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown Serial number: 4537c82e Valid from: Thu Oct0 码力 | 399 页 | 1.61 MB | 1 年前3
Apache ActiveMQ Artemis 2.8.0 User Manualthe client side: ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("tcp://localho st:61617"); Connection jmsConnection = connectionFactory.createConnection(); Configuring the Netty transport route to host 09:50:10,656 WARN [org.apache.activemq.artemis.core.server.NetworkHealthCheck] Ho st is down: java.net.ConnectException: Host is down at java.net.Inet6AddressImpl.isReachable0(Native message will be kept in the queue: // send 1st message with Last-Value property `reuters_code` set to `VOD` TextMessage message = session.createTextMessage("1st message with Last-Value prope rty set");0 码力 | 495 页 | 5.09 MB | 1 年前3
共 260 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26













