• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

upgrade tomcat jsp engine

 
Sharmila Punde
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I have following type of configuration of the tomcat 5.5.28. Recently i have downloaded it.
Servlet Engine: 2.4
JSP Engine: 1.2
Application Server: Apache Tomcat/5.5.28

Now i want to upgrade only JSP engine, rest are fine with me.
How do i do that? Not getting proper info on web about how to upgrade only JSP engine.
Thanks in advance
Regards
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 5.5 supports JSP 2.0, not 1.2. Where is this information coming from? Also see http://faq.javaranch.com/java/WhichVersionAmIRunningOn to find out this information.

(And no, it's not possible to upgrade the JSP engine independently of the rest of Tomcat.)
 
Sharmila Punde
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dittmer,
Thanks for your help. I understood, it's not possible to upgrade the JSP engine independently of the rest of Tomcat. This question came to mind because of not having very clear concept of jsp engine and servlet engine. Also my tomcat was referring files of netbeans therefore it was showing jsp engine version as 1.2 . But i needed netbeans and tomcat both. Temporary i have removed netbeans and tomcat jsp engine is back to the 2.0 version. If i know exact location where to set classpath of the tomcat to make it refer jar files from specific path, my problem will be solved. I can see in TOMCAT_HOME/bin/catalina.sh like
CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar

If i append new path to it as -

tomcat gives error at runtime. Can you please explain where and how to set classpath.
Thanks
Regards
 
manishsharma sharma
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

you can export classpath variable in your startup script if you are using linux environment.

Thanks
Manish
http://www.javatechtips.blogspot.com
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sharmila Punde wrote:CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar "$CATALINA_HOME"/common/lib

Classpath entries are separated by colons, not by spaces.
 
Sharmila Punde
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dittmer and manish,
Thanks for you kind help. Do not know exact reason, but things could not work out.
Temporary i could found some way. Will look at the thing again once i finish my current work.
Thank you very much.
Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic