Bom dia,
Estou estudando Servlets com base no livro Use a Cabeça Servlet & JSP…
Estou tentando rodar o exemplo que tem a respeito de cerveja mas por algum motivo volta um erro que um determinado arquivo esta sendo usado por outro processo. Vou colocar a log aqui em baixo.
Quem puder me ajudar fico muito grato.
Valeu
Fernando
09:04:56,015 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
09:04:57,656 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
09:04:58,078 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
09:05:23,406 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
09:05:23,593 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.3.4.Final
09:05:23,734 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.3.4.Final
09:05:24,078 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
09:05:24,125 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
09:05:24,203 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
09:05:24,265 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 2 core threads with 16 task threads based on your 1 available processors
09:05:24,421 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
09:05:24,687 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
09:05:25,156 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
09:05:25,359 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=4.9.4.Final
09:05:26,437 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.3.15.Final starting
09:05:26,781 INFO [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final)
09:05:27,093 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 4.0.18.Final
09:05:27,390 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
09:05:28,281 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.3.15.Final starting
09:05:28,328 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
09:05:29,218 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path 'C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
09:05:29,437 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting Naming Service
09:05:29,625 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
09:05:30,187 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
09:05:31,203 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
09:05:31,234 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting
09:05:32,625 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 4 (per class), which is derived from the number of CPUs on this host.
09:05:32,640 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 16 (per class), which is derived from thread worker pool sizing.
09:05:33,453 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
09:05:37,031 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final
09:05:37,453 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\deployments
09:05:37,484 INFO [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4)
09:05:37,703 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "Beer.war" (runtime-name: "Beer.war")
09:05:46,046 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 62) WFLYUT0021: Registered web context: /Beer
09:05:46,640 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "Beer.war" (runtime-name : "Beer.war")
09:05:47,859 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
09:05:47,859 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
09:05:47,859 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started in 53781ms - Started 340 of 631 services (382 services are lazy, passive or on-demand)
09:06:22,796 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0022: Unregistered web context: /Beer
09:06:23,031 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-1) HV000001: Hibernate Validator 5.2.3.Final
09:06:23,406 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment Beer.war (runtime-name: Beer.war) in 639ms
09:06:23,765 ERROR [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0010: Couldn't delete content C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\a7: java.nio.file.FileSystemException: C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\a7: O arquivo já está sendo usado por outro processo.
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
at java.nio.file.Files.deleteIfExists(Unknown Source)
at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.removeContent(ContentRepository.java:388)
at org.jboss.as.server.deployment.DeploymentRemoveHandler$1$1.handleResult(DeploymentRemoveHandler.java:115)
at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1384)
at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1366)
at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1328)
at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1301)
at org.jboss.as.controller.AbstractOperationContext$Step.access$300(AbstractOperationContext.java:1185)
at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:767)
at org.jboss.as.controller.AbstractOperationContext.executeDoneStage(AbstractOperationContext.java:753)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:680)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:208)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:152)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Unknown Source)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:92)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:148)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
09:06:23,812 INFO [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\a7\d9ef2f99b5c5cde20fc9e9a9dc79e285d9e2fd\content
09:06:23,828 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0009: Undeployed "Beer.war" (runtime-name: "Beer.war")
09:06:24,406 INFO [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\e1\4bbd61d68d5df5809daf6ca3d8210130dd886d\content
09:06:24,421 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "Beer.war" (runtime-name: "Beer.war")
09:06:25,031 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 65) Inicializando Mojarra 2.2.12-jbossorg-2 20150729-1131 para o contexto '/Beer'
09:06:27,968 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0021: Registered web context: /Beer
09:06:28,046 INFO [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "Beer.war" (runtime-name : "Beer.war")
09:14:59,890 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0009: Content C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\e0 is obsolete and will be removed
09:14:59,890 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0002: Content removed from location C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\e0\content
09:14:59,890 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0009: Content C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\a7 is obsolete and will be removed
09:14:59,890 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0002: Content removed from location C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\a7\content
09:14:59,890 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0009: Content C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\f0 is obsolete and will be removed
09:14:59,906 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 63) WFLYDR0002: Content removed from location C:\wildfly-10.0.0.Final\wildfly-10.0.0.Final\standalone\data\content\f0\content