金曜日, 10月 20, 2006

[EC2] やはりマスカレードからじゃ無理かも

VPNでPCをむりやり固定IP化+amazon-fwを空けてやってみたがやはり失敗。
サーバ側のログを見てみると、やはりマスカレードの影響のだった(PCのローカルIPに向かって通信を失敗している)。

2006/10/20 09:55:03 ERROR - jmeter.samplers.StandardSampleSender: sampleOccurred java.rmi.ConnectIOException: Exception creating connection to: 192.168.11.3; nested exception is:
java.net.NoRouteToHostException: No route to host
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.sampleOccurred(Unknown Source)
at org.apache.jmeter.samplers.StandardSampleSender.SampleOccurred(StandardSampleSender.java:66)
at org.apache.jmeter.samplers.RemoteListenerWrapper.sampleOccurred(RemoteListenerWrapper.java:85)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:239)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:466)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 11 more

2006/10/20 09:55:03 INFO - jmeter.threads.JMeterThread: Thread TEST 1-77 is done

どうするかなー。

0 件のコメント: