Bug 564539

Summary: Tomcat plugin: WAR's Installation Date displays bogus value
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: PluginsAssignee: Ondřej Žižka <ozizka>
Status: CLOSED WORKSFORME QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: low    
Version: 1.3CC: cwelton, snegrea
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-24 17:09:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 683054, 565628    

Description Ondřej Žižka 2010-02-13 03:50:57 UTC
According to JON, I've installed servlet-examples on my Tomcat 40 years ago, which is kind of scarry, I thought it was yesterday.

Now seriously: 

1) Tomcat (8080) > Tomcat VHost (localhost) > Tomcat WAR (/servlets-examples)
2) CONTENT / DEPLOYED
3) See: servlets-examples	1.0	WAR File	14653 days, 3 hours ago

Comment 1 Ondřej Žižka 2010-02-13 03:55:31 UTC
Ah, it's the UNIX epoch. Somewhere is missing if( date == 0 ){ ... }

Comment 2 wes hayutin 2010-02-16 16:52:24 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 16:58:11 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-09-30 13:55:01 UTC
possibly a dupe, will try to find the other one.

Comment 5 Stefan Negrea 2011-10-18 01:23:56 UTC
From the replication steps, I inferred the usage of Tomcat 5.5.x since servlet-examples is not delivered with Tomcat 6.0.x. 

I retested the ticket with Tomcat 5.5.33 on both Windows and Linux but I could not replicate the problem. The date for the deployed content is the date I actually installed the Tomcat server.

Please retest and update the replication steps if the problem is still present.

Comment 6 Ondřej Žižka 2011-10-18 06:45:32 UTC
Stefan, please try with Red Hat EWS product if you can.
http://porkchop.devel.redhat.com/devel/candidates/JBEWS/

Since this bug is 1.5 y/o, that would be EWS 1.0.1 I guess. But I'd try with the latest, i.e. 1.0.2.