Hi,

I get below exception in CA log. I have noticed that this has been fixed in
Stratos 4.1.0 RC2 [1]. In latest codebase [2] I can see the fix is not
available (Check line no 267).
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "agent.py", line 100, in run
    publisher.publish_instance_activated_event(Config.health_stat_plugin)
  File "/opt/apache-stratos-python-cartridge-agent-4.1.1/publisher.py",
line 80, in publish_instance_activated_event
    int(Config.read_property("port.check.timeout", critical=False)))
  File
"/opt/apache-stratos-python-cartridge-agent-4.1.1/modules/util/cartridgeagentutils.py",
line 80, in wait_until_ports_active
    active = check_ports_active(ip_address, ports)
  File
"/opt/apache-stratos-python-cartridge-agent-4.1.1/modules/util/cartridgeagentutils.py",
line 109, in check_ports_active
    s.connect((ip_address, int(port)))
ValueError: invalid literal for int() with base 10: "'9763"


[1]
https://github.com/apache/stratos/commit/819f96e57c998841a9a687c3c728d145e9f9e6ee
[2]
https://github.com/apache/stratos/blame/master/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py


Please advice.

-- 
Thanks and Regards,

Punnadi Gunarathna
Senior Software Engineer,
WSO2, Inc.; http://wso2.com <http://wso2>
Blog: http://hi-my-world.blogspot.com/
Tel : 94 11 214 5345
Fax :94 11 2145300



<http://lalajisureshika.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to