[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3308) Warning message falls every 5 seconds in console view after hot redeploy of the page.

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Dec 4 15:03:36 EST 2008


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

Rob Stryker commented on JBIDE-3308:
------------------------------------

Comment 1:
 I don't know what you mean about "initialized wrongly".  There is no place where I'm "initializing" this url.  And I don't know what you mean by "separation of directories". 

The user is always notified when a publish fails in the Event Log.  The only API webtools offers me is to throw a CoreException, which is ALWAYS uninformative and provides no useful information to the user whatsoever so I don't do that. I put my messaging in the event log. 

Comment 2: 
1) good point

2) If the folder doesn't exist, we currently ignore it during the pre-publish phase and the publish itself will fail. If you think I should fail immediately here in the pre-publish phase I'd be glad to.  No, the server startup / shutdown should not fail if the deploy location is wrong. That would be ridiculous. Startup / shutdown are distinct from publish. 

3) Yes we're (almost) always calling addURL. Adding the exact same url twice is safe. Adding one folder and then adding it's parent is not, though. I contend that it SHOULD be, but JBoss is being dumb.   The times we do not call addURL are when the deploy folder is equal to the server's official deploy folder.   Why don't I get the list and check the list? Because a) it's not necessary (adding same URL twice is not a problem) and b) more overhead / remote JMX calls. 

I've been unable to replicate this issue using an environment created in beta1.  It's quite possible this issue is only happening for people who were using nightly builds often and one of those nightly builds mucked things up. I encourage any tester to test with a workspace created in a beta1 environment. People using nightly builds should know that workspaces created during those nightly builds may not be stable.  The upgrade case we're looking to have work smoothly are 3.0.0.beta1 to CR1 and 2.1.2 to CR1. 

> Warning message falls every 5 seconds in console view after hot redeploy of the page.
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3308
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3308
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.cr1
>            Reporter: Anton Klimkovich
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 3.0.0.cr1
>
>
> EXECUTE: Create Seam 1.2 project
> EXECUTE: Run the project on the server
> EXECUTE: Open home.xhtml
> EXECUTE: Delete string  <p>This empty shell application includes:</p>
> ASSERT:    the page should be redeployed.
> EXECUTE: Refresh browser
> ASSERT:    The changes should be displayed.
> EXECUTE: Open Console view
> FAILURE:   warning message falls every 5 seconds. It doesn't stop while restarting.
> 17:57:53,835 WARN  [URLDeploymentScanner] Scan URL, caught java.io.FileNotFoundException: C:\jbdevstudio2.0CR1\jboss-eap\jboss-as\server\default\C:\jbdevstudio2.0CR1\jboss-eap\jboss-as\server\default\deploy 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list