LIvro casa do código javaEE, não sei porque mas toda vez que desligo o pc, o projeto não funciona mais fica dando notfound no servidor

6 respostas
R
16:39:28,994 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final

16:39:29,221 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

16:39:29,313 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

16:39:30,657 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment casadocodigo.war

16:39:30,661 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found casadocodigo.war in deployment directory. To trigger deployment create a file called casadocodigo.war.dodeploy

16:39:30,722 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

16:39:30,741 INFO  [org.xnio] (MSC service thread 1-6) XNIO version 3.4.0.Final

16:39:30,755 INFO  [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.4.0.Final

16:39:30,817 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 4.0.21.Final

16:39:30,869 INFO  [<a href="http://org.wildfly.extension.io">org.wildfly.extension.io</a>] (ServerService Thread Pool  40) WFLYIO001: Worker default has auto-configured to 8 core threads with 64 task threads based on your 4 available processors

16:39:30,881 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool  41) WFLYCLINF0001: Activating Infinispan subsystem.

16:39:30,884 INFO  [org.jboss.as.jsf] (ServerService Thread Pool  48) WFLYJSF0007: Activated the following JSF Implementations: [main]

16:39:30,899 WARN  [org.jboss.as.txn] (ServerService Thread Pool  60) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

16:39:31,022 INFO  [org.jboss.as.naming] (ServerService Thread Pool  52) WFLYNAM0001: Activating Naming Subsystem

16:39:31,037 INFO  [org.jboss.as.webservices] (ServerService Thread Pool  62) WFLYWS0002: Activating WebServices Extension

16:39:31,051 INFO  [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service

16:39:31,064 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)

16:39:31,079 INFO  [org.jboss.as.security] (ServerService Thread Pool  59) WFLYSEC0002: Activating Security Subsystem

16:39:31,082 INFO  [org.jboss.as.security] (MSC service thread 1-8) WFLYSEC0001: Current PicketBox version=4.9.6.Final

16:39:31,149 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool  42) WFLYIIOP0001: Activating IIOP Subsystem

16:39:31,172 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool  36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

16:39:31,177 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

16:39:31,198 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2

16:39:31,207 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.0.Final starting

16:39:31,453 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.

16:39:31,455 INFO  [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.

16:39:31,511 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool  61) WFLYUT0014: Creating file handler for path /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/welcome-content with options [directory-listing: ‘false’, follow-symlink: ‘false’, case-sensitive: ‘true’, safe-symlink-paths: ‘[]’]

16:39:31,516 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0012: Started server default-server.

16:39:31,543 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018: Host default-host starting

16:39:31,657 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

16:39:31,918 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

16:39:31,955 INFO  [org.wildfly.iiop.openjdk] (MSC service thread 1-3) WFLYIIOP0009: CORBA ORB Service started

16:39:32,157 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-8) WFLYDM0111: Keystore /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

16:39:32,219 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/deployments

16:39:32,226 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of casadocodigo.war (runtime-name: casadocodigo.war)

16:39:32,411 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/journal,bindingsDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/bindings,largeMessagesDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/largemessages,pagingDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/paging)

16:39:32,799 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221012: Using AIO Journal

16:39:32,847 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan Chakra 8.2.4.Final

16:39:32,927 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:32,928 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:32,931 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  71) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:32,931 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  66) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:32,932 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  66) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:32,932 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  71) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

16:39:33,083 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE

16:39:33,098 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP

16:39:33,113 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

16:39:33,116 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ

16:39:33,118 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP

16:39:33,292 INFO  [org.jboss.ws.common.management] (MSC service thread 1-4) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)

16:39:33,938 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

16:39:33,942 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-4) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

16:39:33,942 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

16:39:33,942 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-7) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

16:39:34,044 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221007: Server is now live

16:39:34,045 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0.wildfly-017 [nodeID=4edf9974-b13c-11e7-8ac5-294be7eaaa7b]

16:39:34,076 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool  68) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

16:39:34,088 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0003: Processing weld deployment casadocodigo.war

16:39:34,095 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  71) AMQ221003: trying to deploy queue jms.queue.DLQ

16:39:34,108 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool  64) WFLYMSGAMQ0002: Bound messaging object to jndi name java:/ConnectionFactory

16:39:34,108 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  65) AMQ221003: trying to deploy queue jms.queue.ExpiryQueue

16:39:34,182 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-2) WFLYJCA0007: Registered connection factory java:/JmsXA

16:39:34,206 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-6) HV000001: Hibernate Validator 5.2.4.Final

16:39:34,262 INFO  [org.apache.activemq.artemis.ra] (MSC service thread 1-2) Resource adaptor started

16:39:34,263 INFO  [org.jboss.as.connector.services.resourceadapters.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-2) IJ020002: Deployed: file://RaActivatoractivemq-ra

16:39:34,267 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-2) WFLYJCA0002: Bound JCA ConnectionFactory [java:/JmsXA]

16:39:34,267 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory

16:39:34,474 INFO  [org.jboss.weld.Version] (MSC service thread 1-5) WELD-000900: 2.3.5 (Final)

16:39:34,953 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit.casadocodigo.war.WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit.casadocodigo.war.WeldStartService: Failed to start service

at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into CDI managed bean. Cant find a persistence unit named ‘’ in deployment casadocodigo.war for injection point private javax.persistence.EntityManager br.com.casadocodigo.loja.daos.BookDao.manager

at org.jboss.as.weld.services.bootstrap.WeldJpaInjectionServices.getScopedPUName(WeldJpaInjectionServices.java:114)

at org.jboss.as.weld.services.bootstrap.WeldJpaInjectionServices.registerPersistenceContextInjectionPoint(WeldJpaInjectionServices.java:77)

at org.jboss.weld.injection.ResourceInjectionFactory$PersistenceContextResourceInjectionProcessor.getResourceReferenceFactory(ResourceInjectionFactory.java:351)

at org.jboss.weld.injection.ResourceInjectionFactory$PersistenceContextResourceInjectionProcessor.getResourceReferenceFactory(ResourceInjectionFactory.java:339)

at org.jboss.weld.injection.ResourceInjectionFactory$ResourceInjectionProcessor.createFieldResourceInjection(ResourceInjectionFactory.java:217)

at org.jboss.weld.injection.ResourceInjectionFactory$ResourceInjectionProcessor.createResourceInjections(ResourceInjectionFactory.java:189)

at org.jboss.weld.injection.ResourceInjectionFactory.discoverType(ResourceInjectionFactory.java:449)

at org.jboss.weld.injection.ResourceInjectionFactory.getResourceInjections(ResourceInjectionFactory.java:97)

at org.jboss.weld.injection.producer.ResourceInjector.(ResourceInjector.java:59)

at org.jboss.weld.injection.producer.ResourceInjector.of(ResourceInjector.java:49)

at org.jboss.weld.injection.producer.BeanInjectionTarget.(BeanInjectionTarget.java:63)

at org.jboss.weld.injection.producer.BeanInjectionTarget.createDefault(BeanInjectionTarget.java:47)

at org.jboss.weld.manager.InjectionTargetFactoryImpl.chooseInjectionTarget(InjectionTargetFactoryImpl.java:113)

at org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:86)

at org.jboss.weld.bean.ManagedBean.(ManagedBean.java:100)

at org.jboss.weld.bean.ManagedBean.of(ManagedBean.java:80)

at org.jboss.weld.bootstrap.AbstractBeanDeployer.createManagedBean(AbstractBeanDeployer.java:261)

at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:229)

at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:78)

at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:75)

at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)

at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

at org.jboss.threads.JBossThread.run(JBossThread.java:320)
16:39:34,963 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (deploy) failed - address: ([(deployment => casadocodigo.war)]) - failure description: {

WFLYCTL0080: Failed services => {jboss.deployment.unit.casadocodigo.war.WeldStartService => org.jboss.msc.service.StartException in service jboss.deployment.unit.casadocodigo.war.WeldStartService: Failed to start service

Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into CDI managed bean. Cant find a persistence unit named ‘’ in deployment casadocodigo.war for injection point private javax.persistence.EntityManager br.com.casadocodigo.loja.daos.BookDao.manager},

WFLYCTL0412: Required services that are not installed: => [jboss.deployment.unit.casadocodigo.war.WeldStartService],

WFLYCTL0180: Services with missing/unavailable dependencies => undefined

}

16:39:34,988 INFO  [org.jboss.as.server] (ServerService Thread Pool  37) WFLYSRV0010: Deployed casadocodigo.war (runtime-name : casadocodigo.war)

16:39:34,990 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit.casadocodigo.war.WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit.casadocodigo.war.WeldStartService: Failed to start service
16:39:35,128 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on <a href="http://127.0.0.1:9990/management">http://127.0.0.1:9990/management</a>

16:39:35,128 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0051: Admin console listening on <a href="http://127.0.0.1:9990">http://127.0.0.1:9990</a>

16:39:35,129 ERROR [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 6543ms - Started 452 of 719 services (19 services failed or missing dependencies, 419 services are lazy, passive or on-demand)

16:39:35,219 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment casadocodigo.war (runtime-name: casadocodigo.war) in 67ms

16:39:35,272 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

16:39:35,273 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed “casadocodigo.war” (runtime-name: “casadocodigo.war”)

16:39:35,277 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

WFLYCTL0184:    New missing/unsatisfied dependencies:

service jboss.deployment.unit.“casadocodigo.war”.WeldBootstrapService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.CdiValidatorFactoryService, WFLYCTL0208:  and 5 more ]

service jboss.deployment.unit.“casadocodigo.war”.WeldStartService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.WeldInstantiator, service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator, WFLYCTL0208:  and 7 more ]

service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service jboss.deployment.unit.“casadocodigo.war”.jndiDependencyService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START, service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START, WFLYCTL0208:  and 4 more ]

service jboss.undertow.deployment.default-server.default-host./casadocodigo (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service org.wildfly.request-controller.control-point.“casadocodigo.war”.undertow (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit.“casadocodigo.war”.WeldStartService

16:39:40,025 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found casadocodigo.war in deployment directory. To trigger deployment create a file called casadocodigo.war.dodeploy

6 Respostas

R

staroski

A mensagem diz que não consegue encontrar a persistence unit de nome ‘’ no arquivo casadocodigo.jar.
Por acaso esqueceu de setar o nome da persistence unit?

R

Então tinha colocado o persistence.xml mas não estava funcionando tambem vou colocar denovo e postar o log

R
17:26:58,462 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final

17:26:58,670 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final

17:26:58,771 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (MSC service thread 1-8) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting

17:27:00,003 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0015: Re-attempting failed deployment casadocodigo.war

17:27:00,008 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found casadocodigo.war in deployment directory. To trigger deployment create a file called casadocodigo.war.dodeploy

17:27:00,061 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)

17:27:00,080 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.4.0.Final

17:27:00,096 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.4.0.Final

17:27:00,157 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 4.0.21.Final

17:27:00,189 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool  41) WFLYCLINF0001: Activating Infinispan subsystem.

17:27:00,197 INFO  [org.wildfly.iiop.openjdk] (ServerService Thread Pool  42) WFLYIIOP0001: Activating IIOP Subsystem

17:27:00,321 INFO  [<a href="http://org.wildfly.extension.io">org.wildfly.extension.io</a>] (ServerService Thread Pool  40) WFLYIO001: Worker default has auto-configured to 8 core threads with 64 task threads based on your 4 available processors

17:27:00,334 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool  36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

17:27:00,336 INFO  [org.jboss.as.jsf] (ServerService Thread Pool  48) WFLYJSF0007: Activated the following JSF Implementations: [main]

17:27:00,352 WARN  [org.jboss.as.txn] (ServerService Thread Pool  60) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.

17:27:00,354 INFO  [org.jboss.as.naming] (ServerService Thread Pool  52) WFLYNAM0001: Activating Naming Subsystem

17:27:00,388 INFO  [org.jboss.as.connector] (MSC service thread 1-6) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)

17:27:00,392 INFO  [org.jboss.as.webservices] (ServerService Thread Pool  62) WFLYWS0002: Activating WebServices Extension

17:27:00,401 INFO  [org.jboss.as.security] (ServerService Thread Pool  59) WFLYSEC0002: Activating Security Subsystem

17:27:00,417 INFO  [org.jboss.as.naming] (MSC service thread 1-4) WFLYNAM0003: Starting Naming Service

17:27:00,417 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]

17:27:00,426 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0018: Started Driver service with driver-name = h2

17:27:00,434 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=4.9.6.Final

17:27:00,463 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0003: Undertow 1.4.0.Final starting

17:27:00,706 INFO  [org.jboss.as.ejb3] (MSC service thread 1-7) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.

17:27:00,706 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.

17:27:00,745 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool  61) WFLYUT0014: Creating file handler for path /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/welcome-content with options [directory-listing: ‘false’, follow-symlink: ‘false’, case-sensitive: ‘true’, safe-symlink-paths: ‘[]’]

17:27:00,751 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.

17:27:00,753 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0018: Host default-host starting

17:27:00,988 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080

17:27:01,354 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]

17:27:01,365 INFO  [org.wildfly.iiop.openjdk] (MSC service thread 1-3) WFLYIIOP0009: CORBA ORB Service started

17:27:01,448 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-4) WFLYDM0111: Keystore /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

17:27:01,530 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of casadocodigo.war (runtime-name: casadocodigo.war)

17:27:01,541 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory /home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/deployments

17:27:01,685 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/journal,bindingsDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/bindings,largeMessagesDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/largemessages,pagingDirectory=/home/rafael/eclipse-workspace/wildfly-10.1.0.Final/standalone/data/activemq/paging)

17:27:02,062 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221012: Using AIO Journal

17:27:02,094 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan Chakra 8.2.4.Final

17:27:02,147 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  66) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,148 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,148 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  66) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,152 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  68) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,193 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  67) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,195 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool  67) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.

17:27:02,317 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE

17:27:02,331 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP

17:27:02,343 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443

17:27:02,348 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ

17:27:02,351 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP

17:27:02,514 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6)

17:27:02,782 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-4) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

17:27:02,785 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

17:27:02,781 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-3) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor acceptor

17:27:02,786 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-5) WFLYMSGAMQ0016: Registered HTTP upgrade for activemq-remoting protocol handled by http-acceptor-throughput acceptor

17:27:02,889 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221007: Server is now live

17:27:02,889 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  64) AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.1.0.wildfly-017 [nodeID=4edf9974-b13c-11e7-8ac5-294be7eaaa7b]

17:27:02,899 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  67) AMQ221003: trying to deploy queue jms.queue.ExpiryQueue

17:27:02,989 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool  70) WFLYMSGAMQ0002: Bound messaging object to jndi name java:/ConnectionFactory

17:27:02,989 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool  69) AMQ221003: trying to deploy queue jms.queue.DLQ

17:27:02,995 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool  71) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

17:27:03,096 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0007: Registered connection factory java:/JmsXA

17:27:03,119 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for casadocodigo-persistence-unit

17:27:03,250 INFO  [org.apache.activemq.artemis.ra] (MSC service thread 1-3) Resource adaptor started

17:27:03,251 INFO  [org.jboss.as.connector.services.resourceadapters.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-3) IJ020002: Deployed: file://RaActivatoractivemq-ra

17:27:03,254 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA ConnectionFactory [java:/JmsXA]

17:27:03,255 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-3) WFLYMSGAMQ0002: Bound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory

17:27:03,352 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0003: Processing weld deployment casadocodigo.war

17:27:03,452 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-6) HV000001: Hibernate Validator 5.2.4.Final

17:27:03,768 INFO  [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900: 2.3.5 (Final)

17:27:04,020 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (deploy) failed - address: ([(“deployment” => “casadocodigo.war”)]) - failure description: {

WFLYCTL0412: Required services that are not installed: => [“jboss.naming.context.java.jboss.datasources.casadocodigoDS”],

WFLYCTL0180: Services with missing/unavailable dependencies => [

“jboss.persistenceunit.“casadocodigo.war#casadocodigo-persistence-unit” is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS],

jboss.persistenceunit.casadocodigo.war#casadocodigo-persistence-unit.<strong>FIRST_PHASE</strong> is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS]

]

}

17:27:04,059 INFO  [org.jboss.as.server] (ServerService Thread Pool  37) WFLYSRV0010: Deployed casadocodigo.war (runtime-name : casadocodigo.war)

17:27:04,063 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report

WFLYCTL0184:    New missing/unsatisfied dependencies:

service jboss.naming.context.java.jboss.datasources.casadocodigoDS (missing) dependents: [service jboss.persistenceunit.“casadocodigo.war#casadocodigo-persistence-unit”.<strong>FIRST_PHASE</strong>, service jboss.persistenceunit.“casadocodigo.war#casadocodigo-persistence-unit”]
17:27:04,201 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on <a href="http://127.0.0.1:9990/management">http://127.0.0.1:9990/management</a>

17:27:04,201 INFO  [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0051: Admin console listening on <a href="http://127.0.0.1:9990">http://127.0.0.1:9990</a>

17:27:04,201 ERROR [<a href="http://org.jboss.as">org.jboss.as</a>] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 6087ms - Started 452 of 721 services (21 services failed or missing dependencies, 419 services are lazy, passive or on-demand)

17:27:04,278 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment casadocodigo.war (runtime-name: casadocodigo.war) in 48ms

17:27:04,326 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []

17:27:04,327 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0009: Undeployed “casadocodigo.war” (runtime-name: “casadocodigo.war”)

17:27:04,330 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report

WFLYCTL0184:    New missing/unsatisfied dependencies:

service jboss.deployment.unit.“casadocodigo.war”.WeldBootstrapService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.WeldStartService, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator, WFLYCTL0208:  and 6 more ]

service jboss.deployment.unit.“casadocodigo.war”.WeldStartService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator, service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.WeldInstantiator, service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator, WFLYCTL0208:  and 7 more ]

service jboss.deployment.unit.“casadocodigo.war”.beanmanager (missing) dependents: [service jboss.persistenceunit.“casadocodigo.war#casadocodigo-persistence-unit”]

service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“com.sun.faces.config.ConfigureListener”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldInitialListener”.START (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.CREATE (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.WeldInstantiator (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“org.jboss.weld.servlet.WeldTerminalListener”.START]

service jboss.deployment.unit.“casadocodigo.war”.ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service jboss.deployment.unit.“casadocodigo.war”.jndiDependencyService (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START, service jboss.deployment.unit.“casadocodigo.war”.WeldStartService, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacetTag”.START, service jboss.deployment.unit.“casadocodigo.war”.component.“javax.faces.webapp.FacesServlet”.START, WFLYCTL0208:  and 5 more ]

service jboss.persistenceunit.“casadocodigo.war#casadocodigo-persistence-unit” (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.component.“javax.servlet.jsp.jstl.tlv.ScriptFreeTLV”.START, service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit.“casadocodigo.war”.WeldStartService, service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService, WFLYCTL0208:  and 6 more ]

service jboss.undertow.deployment.default-server.default-host./casadocodigo (missing) dependents: [service jboss.deployment.unit.“casadocodigo.war”.deploymentCompleteService]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service jboss.undertow.deployment.default-server.default-host./casadocodigo.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]

service org.wildfly.request-controller.control-point.“casadocodigo.war”.undertow (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]
17:27:09,103 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found casadocodigo.war in deployment directory. To trigger deployment create a file called casadocodigo.war.dodeploy

17:27:34,120 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of casadocodigo.war (runtime-name: casadocodigo.war)

17:27:34,166 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read persistence.xml for casadocodigo-persistence-unit

17:27:34,186 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment casadocodigo.war

17:27:34,270 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation (deploy) failed - address: ([(deployment => casadocodigo.war)]) - failure description: {

WFLYCTL0412: Required services that are not installed: => [jboss.naming.context.java.jboss.datasources.casadocodigoDS],

WFLYCTL0180: Services with missing/unavailable dependencies => [

jboss.persistenceunit.casadocodigo.war#casadocodigo-persistence-unit is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS],

jboss.persistenceunit.casadocodigo.war#casadocodigo-persistence-unit.<strong>FIRST_PHASE</strong> is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS]

]

}

17:27:34,294 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed casadocodigo.war (runtime-name : casadocodigo.war)

17:27:34,294 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

WFLYCTL0185:    Newly corrected services:

service jboss.deployment.unit.casadocodigo.war.WeldBootstrapService (new available)

service jboss.deployment.unit.casadocodigo.war.WeldStartService (new available)

service jboss.deployment.unit.casadocodigo.war.beanmanager (new available)

service jboss.deployment.unit.casadocodigo.war.component.com.sun.faces.config.ConfigureListener.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.com.sun.faces.config.ConfigureListener.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacesServlet.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacesServlet.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacesServlet.WeldInstantiator (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacetTag.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacetTag.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.faces.webapp.FacetTag.WeldInstantiator (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.servlet.jsp.jstl.tlv.ScriptFreeTLV.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.javax.servlet.jsp.jstl.tlv.ScriptFreeTLV.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.org.jboss.weld.servlet.WeldInitialListener.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.org.jboss.weld.servlet.WeldInitialListener.START (new available)

service jboss.deployment.unit.casadocodigo.war.component.org.jboss.weld.servlet.WeldTerminalListener.CREATE (new available)

service jboss.deployment.unit.casadocodigo.war.component.org.jboss.weld.servlet.WeldTerminalListener.WeldInstantiator (new available)

service jboss.deployment.unit.casadocodigo.war.ee.ComponentRegistry (new available)

service jboss.deployment.unit.casadocodigo.war.jndiDependencyService (new available)

service jboss.persistenceunit.casadocodigo.war#casadocodigo-persistence-unit (new available)

service jboss.undertow.deployment.default-server.default-host./casadocodigo (new available)

service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService (new available)

service jboss.undertow.deployment.default-server.default-host./casadocodigo.codec (new available)

service jboss.undertow.deployment.default-server.default-host./casadocodigo.session (new available)

service org.wildfly.request-controller.control-point.casadocodigo.war.undertow (new available)
R

Agora coloquei de volta o persistence.xml parou de soltar as exceções mas continua dando not found

R

segeu codigo do persistence.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>



Forge Persistence Unit
org.hibernate.ejb.HibernatePersistence
java:jboss/datasources/casadocodigoDS







Criado 15 de outubro de 2017
Ultima resposta 16 de out. de 2017
Respostas 6
Participantes 2