Unable to create synchronization project for connecting to Active Directory


We are using version 8.1.3. We have integrated with one AD domain in One Identity Manager and now trying to integrate with another AD domain. We do not have direct  DB connectivity and it is via Application server. When we try to create AD project to connect to another AD domain, it takes lot of time and when we click on Finish at the last step without checking "Save and Activate the project", it gets stuck for 5-6 mins and at the end throws an error "Application server returned an error". When I checked trace logs of app server, it shows "There is no transaction to commit". Can someone please help? Thank you.