[jboss-dev-forums] [JBoss AS7 Development] - Re: Thoughts on filesystem action driven hot deployment

Wolfgang Knauf do-not-reply at jboss.com
Wed Apr 13 15:23:16 EDT 2011


Wolfgang Knauf [http://community.jboss.org/people/WolfgangKnauf] created the discussion

"Re: Thoughts on filesystem action driven hot deployment"

To view the discussion, visit: http://community.jboss.org/message/599916#599916

--------------------------------------------------------------
I made some more changes to the diagram to add Brians last comments. Now I am out of questions for the moment.

Jason, you were the one who made me start this stuff, 

> Are you volunteering?  


So, I might ping back to you - are you willing to check the output of a volunteer ;-).

And one small issue for the deployment gurus ;-):
I had a "Stateless.ear.failed" file and added a file "Stateless.ear.isdeployed". This resulted in this console exception:

21:13:13,828 ERROR [org.jboss.as.deployment] (DeplooymentScanner-threads - 2) Scan of C:\temp\jboss-7.0.0.Beta3-SNAPSHOT\standalone\deployments threw Exception:
 java.lang.NullPointerException
        at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentMarker.access$1000(FileSystemDeploymentService.java:1008)
        at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scanDirectory(FileSystemDeploymentService.java:415)
        at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService.scan(FileSystemDeploymentService.java:288)
        at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$1.run(FileSystemDeploymentService.java:134)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_24]
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_24]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_24]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_24]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [:1.6.0_24]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [:1.6.0_24]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
        at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Of course this is pure hooliganism, nothing an end user might do, but shouldn't the file system scanner ignore changes to all marker files which are not meant to be created by the end user?

Best regards

Wolfgang
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/599916#599916]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110413/a299ab29/attachment.html 


More information about the jboss-dev-forums mailing list