0 Replies Latest reply on Jan 16, 2019 5:45 AM by ashwiniash.04

    Jboss (missing) dependents: [service jboss.persistenceunit]

    ashwiniash.04
      Hello Guys,

      I am facing below issues when I tried to deploy my war file in jboss 7.1.1 server. Everytime when I try to deploy my war file, it gets rolled back

      1. Missing/unsatisfied dependencies: service jboss.naming.context.java.jboss.datasources."ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]" (missing) dependents: [service jboss.persistenceunit."SAMWebService.war#SAMWebServicePU"]
      2. Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"SAMWebService.war#SAMWebServicePU\"jboss.naming.context.java.jboss.datasources.\"ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]\"Missing[jboss.persistenceunit.\"SAMWebService.war#SAMWebServicePU\"jboss.naming.context.java.jboss.datasources.\"ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]\"]"]}}}

      Please find below jboss console

       

      10:19:05,582 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-3) Creating Service {http://port.service.sam.sourcecode.rs/}SAMWebService from class rs.sourcecode.sam.service.port.SAMWebService
      10:19:08,910 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-3) Setting the server's publish address to be http://localhost:8080/SAMWebService/SAMWebService
      10:19:09,691 INFO  [org.jboss.wsf.stack.cxf.deployment.WSDLFilePublisher] (MSC service thread 1-3) WSDL published to: file:/D:/Project_Softwares/Servers/jboss-as-7.1.1.Final/standalone/data/wsdl/SAMWebService.war/SAMWebService.wsdl
      10:19:09,707 INFO  [org.jboss.as.webservices] (MSC service thread 1-4) JBAS015539: Starting service jboss.ws.port-component-link
      10:19:09,863 INFO  [org.jboss.as.webservices] (MSC service thread 1-8) JBAS015539: Starting service jboss.ws.endpoint."SAMWebService.war"."rs.sourcecode.sam.service.port.SAMWebService"
      10:19:09,863 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-8) register: jboss.ws:context=SAMWebService,endpoint=rs.sourcecode.sam.service.port.SAMWebService
      10:19:09,863 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on http://127.0.0.1:9990
      10:19:09,863 ERROR [org.jboss.as] (MSC service thread 1-3) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 21265ms - Started 168 of 255 services (10 services failed or missing dependencies, 76 services are passive or on-demand)
      10:19:10,285 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "SAMWebService.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"SAMWebService.war#SAMWebServicePU\"jboss.naming.context.java.jboss.datasources.\"ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]\"Missing[jboss.persistenceunit.\"SAMWebService.war#SAMWebServicePU\"jboss.naming.context.java.jboss.datasources.\"ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]\"]"]}
      10:19:10,285 INFO  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015540: Stopping service jboss.ws.endpoint."SAMWebService.war"."rs.sourcecode.sam.service.port.SAMWebService"
      10:19:10,285 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-7) remove: jboss.ws:context=SAMWebService,endpoint=rs.sourcecode.sam.service.port.SAMWebService
      10:19:10,347 INFO  [org.jboss.as.webservices] (MSC service thread 1-8) JBAS015540: Stopping service jboss.ws.port-component-link
      10:19:29,081 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment SAMWebService.war in 18801ms
      10:19:29,081 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014775
      :   New missing/unsatisfied dependencies:
        service jboss
      .naming.context.java.jboss.datasources."ExampleDS [jdbc:h2:mem:test;DB_CLOSE_DELAY=-1]" (missing) dependents: [service jboss.persistenceunit."SAMWebService.war#SAMWebServicePU"]

       

      Can anyone guide me on resolving this issue or give me any idea on how to proceed further?. Thanks in advance