0 Replies Latest reply on May 11, 2012 10:45 AM by jalbertoa

    Problem: Deploying an application... "Services with missing/unavailable dependencies"

    jalbertoa

      Hi @All !!

      I'm new in JBoss AS and I'm getting this error trying to deploy our application which is working correctly in tomcat...

      I have read about this error message but I have not had success with the proposed solutions

      I tried to set virtual hosts without result and I can't find a more detailed log...

       

      where do I begin?

       

      a simple helloWorld app works properly...

       

      xxxxxxx-iMac:bin xxxxxxx$ ./standalone.sh

      =========================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /usr/local/jboss-as-7.1.1.Final

       

        JAVA: java

       

        JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

       

      =========================================================================

       

      16:20:32,966 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      16:20:33,112 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      16:20:33,153 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      16:20:33,778 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      16:20:33,778 INFO  [org.xnio] XNIO Version 3.0.3.GA

      16:20:33,786 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      16:20:33,795 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      16:20:33,804 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      16:20:34,442 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      16:20:34,457 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem

      16:20:34,912 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem

      16:20:35,234 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem

      16:20:35,297 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem

      16:20:35,578 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension

      16:20:36,849 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final

      16:20:37,636 INFO  [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      16:20:38,294 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service

      16:20:39,552 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]

      16:20:43,383 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA

      16:20:44,115 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      16:20:44,536 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      16:20:46,558 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

      16:20:54,593 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory /usr/local/jboss-as-7.1.1.Final/standalone/deployments

      16:20:54,608 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "helloworld.war"

      16:20:55,024 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999

      16:20:55,024 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447

      16:20:57,434 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

       

      16:21:02,123 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /helloworld

      16:21:02,209 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "helloworld.war"

      16:21:02,373 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

      16:21:02,374 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 29636ms - Started 174 of 251 services (76 services are passive or on-demand)

       

       

      16:21:04,110 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "newmedia.war"

      16:22:32,669 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry jibx-run.jar in "/content/newmedia.war/WEB-INF/lib/jibx-extras-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,670 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xpp3.jar in "/content/newmedia.war/WEB-INF/lib/jibx-extras-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,672 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry stax-api.jar in "/content/newmedia.war/WEB-INF/lib/jibx-extras-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,673 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry wstx-asl.jar in "/content/newmedia.war/WEB-INF/lib/jibx-extras-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,675 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry xpp3.jar in "/content/newmedia.war/WEB-INF/lib/jibx-run-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,676 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry stax-api.jar in "/content/newmedia.war/WEB-INF/lib/jibx-run-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,677 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry wstx-asl.jar in "/content/newmedia.war/WEB-INF/lib/jibx-run-1.2.2.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:32,681 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-5) Class Path entry activation.jar in "/content/newmedia.war/WEB-INF/lib/mail-1.4.1.jar"  does not point to a valid jar for a Class-Path reference.

      16:22:33,163 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Tomcat6InjectionProvider:org.apache.catalina.util.DefaultAnnotationProcessor' for service type 'com.sun.faces.spi.injectionprovider'

      16:22:33,165 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'com.sun.faces.vendor.Jetty6InjectionProvider:org.mortbay.jetty.plus.annotation.InjectionCollection' for service type 'com.sun.faces.spi.injectionprovider'

      16:22:33,173 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

      16:22:34,597 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.newmedia.war" is using a private module ("org.w3c.css.sac:main") which may be changed or removed in future versions without notice.

      16:22:34,598 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-8) JBAS018567: Deployment "deployment.newmedia.war" is using a private module ("net.sourceforge.cssparser:main") which may be changed or removed in future versions without notice.

      16:22:43,679 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

      16:22:43,705 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 8.3)

      16:22:44,017 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015870: Deploy of deployment "newmedia.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.localhost./localhostjboss.web.host.localhostMissing[jboss.web.deployment.localhost./localhostjboss.web.host.localhost]"]}

      16:22:44,021 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 1) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.web.host.localhost (missing) dependents: [service jboss.web.deployment.localhost./localhost]

      16:22:44,912 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment newmedia.war in 884ms

      16:22:44,914 INFO  [org.jboss.as.controller] (MSC service thread 1-3) JBAS014774: Service status report

      JBAS014776:    Newly corrected services:

            service jboss.web.host.localhost (new available)