Hi all,
    When we restart a server using "./wso2ver.sh restart" It first sends
the signal to kill the process looking at wso2carbon.pid and starts the
server. It kills the server using "kill -term" and sometimes it takes some
time to kill a process. If the server starts before earlier process gets
killed it gives startup exceptions. So I have changed wso2server.sh to wait
until the process gets killed before a restart. I have updated the fix in
the core[1], please update if anyone keeping product specific wso2server.sh
files.

Thanks

    ~sanjaya

[1]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/distribution/kernel/4.0.5/carbon-home/bin/wso2server.sh

-- 
Sanjaya Ratnaweera
Senior Software Engineer; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to