You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ray Holme <ra...@yahoo.com> on 2013/12/15 17:42:27 UTC

slim and trim tomcat - which java is needed

I have discovered that under the conf/localhost and webapps directories, all of the release directories and xml files can be removed, leaving just the application(s) you want running. I could b wrong but I think this also closes some possible security issues, besides keeping a smart-cookie from playing with the examples ...

However I am totally unclear which (if any) java pieces need to be on a distribution machine. Obviously a source machine needs the Java JDK. On a distribution machine, apache compiles JSP code initially so it needs something.

One person told me the JRE should be enough, but another said that Apache/Tomcat actually comes with it's own compiler, and yet another says to have the JDK.  On my Fedora-18 distribution (before I put in the JDK), there is at least one java compiler (/etc/alternatives/javac).

So do we need the JRE or the JDK or can Tomcat work without either on a non-sofware development box???

Re: slim and trim tomcat - which java is needed

Posted by Ray Holme <ra...@yahoo.com>.
Thanks Chuck for hitting the nail on the head - I should have read that first.





On Sunday, December 15, 2013 11:56 AM, "Caldarale, Charles R" <Ch...@unisys.com> wrote:
 
> From: Ray Holme [mailto:rayholme@yahoo.com] 

> Subject: slim and trim tomcat - which java is needed

> So do we need the JRE or the JDK or can Tomcat work without either on 
> a non-sofware development box???

Read the RUNNING.txt file in the standard Tomcat distribution.  If you're using a third-party repackaged version, you'll need to contact the supplier of that version.  Strongly recommend that you use real Tomcat download, since the third-party ones often turn things into mush.

You should also look at this:
http://tomcat.apache.org/tomcat-7.0-doc/security-howto.html

And the security-related items here:
http://wiki.apache.org/tomcat/HowTo

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

RE: slim and trim tomcat - which java is needed

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ray Holme [mailto:rayholme@yahoo.com] 
> Subject: slim and trim tomcat - which java is needed

> So do we need the JRE or the JDK or can Tomcat work without either on 
> a non-sofware development box???

Read the RUNNING.txt file in the standard Tomcat distribution.  If you're using a third-party repackaged version, you'll need to contact the supplier of that version.  Strongly recommend that you use real Tomcat download, since the third-party ones often turn things into mush.

You should also look at this:
http://tomcat.apache.org/tomcat-7.0-doc/security-howto.html

And the security-related items here:
http://wiki.apache.org/tomcat/HowTo

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org