Bug 708005
Summary: | When deploying a war with Farmed = yes, date is set to Dec 31 1969 on the filesystem | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | dsteigne |
Component: | Plugins | Assignee: | Robert Buck <rbuck> |
Status: | CLOSED NOTABUG | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 1.3.1 | CC: | hrupp, rbuck, sitaramanjaneyulu |
Target Milestone: | --- | Flags: | sitaramanjaneyulu:
needinfo?
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-08 20:24:03 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: | 678340, 745494 |
Description
dsteigne
2011-05-26 14:26:42 UTC
In JON 3.0 Beta1 here is how you reproduce... Start up EAP 5.1 Start up RHQ and the local agent Import the EAP instance Go to the Inventory tree for the EAP instance. Below the JBossAS Servers folder click on the instance (it should be something like "localhost:1099 n01" At the bottom of the Windows notice the "Create Child" button. Select Create Child, Web Application Set Package Version to 1.0, or some such. Next Browse to and Upload WAR Set Deploy Farmed Set Timeout to 30 Seconds Finish You will see something like this on the file system: -rw-r--r-- 1 rbuck rbuck 1189 1969-12-31 19:00 helloworld.war This only occurs in Java in one case, `new Date(0)`; in JON there is only one place where this happens, and that in a test. Therefore, this must be a bug in JBoss itself, which makes sense. I looked on Google, and there are lots of hits on JBoss regarding this, but no open bug that I can find. When I stepped through the code, I did see the WAR file dropped into the tmp directory by the agent and the timestamp was right: -rw-r--r-- 1 auser auser 1189 2011-11-08 15:14 /home/auser/dev/servers/jboss-eap/5.1.0/jboss-as/server/n01/tmp/jopr-jbossas5-deploy-content7876833990792830526.tmp/helloworld.war Then JBoss got a hold of it and messed up somehow. The place where things go terribly wrong: org.jboss.deployers.spi.management.deploy.DeploymentManager.distribute Summary: Push this over to the JBoss folks; this doesn't look good. Could you please provide if this is not a bug, is there any work around for it. |