java - how to find out running tomcat version -
i'm trying appfuse + tomcat + jrebel working.
appfuse default uses cargo download tomcat (ver. 7.0.33) , deploy application it. wish utilize installed tomcat (ver. 7.0.27) instead of downloaded one. made alter next appfuse faq.
after deploying mvn cargo:run
, how can know actual running tomcat indeed 7.0.27?
i used type wrong url (ex. localhost:8080/dfsfsdf) see in error page, shows nothing.
my $catalina_home
points own tomcat 7.0.27. sorry forgot mention, it's windows
update:
since question had become somehow popular, explain why accepted answer. simple, first 1 solved problem.
looking @ title of question, tech junkie , cpu 100 have best answer, not scenario encountered. (i wanting know if mvn cargo:run
runs installed tomcat or "project embeded" tomcat) :)
if can upload jsp file may print out info in example: bestdesigns.co.in/blog/check-jsp-tomcat-version
save code file called tomcat_version.jsp:
tomcat version : <%= application.getserverinfo() %><br> servlet specification version : <%= application.getmajorversion() %>.<%= application.getminorversion() %> <br> jsp version : <%=jspfactory.getdefaultfactory().getengineinfo().getspecificationversion() %><br>
when access, http://example.com/tomcat_version.jsp, output should similar to:
tomcat version : apache tomcat/5.5.25 servlet specification version : 2.4 jsp version: 2.0
thanks! :)
java tomcat appfuse
No comments:
Post a Comment