• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

upgrade tomcat jsp engine

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic