ok, i forgot that at the beginning of the startup script (/..../apache-tomcat../bin/startup.sh) of your tomcat installation, you must write a line like
export LD_LIBRARY_PATH= path_where_you_have_libmapscript.so
--
Alejandro Rico
ok, i forgot that at the beginning of the startup script (/..../apache-tomcat../bin/startup.sh) of your tomcat installation, you must write a line like