Bug 797235

Summary: Travel example is not compatible with Tomcat 5
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Tomas Repel <trepel>
Component: SpringAssignee: Marius Bogoevici <mariusb>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.0.DR09CC: banny.kit, kpiwko, rnewton, rruss
Target Milestone: ---   
Target Release: 2.0.0.ER6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: travel
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".
Story Points: ---
Clone Of: Environment:
EWS
Last Closed: 2012-09-24 14:58:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
travel.war for deploying none

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.