[jbosstools-issues] [JBoss JIRA] (JBIDE-10903) Deploy folder sometimes not added to JBoss deployment path list

Daniel Atallah (JIRA) jira-events at lists.jboss.org
Thu Feb 16 12:10:36 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-10903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667167#comment-12667167 ] 

Daniel Atallah commented on JBIDE-10903:
----------------------------------------

The workaround that we've been using to get resources deployed when this happens is to add the deploy directory to the DeploymentScanner "URLs" list in the jboss-service.xml config file.

This works fine until the JBoss Tools based deployment starts working again and then the directory is deployed twice.

Any ideas of something that can be done to track down the conditions under which this happens or to get some granular log output for when the AS plugin is trying to add to the deployment paths would be helpful.
                
> Deploy folder sometimes not added to JBoss deployment path list
> ---------------------------------------------------------------
>
>                 Key: JBIDE-10903
>                 URL: https://issues.jboss.org/browse/JBIDE-10903
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 3.3.0.M5
>         Environment: Windows 7 / Eclipse Indigo SR1 / JBoss 4.2.3 
>            Reporter: Daniel Atallah
>            Assignee: Rob Stryker
>
> A number of people in my team have run into intermittent issues where when the Server is started, the deploy folder that is specified in the Server "Deployment" tab doesn't seem to ever get added to the list of locations that JBoss looks for stuff to deploy.
> We're using a custom deploy folder (it's an ordinary directory on a local drive).
> The normal course of operations is that JBoss starts up successfully and outputs the following line:
> {noformat}19:41:06,117 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 15s:550ms{noformat}
> Then, if things work successfully, a few seconds later the following output appears and my EAR is deployed (my custom deploy folder is "C:/export/spare/Devl-JBoss/development/dev/deploy"):
> {noformat}19:41:14,948 INFO  [EARDeployer] Init J2EE application: file:/C:/export/spare/Devl-JBoss/development/dev/deploy/Foo.ear/{noformat}
> If things don't work successfully, the second line never appears and the server just sits there without any of the deployed resources being available.
> Not being familiar with how the JBoss Tools integration works, it looks to me that JBoss Tools is somehow waiting for the Server to start up fully before adding the deploy folder and in the cases where it doesn't work, it never notices that the Server has started up so it never adds the deploy folder.
> I've tried setting the server logging to TRACE level and when it isn't working, the custom deploy folder doesn't appear anywhere in the log output.
> This issue is intermittent, I haven't been able to identify any specific scenarios under which it is triggered.
> When it does happen, sometimes restarting the server will resolve it, but other times we need to do a "Clean" publish to the server, and sometimes even that will not fix the issue (more than once deleted my workspace .metadata and started clean to get it working).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list