Tomcat - JSP Samples - JSP examples won't work

Bug #87295 reported by Frank Wilson
8
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: tomcat5.5

Steps to reproduce:

On Ubuntu 6.10 Edgy with tomcat5.5 installed,

Point your browser to http://localhost:8180/jsp-examples/

Click on execute for any one of the examples.

If this is a bug in the ubuntu package, then you should get an internal server error.

---------------------------------------------------------------------------------

Tags: bitesize
Aldous Peñaranda (dous)
Changed in tomcat5.5:
status: Unconfirmed → Confirmed
Changed in tomcat5.5:
assignee: nobody → dous
Revision history for this message
Aldous Peñaranda (dous) wrote :

It seems the webapp is missing the jasper-compiler.jar dependency...

Revision history for this message
dankurth (dankurth) wrote :

Here is my experience and workaround (simply removing jsp-examples/WEB-INF/tagplugins.xml), log of error etc attached.

Revision history for this message
dankurth (dankurth) wrote :

Sorry, uploaded unix version of txt with wrong extension so may be hard to view in browser. Uploading with txt extension. Apologies (first time at this).

Revision history for this message
Aldous Peñaranda (dous) wrote :

Hi dankurth,

Tried it and that workaround worked! Thanks for your work! :)

I'm not sure why that file breaks the examples, though. Also, the tomcat5.5 version in edgy is 5.5.17 while in feisty, it's 5.5.20. The existence of this bug on feisty is yet to be verified.

Revision history for this message
shrd (shrd) wrote :

I have read the topic here with a solution that work for me

http://forum.java.sun.com/thread.jspa?threadID=693082&messageID=4028997

enjoy

Revision history for this message
shrd (shrd) wrote :

in case http://forum.java.sun.com/thread.jspa?threadID=693082&messageID=4028997
not work :

open the file "/var/lib/tomcat5.5/webapps/jsp-examples/WEB-INF/tagPlugins.xml"
with admin privileges :

sudo gedit /var/lib/tomcat5.5/webapps/jsp-examples/WEB-INF/tagPlugins.xml

just replace :

org.apache.jasper.tagplugins.jstl

by

org.apache.jasper.tagplugins.jstl.core

Revision history for this message
Simon Pang (hksimon) wrote :

In Feisty, tagplugins.xml is not installed by the package. This problem does not occur

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

In Gutsy this file is also not installed. So there shouldn't be any problems anymore, I didn't run into a problem testing it in my company.

Setting it to invalid, because it's fixed in feisty and gutsy.

Regards,

\sh

Changed in tomcat5.5:
assignee: dous → nobody
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.