Solaris 2.5 release - note dates and the first version of
Tomcat 3.0 was in 2000. Note that
3.0 was the original release (shows this on the bottom of the page).
Solaris 8 came out the same year as the first version of Tomcat. I doubt that there is a version that will be 'compatible' in the way you are looking for it. The best you can do is load what ever version you can and see if it works. Suggest testing it out or upgrading Solaris.