2 Replies Latest reply on Jul 1, 2013 3:24 AM by Bobby Harsono

    Unable to deploy error on flush IO Exception

    Bobby Harsono Newbie

      Hello, i have a project (WAR) which i had been deployed in JBoss and it worked well, but when i updated the class, and deployed it i got some errors,

       

      09:56:24,461 ERROR [stderr] (DeploymentScanner-threads - 2) java.util.logging.ErrorManager: 2: Error on flush

      09:56:24,462 ERROR [stderr] (DeploymentScanner-threads - 2) java.io.InterruptedIOException

      09:56:24,469 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.io.FileOutputStream.writeBytes(Native Method)

      09:56:24,469 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.io.FileOutputStream.write(FileOutputStream.java:282)

      09:56:24,470 ERROR [stderr] (DeploymentScanner-threads - 2)     at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)

      09:56:24,471 ERROR [stderr] (DeploymentScanner-threads - 2)     at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)

      09:56:24,472 ERROR [stderr] (DeploymentScanner-threads - 2)     at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)

      09:56:24,472 ERROR [stderr] (DeploymentScanner-threads - 2)     at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)

      09:56:24,473 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)

      09:56:25,976 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.handlers.WriterHandler.safeFlush(WriterHandler.java:162)

      09:56:25,977 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.handlers.WriterHandler.flush(WriterHandler.java:133)

      09:56:25,978 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.ExtHandler.doPublish(ExtHandler.java:92)

      09:56:25,978 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:70)

      09:56:25,979 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)

      09:56:25,980 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)

      09:56:25,981 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)

      09:56:25,982 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)

      09:56:25,983 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)

      09:56:25,984 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)

      09:56:25,984 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.Logger.logRaw(Logger.java:649)

      09:56:25,985 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logmanager.Logger.log(Logger.java:600)

      09:56:25,995 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logging.JBossLogManagerLogger.doLogf(JBossLogManagerLogger.java:54)

      09:56:25,995 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.logging.Logger.logf(Logger.java:2112)

      09:56:25,996 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.ServerLogger_$logger.undeploymentRolledBack(ServerLogger_$logger.java:139)

      09:56:25,997 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.deployment.DeploymentHandlerUtil$1.execute(DeploymentHandlerUtil.java:124)

      09:56:25,998 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:25,999 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,000 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,000 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.deployment.DeploymentDeployHandler.execute(DeploymentDeployHandler.java:68)

      09:56:26,001 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:26,002 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,003 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,004 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:185)

      09:56:26,004 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:26,005 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,006 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,007 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:84)

      09:56:26,007 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:26,008 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,009 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,010 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.CompositeOperationHandler.execute(CompositeOperationHandler.java:84)

      09:56:26,010 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:26,011 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,012 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,013 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:432)

      09:56:26,014 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:359)

      09:56:26,014 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:254)

      09:56:26,015 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:190)

      09:56:26,016 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:119)

      09:56:26,017 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:302)

      09:56:26,017 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.controller.ModelControllerImpl$1.execute(ModelControllerImpl.java:292)

      09:56:26,018 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentTask.call(FileSystemDeploymentService.java:1178)

      09:56:26,030 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.as.server.deployment.scanner.FileSystemDeploymentService$DeploymentTask.call(FileSystemDeploymentService.java:1168)

      09:56:26,031 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

      09:56:26,032 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.FutureTask.run(FutureTask.java:138)

      09:56:26,032 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

      09:56:26,033 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

      09:56:26,034 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

      09:56:26,035 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

      09:56:26,035 ERROR [stderr] (DeploymentScanner-threads - 2)     at java.lang.Thread.run(Thread.java:662)

      09:56:26,036 ERROR [stderr] (DeploymentScanner-threads - 2)     at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      09:56:24,460 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015856: Undeploy of deployment "CddsMediation-20130628.war" was rolled back with failure message Operation cancelled

      09:56:24,462 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [240 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

       

      Im using JBoss AS 7.1.0.CR1b and when im trying to create a file handler using CLI i got Communication error: java.util.concurrent.ExecutionException: Operation failed

       

      The only change i made are adding a monitoring class that logged some variables from running threadpool, i would like to know what possible cause made the above error and how to solve it,

       

       

      Thank you