Hi Swati,
Solman is a dual stack system. Java instance has to be exported and imported into target system to avoid such hostname conflicts.
I guess you may need to perform restoration again. Abap stack using backup restore while java stack using export/import method.
Regards,
Deepak Kori