Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000379 [Resin] minor always 09-06-05 00:00 11-30-05 14:42
Reporter ferg View Status public  
Assigned To
Priority high Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000379: tld modification not forcing recompiling
Description RSN-423
(rep by Ajit Puthiyavettle)

Here are some test done by one of our developer which makes us believe that on resin 3.x jsp is not getting recompiled when a problem in tld is corrected.
 
After testing on webdev02 (resin 3.x) - I have been led to believe that any changes to a tld requires a restarting of resin ... Which is a different behavior from resin 2.x.

XXXXXXXXXX resin 3.x test XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="po"%>

and then refreshed the page --- page loaded

fine without tld (expected)

2. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="p"%>

and then refreshed the page --- page broke -

servlet error

3. modified tld to fix error and refreshed page --- page broke - servlet

error (UNEXPECTED)

4. restarted resin and refreshed page --- page loaded fine

5. modified tld to break page and refreshed page--- page loaded fine

(UNEXPECTED)

6. restarted resin and refreshed page --- page broke - servlet

error

7. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="po"%>

and then refreshed page --- paged fine

loaded without tld (expected)

back to step 3 and I can repeat this on webdev02

 

XXXXXXXXXXXXXXX resin 2.x test XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I tried the following with /u02/content/global/tld/webman_poll.tld and

/u02/content/historychannel.com/htdocs/weeklyquiz/results.jsp

Prep:

webman_poll.tld 'requires' an attribute called test

Results.jsp uses the taglib and everything is in this format p:xxxx

1. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="po"%>

and then refreshed the page

--- paged fine loaded without tld (expected page doesn't use any tags with po:xxxx)

2. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="p"%>

and then refreshed the page

--- page broke - servlet error (expected since attr test isn't

specified)

3. modified tld to fix error and refreshed page --- page

loaded (expected since test isn't required)

4. modified tld back (to break page) and refreshed page --- page still

loaded (UNEXPECTED)

5. restarted resin and refreshed page --- page

still loaded (UNEXPECTED)

6. modified jsp to <%@taglib uri="/global/tld/webman_poll.tld" prefix="po"%>

and then refreshed page

--- paged fine loaded without tld (expected)

 
Additional Information
Attached Files

- Relationships

- Notes
(0000438)
ferg
09-06-05 00:00

jsp/18p2
 

- Issue History
Date Modified Username Field Change
09-06-05 00:00 ferg New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker