Dear Suresh,
You need to check the below things
1. Check the user ADS_AGENT user on ABAP side and check whether the usr is locked or what.
if locked , then unlock the user and maintain the correct password FP_ICF_DATA_<SID> destination.
2. Check the default trace on java side if you get the error , FP_ICF_DATA_<SID> does not found , then there is a problem with the ADS user on the abap side.
Also try to ping the abap server hostname from Java server and vice versa. If the hostname are not maintained in DNS , then you have to maintain the hostname entries in /etc/hosts file.
Also paste the default trace.
With Regards
Ashutosh Chaturvedi