SEC-agent does not work

144 views
Skip to first unread message

J.M.

unread,
Feb 24, 2016, 2:38:34 AM2/24/16
to Fujitsu RunMyProcess Developer Community
Hi,

Some months ago, I was testing the SEC creating some Adapters and so on.
However, now I'm trying to use de SEC and it's not working.

The domain, the provider and the connector (Check SEC Manager Status) are completely the same, and config files too.

I'm following the tutorial of the documentation, and If I run the Protocol Manager and write localhost in a web browser I can see the message, exactly as it is shown in the doc. However, I'm getting this error when I run the conector agent:
Hi,

Some months ago, I was testing the SEC creating some Adapters and so on.
However, now I'm trying to use de SEC and its not working

The domain, the provider and the connector (Check SEC Manager Status) are completely the same, and config files too.

I'm following the tutorial of the documentation, and If I run the Protocol Manager and write localhost in a web browser I can see the message, exactly as it is shown in the doc. However, I'm getting this error whe I run the conector agent:
C:\RunMyProcess\sec-agent-zicatela>java -Djava.net.preferIPv4Stack=true -jar ./l
ib/sec-agent-zicatela.jar --localConfigFile .\config\localConfig.xml --rulesFile
.\config\resourceRules.xml -log4jPropertiesFile .\config\log4j.properties
Setting iddle timeout to 60000 ms.
Setting accept timeout to 60000 ms.
Setting udp timeout to 600000 ms.
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at net.sourceforge.jsocks.socks.ProxyServer.start(ProxyServer.java:166)
at com.google.dataconnector.client.JsocksStarter.run(JsocksStarter.java:
105)
Setting iddle timeout to 60000 ms.
Setting accept timeout to 60000 ms.
Setting udp timeout to 600000 ms.
Setting iddle timeout to 60000 ms.
Setting accept timeout to 60000 ms.
Setting udp timeout to 600000 ms.
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at net.sourceforge.jsocks.socks.ProxyServer.start(ProxyServer.java:162)
at com.google.dataconnector.client.JsocksStarter.run(JsocksStarter.java:
105)

and the second one is repeated with every retry.

The log file says:

24 feb 2016 07:28:18,541 [main] INFO com.google.dataconnector.client.SdcConnection - Connecting to SDC server
24 feb 2016 07:28:18,541 [main] INFO com.google.dataconnector.util.SSLSocketFactoryInit - Using SSL for client connections.
24 feb 2016 07:28:18,551 [com.google.dataconnector.client.JsocksStarter] INFO com.google.dataconnector.client.JsocksStarter - Starting JSOCKS listener thread on port 1080
24 feb 2016 07:28:18,551 [com.google.dataconnector.client.JsocksStarter] INFO net.sourceforge.jsocks.socks.ProxyServer - Starting SOCKS Proxy on:127.0.0.1:1080
24 feb 2016 07:28:30,849 [main] FATAL com.google.dataconnector.client.Client - Connection failed.
com.google.dataconnector.util.ConnectionException: java.net.UnknownHostException: sdc.runmyprocess.com
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:211)
at com.google.dataconnector.client.Client.parseFlagsValidateAndConnect(Client.java:119)
at com.google.dataconnector.client.Client.main(Client.java:179)
Caused by: java.net.UnknownHostException: sdc.runmyprocess.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:149)
... 2 more
24 feb 2016 07:28:30,849 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.ResourcesFileWatcher
24 feb 2016 07:28:30,849 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.JsocksStarter
24 feb 2016 07:28:32,852 [main] INFO com.google.dataconnector.client.Client - Starting agent after 1 unsuccessful attempts. Next connect in 2000 milliseconds.
24 feb 2016 07:28:32,862 [main] INFO com.google.dataconnector.client.SdcConnection - Connecting to SDC server
24 feb 2016 07:28:32,862 [main] INFO com.google.dataconnector.util.SSLSocketFactoryInit - Using SSL for client connections.
24 feb 2016 07:28:32,862 [main] FATAL com.google.dataconnector.client.Client - Connection failed.
com.google.dataconnector.util.ConnectionException: java.net.UnknownHostException: sdc.runmyprocess.com
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:211)
at com.google.dataconnector.client.Client.parseFlagsValidateAndConnect(Client.java:119)
at com.google.dataconnector.client.Client.main(Client.java:179)
Caused by: java.net.UnknownHostException: sdc.runmyprocess.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:149)
... 2 more
24 feb 2016 07:28:32,862 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.ResourcesFileWatcher
24 feb 2016 07:28:32,862 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.JsocksStarter
24 feb 2016 07:28:32,862 [main] WARN com.google.dataconnector.client.JsocksStarter - Jsocks was never started, however jsocks starter thread was. Shutting down
24 feb 2016 07:28:32,862 [com.google.dataconnector.client.JsocksStarter] INFO com.google.dataconnector.client.JsocksStarter - Starting JSOCKS listener thread on port 1080
24 feb 2016 07:28:32,862 [com.google.dataconnector.client.JsocksStarter] INFO net.sourceforge.jsocks.socks.ProxyServer - Starting SOCKS Proxy on:127.0.0.1:1080
24 feb 2016 07:28:36,868 [main] INFO com.google.dataconnector.client.Client - Starting agent after 2 unsuccessful attempts. Next connect in 4000 milliseconds.
24 feb 2016 07:28:36,878 [main] INFO com.google.dataconnector.client.SdcConnection - Connecting to SDC server
24 feb 2016 07:28:36,878 [main] INFO com.google.dataconnector.util.SSLSocketFactoryInit - Using SSL for client connections.
24 feb 2016 07:28:36,878 [main] FATAL com.google.dataconnector.client.Client - Connection failed.
com.google.dataconnector.util.ConnectionException: java.net.UnknownHostException: sdc.runmyprocess.com
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:211)
at com.google.dataconnector.client.Client.parseFlagsValidateAndConnect(Client.java:119)
at com.google.dataconnector.client.Client.main(Client.java:179)
Caused by: java.net.UnknownHostException: sdc.runmyprocess.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.google.dataconnector.client.SdcConnection.connect(SdcConnection.java:149)
... 2 more
24 feb 2016 07:28:36,878 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.ResourcesFileWatcher
24 feb 2016 07:28:36,878 [main] INFO com.google.dataconnector.util.ShutdownManager - Issuing shutdown for com.google.dataconnector.client.JsocksStarter
24 feb 2016 07:28:36,878 [main] WARN com.google.dataconnector.client.JsocksStarter - Jsocks was never started, however jsocks starter thread was. Shutting down
24 feb 2016 07:28:36,888 [com.google.dataconnector.client.JsocksStarter] INFO com.google.dataconnector.client.JsocksStarter - Starting JSOCKS listener thread on port 1080
24 feb 2016 07:28:44,879 [main] INFO com.google.dataconnector.client.Client - Starting agent after 3 unsuccessful attempts. Next connect in 8000 milliseconds.


... and the last one repeated again with every retry.

It's supposed that the firewall has a rule for the IP 52.28.206.190, which is mentioned in the documentation.

What is going on?
How can I make the SEC works again?


Thanks in advance and regards.

Murali

unread,
Feb 24, 2016, 7:23:02 AM2/24/16
to Fujitsu RunMyProcess Developer Community, javiermm...@gmail.com
Replied to Javier privately on this.
Reply all
Reply to author
Forward
0 new messages