Reputation: 1149
Does System.getProperty("catalina.base")
give only the Tomcat home, or does it also work on servers like GlassFish or WebSphere?
System.getProperty("catalina.base")
gives me the following path:
C:\Tomcat 6.0
Upvotes: 1
Views: 4045
Reputation: 5963
In short, yes.
Catalina refers to the Tomcat Servlet Container, the module of the Tomcat Web Application Server that implements the Servlet and JSP Sun Microsystems Specification.
Other modules include Coyote, Jasper and Jasper 2.
The above applies to Tomcat 6. I don't know the details of the latest Tomcat release.
Upvotes: 2
Reputation: 24801
Only for tomcat. Catalina is a tomcat specific thing!
Catalina is basically the servlet container used by tomcat.
Upvotes: 5