0 Replies Latest reply on Jan 15, 2018 10:14 AM by vsharm53

    JBAS014771: Services with missing/unavailable dependencies":jboss.naming.context.java.jboss.datasources.AccDS

    vsharm53

      Guys

       

      Any help would be appreciated .I tried to deploy a  war file in jboss server and deployement failed with the following error:

      (I have attached persistance.xml and standalone.xml)

       

      @Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

      19:37:52,763 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.6.Final-redhat-1

      19:37:55,564 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1

      19:37:55,712 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) starting

      19:38:08,842 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.13.GA-redhat-1

      19:38:08,850 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

      19:38:08,888 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.13.GA-redhat-1

      19:38:09,106 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem

      19:38:09,112 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      19:38:09,115 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013371: Activating Security Subsystem

      19:38:09,125 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      19:38:09,100 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

      19:38:09,339 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main, 1.2]

      19:38:09,415 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013370: Current PicketBox version=4.1.1.Final-redhat-1

      19:38:09,475 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.31.Final-redhat-1)

      19:38:10,639 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.3.4.Final-redhat-1

      19:38:10,807 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service

      19:38:10,750 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      19:38:10,817 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) JBAS015400: Bound mail session [java:jboss/mail/Default]

      19:38:11,741 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080

      19:38:11,747 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080

      19:38:11,798 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      19:38:13,328 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "analytic-license-service-4.2.0.war" (runtime-name: "analytic-license-service-4.2.0.war")

      19:38:13,350 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\DEVTOOLS\redhat\EAP6.4.0\standalone\deployments

      19:38:13,378 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on 127.0.0.1:9999

      19:38:13,394 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on 127.0.0.1:4447

      19:38:13,967 INFO  [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.4.Final-redhat-1

      19:38:18,987 INFO  [org.jboss.as.jpa] (MSC service thread 1-6) JBAS011401: Read persistence.xml for acc-model

      19:38:20,482 WARN  [org.jboss.as.ee] (MSC service thread 1-7) JBAS011006: Not installing optional component org.apache.cxf.transport.servlet.CXFServlet due to an exception (enable DEBUG log level to see the cause)

      19:38:20,503 WARN  [org.jboss.as.ee] (MSC service thread 1-7) JBAS011006: Not installing optional component org.springframework.web.context.request.async.StandardServletAsyncWebRequest due to an exception (enable DEBUG log level to see the cause)

      19:38:20,824 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      19:38:20,826 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.fabric.jdbc.FabricMySQLDriver (version 5.1)

      19:38:21,354 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-7) JBWS024061: Adding service endpoint metadata: id=com.uhg.optum.acc.service.AnalyticLicenseServiceImpl

      address=http://localhost:8080/analytic-license-service-4.2.0/AnalyticLicenseServiceImpl

      implementor=com.uhg.optum.acc.service.AnalyticLicenseServiceImpl

      serviceName={http://core.acc.optum.com/service}AnalyticLicenseServiceImplService

      portName={http://core.acc.optum.com/service}AnalyticLicenseServicePort

      annotationWsdlLocation=null

      wsdlLocationOverride=null

      mtomEnabled=false

      19:38:21,389 WARN  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015617: Servlet class org.apache.cxf.transport.servlet.CXFServlet declared in web.xml; either provide a proper deployment relying on JBossWS or disable the webservices subsystem for the

      current deployment adding a proper jboss-deployment-structure.xml descriptor to it. The former approach is recommended, as the latter approach causes most of the webservices Java EE and any JBossWS specific functionality to be disabled.

      19:38:23,487 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-7) Creating Service {http://core.acc.optum.com/service}AnalyticLicenseServiceImplService from class com.uhg.optum.acc.service.AnalyticLicenseService

      19:38:26,634 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-7) Setting the server's publish address to be http://localhost:8080/analytic-license-service-4.2.0/AnalyticLicenseServiceImpl

      19:38:26,866 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-7) JBWS024074: WSDL published to: file:/C:/DEVTOOLS/redhat/EAP6.4.0/standalone/data/wsdl/analytic-license-service-4.2.0.war/AnalyticLicenseServiceImplService.wsdl

      19:38:26,962 INFO  [org.jboss.as.webservices] (MSC service thread 1-2) JBAS015539: Starting service jboss.ws.port-component-link

      19:38:27,241 INFO  [org.jboss.as.webservices] (MSC service thread 1-7) JBAS015539: Starting service jboss.ws.endpoint."analytic-license-service-4.2.0.war"."com.uhg.optum.acc.service.AnalyticLicenseServiceImpl"

      19:38:27,319 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "analytic-license-service-4.2.0.war")]) - failure description: {"JBAS014771: Services with missing/

      unavailable dependencies" => ["jboss.persistenceunit.\"analytic-license-service-4.2.0.war#acc-model\" is missing [jboss.naming.context.java.jboss.datasources.AccDS]"]}

      19:38:27,396 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Deployed "analytic-license-service-4.2.0.war" (runtime-name : "analytic-license-service-4.2.0.war")

      19:38:27,401 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.naming.context.java.jboss.datasources.AccDS (missing) dependents: [service jboss.persistenceunit."analytic-license-service-4.2.0.war#acc-model"]