JBoss Community

Re: Thoughts on filesystem action driven hot deployment

created by Wolfgang Knauf in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community