Bug 797235 - Travel example is not compatible with Tomcat 5
Summary: Travel example is not compatible with Tomcat 5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Spring
Version: 2.0.0.DR09
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 2.0.0.ER6
Assignee: Marius Bogoevici
QA Contact:
URL:
Whiteboard: travel
: 788589 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 16:25 UTC by Tomas Repel
Modified: 2022-10-06 14:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The JSTL core tags included in the Travel example do not work as expected when used on Tomcat. This means that no error is given even when incorrect information has been entered into the example. This is fixed in JBoss Web Framework Kit 2. In order to build Travel example for Tomcat 5, activate Maven profile called "ews-tomcat5".
Clone Of:
Environment:
EWS
Last Closed: 2012-09-24 14:58:37 UTC
Type: ---


Attachments (Terms of Use)
travel.war for deploying (18.85 MB, application/octet-stream)
2012-02-24 16:27 UTC, Tomas Repel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 788589 0 medium CLOSED Creating of travel.war fails when using ews maven profile 2021-02-22 00:41:40 UTC

Internal Links: 788589

Description Tomas Repel 2012-02-24 16:25:15 UTC
Description of problem:

After bypassing some other issues and deploying travel.war on Tomcat (see https://bugzilla.redhat.com/show_bug.cgi?id=788596 and https://bugzilla.redhat.com/show_bug.cgi?id=788589), it turns out that the JSTL core tags (usually with prefix "c") don't work as expected. The whole content inside e.g. <c:if> element simply doesn't appear on the page.

To fixed this, the version of web-app in src/main/webapp/WEB-INF/web.xml has to be downgraded to 2.4.

Version-Release number of selected component (if applicable):

Tomcat 5.5.33

How reproducible:

Always.

Steps to Reproduce:
1. deploy travel.war (can be used the one from attachment)
2. try to log in with wrong username or password
3. no error message appears (it uses core tags to render, doesn't work)
  
Actual results:

No error message appears. Of course, this has many other impacts on travel app behavior.

Expected results:

Error message that states that the wrong comination of username and password has been used should appear.

Additional info:

Comment 1 Tomas Repel 2012-02-24 16:27:02 UTC
Created attachment 565635 [details]
travel.war for deploying

Comment 2 Karel Piwko 2012-05-30 11:09:03 UTC
Verified in WFK ER6.

Comment 4 Rebecca Newton 2012-06-20 06:12:51 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The JSTL core tags included in the Travel example do not work as expected when used on Tomcat. This means that no error is given even when incorrect information has been entered into the example. The workaround for this issue is to downgrade the version of web-app in src/main/webapp/WEB-INF/web.xml to web-app 2.4.

Comment 5 Karel Piwko 2012-06-22 07:12:02 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,3 @@
-The JSTL core tags included in the Travel example do not work as expected when used on Tomcat. This means that no error is given even when incorrect information has been entered into the example. The workaround for this issue is to downgrade the version of web-app in src/main/webapp/WEB-INF/web.xml to web-app 2.4.+The JSTL core tags included in the Travel example do not work as expected when used on Tomcat. This means that no error is given even when incorrect information has been entered into the example. 
+
+This is fixed in JBoss Web Framework Kit 2. In order to build Travel example for Tomcat 5, activate Maven profile called "ews-tomcat5".

Comment 6 Karel Piwko 2012-06-22 11:04:32 UTC
*** Bug 788589 has been marked as a duplicate of this bug. ***

Comment 7 Karel Piwko 2012-09-24 14:58:37 UTC
Fixed in WFK 2.0.0.GA.

Comment 8 John Carter 2022-10-06 14:43:09 UTC
I also had such problems when I was traveling, now very expensive tickets and bad internet. But the main thing is to know where to buy tickets at a good price, so it does not cost too much. Recently I bought tickets to Switzerland with the help of https://voyagu.com/destinations/business-class-flights-to-europe-switzerland/, I bought tickets at a nice discount, you can do the same. I like to fly to Switzerland, because it is very beautiful and comfortable, I would like to move here one day. It's a beautiful country with wonderful traditions and people.


Note You need to log in before you can comment on or make changes to this bug.