[GLASSFISH-19097] Successful deployment reported on a domain that is not running Created: 21/Sep/12  Updated: 13/Nov/12  Resolved: 13/Nov/12

Status: Resolved
Project: glassfish
Component/s: deployment
Affects Version/s: 4.0_b55
Fix Version/s: None

Type: Bug Priority: Major
Reporter: marina vatkina Assignee: Hong Zhang
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Because of the bug, the hudson run http://hudson-sca.us.oracle.com/job/ejb-devtests-trunk/1376/ failed to start the domain:

[echo] Starting DAS
[exec] com.sun.enterprise.universal.xml.MiniXmlParserException: "Xml Parser Error: java.lang.RuntimeException: "xml error. No closing element for domain found (</domain>).
[exec] Command start-domain failed.
[echo] run.xml:doing wait for localhost:49640...
[echo] run.xml:DONE doing wait for localhost:49640...

But deployment didn't fail after that:

[exec] javax.ws.rs.client.ClientException: java.net.ConnectException: Connection refused
[echo] Deployment on target server server successful

Comment by Jeremy_Lv [ 30/Oct/12 ]

I can't access url as http://hudson-sca.us.oracle.com/job/ejb-devtests-trunk/1376/, Can you attach the test file to JIRA. I think I should reproduce it before look into this issue.

Comment by marina vatkina [ 30/Oct/12 ]

If you check out devtests, ejb devtests are there. 'ant all' will run them. But they are passing now, so you would need to simulate some failure...

Comment by Jeremy_Lv [ 30/Oct/12 ]

Hong,marina vatkina:
Hmm... I think it is diffcult for me to simulate some failure... If we can't reproduce it ,I think we can close it marked as can't reproduce and reopen it if anyone can reproduce it.

Comment by marina vatkina [ 30/Oct/12 ]

May be you can add a sleep somewhere so that the DAS can't start fully to simulate the scenario?

Comment by Jeremy_Lv [ 12/Nov/12 ]

marina vatkina:

May be you can add a sleep somewhere so that the DAS can't start fully to simulate the scenario?

I think it can be. But it is really a big task for me to add a sleep somewhere because I don't know the reason why it can be deployed successfully on a domain that is not started.
May be you can show me some stacktrace about this scenario?

Comment by marina vatkina [ 12/Nov/12 ]

Did you try to remove the closing </domain> element (the error reported on the failed start-domain)?

Comment by Jeremy_Lv [ 13/Nov/12 ]

Yes, I have tried about this. But the domain doesn't start up and it's failed when I deploy an application. I'm sorry that I can't reproduce it...

Comment by Hong Zhang [ 13/Nov/12 ]

Jeremy, thanks for looking into this!
Marina: as there is no easy way to reproduce this right now, maybe we should close the issue and re-open it when we have a set of steps to reproduce it?

Comment by marina vatkina [ 13/Nov/12 ]


Generated at Mon Nov 30 22:52:18 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.