Community
Participate
Working Groups
Publish happens twice after the change and save an EJB DD source file (even do no changes and just add a space and remove it then save). You can see from the server view at the bottom status bar, that the publishing ... appears twice. The Save action triggers the resource change twice which then cause the autopublish to happen twice. In a normal succes case, user will not notice this because the publish happens one after another quietely. However, in an error case, for example, if user add some invalid content in the ejb DD and then save it, user will see the error message comes up twice. If user close the first error window, the second one will pop up. User has to close the second one too. The reproduce scenario is very simple: 1) Open the EJB DD (ebj-jar.xml) 2) Add an space and the remove it (just to make the editor dirty) 3) Save Now watch the status, you will notice that the apublish happes twice. If you add some invalid string in step 2) you will see the error message dialog opens during first publish. close it quickly when you see it. in a few seconds (this depends on the suto publish inteval) you will see the second error message opens. NOTE: if you turn auto publish off, the publish only happens once.
Which server is this happening with? The typical cause of this is a bad publish task that makes a change to resources but doesn't clean the delta. If this is an adopter server adapter, please disable all publish tasks and see if the problem still occurs.
Please mark this bug as duplicate of bug 152146
With Angel's help, I have confirmed that after comment out the ejb deploy task, the publish only happens once. Problem is indeed caused by the ejb deploy task (as Tim suggested) which changes the resources and triggers the second publish. This is a known issue as in 152146. *** This bug has been marked as a duplicate of bug 152146 ***
Closing as part of mass query to clean up old resolved bugs in untargetted milestones.