views:

755

answers:

1

I have an external Tomcat server configured to run J2EE applications on my development (Gentoo Linux install) machine. This works great if the server is started prior to opening Netbeans and deploying the code [within the IDE]. This fails when I try to restart the server or to debug the server application. The error I get is that it is unable to find "catalina.sh" and the shutdown/start scripts for tomcat.

The Gentoo guide for this suggests that the scripts were outdated and were replaced with the init.d scripts. Does anyone have a suggestion on where I could find these scripts or how they solved this issue?

+1  A: 

The lack of a script is due to an issue with the Gentoo Tomcat ebuild... all of the script files were in the bin directory of the src build.

Gentoo Bug Site

Solution: 1. un-tar the src

  1. Copy all of the script files into the tomcat/bin directory

  2. Change group ownership of the script files to tomcat

  3. Enable execute and write group permissions to the script files

monksy