Process installation problem with 5.10.1 xp rest

1. Environment :tomcat-7.0.22, bonita 5.10.1, jdk1.6.0_25

2. Problme:When I installed the bonita process with xp rest, it took long time, and nothing happened at last.When I checked in the tomcat log, there is 500 error code.But sometimes it works to upload.Could you help to give any clue?