sorry yeah this is what I changed in the binary.
#!/usr/local/bin/bash
(as bash isnt in /bin/bash in freebsd)
# Source function library.
. //usr/local/etc/rc.d/functions
(I have no idea if this is the same as the linux version but I pointed to where I have the same type of file)
# Source networking configuration.
. /etc/rc.conf
(this is where ip's etc. are set in freebsd)
touch /usr/compat/linux/var/lock/subsys/tomcatd
(i have linux compat installed so used the linux compat path which stopped the last error)
with all these changes when I run the command there is no errors on the screen but unfortenatly it doesnt stay running so I guess it simply isn't runnable in freebsd but I will have another look at it tommorow after some sleep. I will also post what other stuff I changed to get it working on FBSD, mostly part 8, thanks for the grea guide tho, I believe this tomcatd is all I need to get thru to have it working.